|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.backend.hibernate.MCRHIBFileMetadataStore
public class MCRHIBFileMetadataStore
This class implements the MCRFileMetadataStore.
| Field Summary | |
|---|---|
(package private) static Logger |
logger
|
protected String |
table
|
| Constructor Summary | |
|---|---|
MCRHIBFileMetadataStore()
|
|
| Method Summary | |
|---|---|
MCRFilesystemNode |
buildNode(MCRFSNODES node)
|
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<String> |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String table
static Logger logger
| Constructor Detail |
|---|
public MCRHIBFileMetadataStore()
throws MCRPersistenceException
MCRPersistenceException| Method Detail |
|---|
public void storeNode(MCRFilesystemNode node)
throws MCRPersistenceException
MCRFileMetadataStore
storeNode in interface MCRFileMetadataStorenode - the MCRFilesystemNode to be stored
MCRPersistenceException
public String retrieveRootNodeID(String ownerID)
throws MCRPersistenceException
MCRFileMetadataStore
retrieveRootNodeID in interface MCRFileMetadataStoreownerID - the ID of the owner of the root node.
MCRPersistenceException
public MCRFilesystemNode retrieveChild(String parentID,
String name)
MCRFileMetadataStore
retrieveChild in interface MCRFileMetadataStoreparentID - the unique ID of the parent MCRDirectoryname - the filename of the child node in that directory
public Vector<String> retrieveChildrenIDs(String parentID)
throws MCRPersistenceException
MCRFileMetadataStore
retrieveChildrenIDs in interface MCRFileMetadataStoreparentID - the ID of the parent MCRDirectory
MCRPersistenceException
public void deleteNode(String ID)
throws MCRPersistenceException
MCRFileMetadataStore
deleteNode in interface MCRFileMetadataStoreID - the unique ID of the MCRFilesystemNode to delete
MCRPersistenceException
public MCRFilesystemNode retrieveNode(String ID)
throws MCRPersistenceException
MCRFileMetadataStore
retrieveNode in interface MCRFileMetadataStoreID - the
unique ID of the MCRFilesystemNode
MCRPersistenceExceptionpublic MCRFilesystemNode buildNode(MCRFSNODES node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||