Interface RootSectionFinder
-
- All Known Implementing Classes:
AbstractRootSectionsFinder,DefaultRootSectionsFinder
public interface RootSectionFinder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentModelListgetAccessibleSectionRoots(DocumentModel currentDoc)DocumentModelListgetDefaultSectionRoots(boolean onlyHeads)DocumentModelListgetDefaultSectionRoots(boolean onlyHeads, boolean addDefaultSectionRoots)DocumentModelListgetSectionRootsForWorkspace(DocumentModel currentDoc)Returns the head (root) sections that are bound to a given Workspace.DocumentModelListgetSectionRootsForWorkspace(DocumentModel currentDoc, boolean addDefaultSectionRoots)Returns the head (root) sections that are bound to a given Workspace.voidreset()
-
-
-
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)
-
-