|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MCRFileMetadataStore
Implementations of this class can be used to store the metadata of all MCRFilesystemNodes in a persistent datastore. While MCRContentStores hold a file's content, this store holds its descriptive data like the directory structure, file type, checksum and size. There can only be one instance to be used in a system, that instance is configured by the property MCR.Persistence.IFS.FileMetadataStore.Class
MCRFileMetadataManager,
MCRFilesystemNode,
MCRContentStore| Method Summary | |
|---|---|
void |
deleteNode(String ID)
Deletes all data of a given MCRFilesystemNode in the persistent metadata store. |
MCRFilesystemNode |
retrieveChild(String parentID,
String name)
Retrieves a child node of an MCRDirectory from the persistent store. |
Vector |
retrieveChildrenIDs(String parentID)
Returns a list of the IDs of all children of a given parent MCRDirectory. |
MCRFilesystemNode |
retrieveNode(String ID)
Retrieves the MCRFilesystemNode with that ID from the persistent store. |
String |
retrieveRootNodeID(String ownerID)
Retrieves the root MCRFilesystemNode that has no parent and is owned by the object with the given owner ID. |
void |
storeNode(MCRFilesystemNode node)
Creates or updates the data of the given node in the persistent store. |
| Method Detail |
|---|
void storeNode(MCRFilesystemNode node)
throws MCRPersistenceException
node - the MCRFilesystemNode to be stored
MCRPersistenceException
MCRFilesystemNode retrieveNode(String ID)
throws MCRPersistenceException
ID - the
unique ID of the MCRFilesystemNode
MCRPersistenceException
MCRFilesystemNode retrieveChild(String parentID,
String name)
throws MCRPersistenceException
parentID - the unique ID of the parent MCRDirectoryname - the filename of the child node in that directory
MCRPersistenceException
String retrieveRootNodeID(String ownerID)
throws MCRPersistenceException
ownerID - the ID of the owner of the root node.
MCRPersistenceException
Vector retrieveChildrenIDs(String parentID)
throws MCRPersistenceException
parentID - the ID of the parent MCRDirectory
MCRPersistenceException
void deleteNode(String ID)
throws MCRPersistenceException
ID - the unique ID of the MCRFilesystemNode to delete
MCRPersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||