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: 24950 $ $Date: 2022-04-14 13:57:29 -0300 (Thu, 14 Apr 2022) $
    • 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