Class PortalAdministrationHelper


  • public abstract class PortalAdministrationHelper
    extends Object
    Class to help build the Top Bar of the Portal Administration.
    Since:
    7.1.0
    Version:
    $Revision: 23925 $ $Date: 2020-06-25 10:52:10 -0300 (Thu, 25 Jun 2020) $
    • Constructor Detail

      • PortalAdministrationHelper

        public PortalAdministrationHelper()
    • Method Detail

      • getHeaderGroup

        protected static String getHeaderGroup​(int portalModeId)
                                        throws IllegalArgumentException
        Get the menu group name from the mode identifier.
        Parameters:
        portalModeId - The portal mode identifier
        Returns:
        The group menu name of this mode
        Throws:
        IllegalArgumentException - if the given portal mode identifier is invalid.
        Since:
        11.2.0
      • buildTopBarHTMLFragment

        public static String buildTopBarHTMLFragment​(HttpServletRequest httpServletRequest,
                                                     IPageWebResourceRequest webResourceRequest,
                                                     LayoutFilePage page)
        Builds the fragment HTML of Settings Drop Down List of the Top Bar.
        Parameters:
        httpServletRequest - the request
        webResourceRequest - the page web resource request
        page - the layout file page being rendered.
        Returns:
        the fragment HTML of Settings Drop Down List of the Top Bar.
        Since:
        9.0.0