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 addedClientException
DocumentModelList getSectionRootsForWorkspace(DocumentModel currentDoc) throws ClientException
If no specific binding is defined at the workspace level, an empty list is returned.
currentDoc
- the target WorkspaceClientException
DocumentModelList getAccessibleSectionRoots(DocumentModel currentDoc) throws ClientException
ClientException
DocumentModelList getDefaultSectionRoots(boolean onlyHeads, boolean addDefaultSectionRoots) throws ClientException
ClientException
DocumentModelList getDefaultSectionRoots(boolean onlyHeads) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.