Class CmsSiteSelectorOptionBuilder


  • public class CmsSiteSelectorOptionBuilder
    extends java.lang.Object
    Helper class for building the options for the site selector in the gallery dialog.

    • Method Detail

      • addCurrentSubsite

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

        Parameters:
        referencePath - the reference path
      • addNormalSites

        public void addNormalSites​(boolean includeRoot,
                                   java.lang.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.