|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MCRContentStoreSelector
Decides which MCRContentStore implementation should be used to store the content of a given file. The system configuration sets the MCRContentStoreSelector implementation that is used to make this decision by the property "MCR.IFS.ContentStoreSelector.Class". MyCoRe provides a simple implementation of this interface in the class MCRSimpleContentStoreSelector that decides based on the file content type.
| Method Summary | |
|---|---|
String[] |
getAvailableStoreIDs()
Returns the IDs of all ContentStores available to MyCoRe |
String |
selectStore(MCRFile file)
Returns the ID of the file content store to be used to store the content of the given file. |
| Method Detail |
|---|
String selectStore(MCRFile file)
throws MCRException
MCRExceptionString[] getAvailableStoreIDs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||