it.sistematica.isharedoc.opencmis.indatabase.storedobj.api
Interface SingleFiling

All Superinterfaces:
Filing
All Known Subinterfaces:
Folder
All Known Implementing Classes:
AbstractSingleFilingImpl, FolderImpl

public interface SingleFiling
extends Filing

Folders have in the CMIS specification exactly one parent. This interface describes the behavior of objects with a single parent object.

Author:
Jens

Field Summary
 
Fields inherited from interface it.sistematica.isharedoc.opencmis.indatabase.storedobj.api.Filing
PATH_SEPARATOR
 
Method Summary
 Folder getParent()
           
 java.lang.String getPath()
           
 void setParent(Folder parent)
          Put the document in a folder and set the parent.
 
Methods inherited from interface it.sistematica.isharedoc.opencmis.indatabase.storedobj.api.Filing
getParents, hasParent, move
 

Method Detail

getPath

java.lang.String getPath()
Returns:

getParent

Folder getParent()
Returns:

setParent

void setParent(Folder parent)
Put the document in a folder and set the parent. This method should not be used to file a document in a folder. It is used internally when a document is filed to the folder. The document does not get persisted in this call.

Parameters:
parent - parent folder of the document to be assigned.