Interface RootSectionFinder

    • 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 Workspace
        addDefaultSectionRoots - 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
      • getDefaultSectionRoots

        DocumentModelList getDefaultSectionRoots​(boolean onlyHeads,
                                                 boolean addDefaultSectionRoots)
      • getDefaultSectionRoots

        DocumentModelList getDefaultSectionRoots​(boolean onlyHeads)