Interface RootSectionFinder
-
- All Known Implementing Classes:
AbstractRootSectionsFinder
,DefaultRootSectionsFinder
public interface RootSectionFinder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
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
DocumentModelList getSectionRootsForWorkspace(DocumentModel currentDoc)
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
DocumentModelList getAccessibleSectionRoots(DocumentModel currentDoc)
-
getDefaultSectionRoots
DocumentModelList getDefaultSectionRoots(boolean onlyHeads, boolean addDefaultSectionRoots)
-
getDefaultSectionRoots
DocumentModelList getDefaultSectionRoots(boolean onlyHeads)
-
-