Class PortalAdministrationHelper


  • public abstract class PortalAdministrationHelper
    extends java.lang.Object
    Class to help build the Top Bar of the Portal Administration.
    Since:
    7.1.0
    Version:
    $Revision: 26459 $ $Date: 2024-06-24 10:53:49 -0300 (Mon, 24 Jun 2024) $
    • Constructor Detail

      • PortalAdministrationHelper

        public PortalAdministrationHelper()
    • Method Detail

      • getHeaderGroup

        protected static java.lang.String getHeaderGroup​(int portalModeId)
                                                  throws java.lang.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:
        java.lang.IllegalArgumentException - if the given portal mode identifier is invalid.
        Since:
        11.2.0
      • buildTopBarHTMLFragment

        public static java.lang.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