Class PortalAdministrationHelper
- java.lang.Object
-
- lumis.portal.presentation.mode.portaladministration.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 Summary
Constructors Constructor Description PortalAdministrationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
buildTopBarHTMLFragment(HttpServletRequest httpServletRequest, IPageWebResourceRequest webResourceRequest, LayoutFilePage page)
Builds the fragment HTML of Settings Drop Down List of the Top Bar.protected static String
getHeaderGroup(int portalModeId)
Get the menu group name from the mode identifier.
-
-
-
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 requestwebResourceRequest
- the page web resource requestpage
- the layout file page being rendered.- Returns:
- the fragment HTML of Settings Drop Down List of the Top Bar.
- Since:
- 9.0.0
-
-