Class CmsSiteSelectorOptionBuilder

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

Helper class for building the options for the site selector in the gallery dialog.

  • Constructor Details

  • Method Details

    • addCurrentSubsite

      public void addCurrentSubsite(String referencePath)
      Adds the current subsite.

      Parameters:
      referencePath - the reference path
    • addNormalSites

      public void addNormalSites(boolean includeRoot, String startFolder)
      Adds 'normal' sites.

      Parameters:
      includeRoot - if true, also adds the root site
      startFolder - the users configured start folder
    • addSharedSite

      public void addSharedSite()
      Adds the shared folder.

    • addSystemFolder

      public void addSystemFolder()
      Adds the system folder.
    • getOptions

      Gets the site selector options.

      Returns:
      the site selector options