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

All Superinterfaces:
Filing
All Known Subinterfaces:
Document, DocumentVersion, VersionedDocument
All Known Implementing Classes:
AbstractMultiFilingImpl, DocumentVersionImpl, ItemImpl, VersionedDocumentImpl

public interface MultiFiling
extends Filing

Documents can have in the CMIS specification multiple parents. This interface describes the behavior of objects with multiple parent objects.

Author:
Jens

Field Summary
 
Fields inherited from interface it.sistematica.isharedoc.opencmis.indatabase.storedobj.api.Filing
PATH_SEPARATOR
 
Method Summary
 void addParent(Folder parent)
          Add this document to a new parent folder as child object
 java.lang.String getPathSegment()
          retrieve the path segment of this folder
 void removeParent(Folder parent)
          Remove this object from the children of parent
 
Methods inherited from interface it.sistematica.isharedoc.opencmis.indatabase.storedobj.api.Filing
getParents, hasParent, move
 

Method Detail

getPathSegment

java.lang.String getPathSegment()
retrieve the path segment of this folder

Returns:

addParent

void addParent(Folder parent)
Add this document to a new parent folder as child object

Parameters:
parent - new parent folder of the document.

removeParent

void removeParent(Folder parent)
Remove this object from the children of parent

Parameters:
parent - parent folder of the document