Interface RootSectionFinder
- All Known Implementing Classes:
AbstractRootSectionsFinder
,DefaultRootSectionsFinder
public interface RootSectionFinder
-
Method Summary
Modifier and TypeMethodDescriptiongetAccessibleSectionRoots
(DocumentModel currentDoc) getDefaultSectionRoots
(boolean onlyHeads) getDefaultSectionRoots
(boolean onlyHeads, boolean addDefaultSectionRoots) getSectionRootsForWorkspace
(DocumentModel currentDoc) Returns the head (root) sections that are bound to a given Workspace.getSectionRootsForWorkspace
(DocumentModel currentDoc, boolean addDefaultSectionRoots) Returns the head (root) sections that are bound to a given Workspace.void
reset()
-
Method Details
-
reset
void reset() -
getSectionRootsForWorkspace
DocumentModelList getSectionRootsForWorkspace(DocumentModel currentDoc, boolean addDefaultSectionRoots) Returns the head (root) sections that are bound to a given Workspace.If no specific binding is defined at the workspace level, an empty list is returned.
- Parameters:
currentDoc
- the target WorkspaceaddDefaultSectionRoots
- flag to indicate is default roots should be added
-
getSectionRootsForWorkspace
Returns the head (root) sections that are bound to a given Workspace.If no specific binding is defined at the workspace level, an empty list is returned.
- Parameters:
currentDoc
- the target Workspace
-
getAccessibleSectionRoots
-
getDefaultSectionRoots
-
getDefaultSectionRoots
-