public interface RootSectionFinder
| Modifier and Type | Method and Description |
|---|---|
DocumentModelList |
getAccessibleSectionRoots(DocumentModel currentDoc) |
DocumentModelList |
getDefaultSectionRoots(boolean onlyHeads) |
DocumentModelList |
getDefaultSectionRoots(boolean onlyHeads,
boolean addDefaultSectionRoots) |
DocumentModelList |
getSectionRootsForWorkspace(DocumentModel currentDoc)
Returns the head (root) sections that are bound to a given Workspace.
|
DocumentModelList |
getSectionRootsForWorkspace(DocumentModel currentDoc,
boolean addDefaultSectionRoots)
Returns the head (root) sections that are bound to a given Workspace.
|
void |
reset() |
void reset()
DocumentModelList getSectionRootsForWorkspace(DocumentModel currentDoc, boolean addDefaultSectionRoots) throws ClientException
If no specific binding is defined at the workspace level, an empty list is returned.
currentDoc - the target WorkspaceaddDefaultSectionRoots - flag to indicate is default roots should be
addedClientExceptionDocumentModelList getSectionRootsForWorkspace(DocumentModel currentDoc) throws ClientException
If no specific binding is defined at the workspace level, an empty list is returned.
currentDoc - the target WorkspaceClientExceptionDocumentModelList getAccessibleSectionRoots(DocumentModel currentDoc) throws ClientException
ClientExceptionDocumentModelList getDefaultSectionRoots(boolean onlyHeads, boolean addDefaultSectionRoots) throws ClientException
ClientExceptionDocumentModelList getDefaultSectionRoots(boolean onlyHeads) throws ClientException
ClientExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.