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$ $Date$
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildTopBarHTMLFragment​(javax.servlet.http.HttpServletRequest httpServletRequest, IPageWebResourceRequest webResourceRequest, LayoutFilePage page)
      Builds the fragment HTML of Settings Drop Down List of the Top Bar.
      protected static java.lang.String getHeaderGroup​(int portalModeId)
      Get the menu group name from the mode identifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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​(javax.servlet.http.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