|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryItem
Interface representing a handle to a document in the content repository.
Method Summary | |
---|---|
void |
delete()
Deletes the item and its meta-data from the repository. |
java.io.File |
getDataFile()
Returns the file object for the item's data. |
java.lang.String |
getId()
Returns the id string that unique identifies the item in the repository. |
Lock |
getLock()
Returns the unique identifier for the lock that the repository item was obtained with. |
MetaObject |
getMetaData()
Returns the meta-data for the file. |
void |
release()
Releases the lock held on an item. |
void |
setMetaData(MetaObject metaData)
Sets the meta-data for a file, replacing any existing meta-data it had. |
Method Detail |
---|
java.lang.String getId()
getId
in interface Identifiable
Lock getLock()
MetaObject getMetaData()
void setMetaData(MetaObject metaData)
java.io.File getDataFile()
void delete()
void release()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |