Class CmsGalleryFilteredNavTreeBuilder

java.lang.Object
org.opencms.ade.galleries.CmsGalleryFilteredNavTreeBuilder

Helper class for building a filtered sitemap tree for the gallery dialog's 'Sitemap' tab.

Objects of this class are single-use, which means they should only be used for a single navigation tree filtering operation.

  • Constructor Details

  • Method Details

    • getRoot

      Gets the root node.

      Returns:
      the root node
    • hasMatches

      public boolean hasMatches()
      Returns true if any matching tree nodes have been found.

      Returns:
      tree if any matching tree nodes have been found
    • initTree

      public void initTree(String filter)
      Constructs the filtered navigation tree.

      Parameters:
      filter - the filter string