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