Class TopbarHandler

    • Field Detail

      • HIDE_NAVIGATION_REQUEST_ATTR

        public static final java.lang.String HIDE_NAVIGATION_REQUEST_ATTR
        See Also:
        Constant Field Values
      • JCMS_TOPBAR_DISPLAY_REQUEST_ATTR

        public static final java.lang.String JCMS_TOPBAR_DISPLAY_REQUEST_ATTR
        See Also:
        Constant Field Values
      • WRAP_LOGO_WITH_H1_REQUEST_ATTR

        public static final java.lang.String WRAP_LOGO_WITH_H1_REQUEST_ATTR
        See Also:
        Constant Field Values
    • Constructor Detail

      • TopbarHandler

        public TopbarHandler()
    • Method Detail

      • addFrontEndDependencies

        public void addFrontEndDependencies()
      • getSearchDataAttributes

        public DataAttribute getSearchDataAttributes()
      • getTopbarResource

        public static java.lang.String getTopbarResource​(TopbarHandler.Zone zone)
      • isAdminZone

        public boolean isAdminZone()
        Overrides:
        isAdminZone in class JcmsContext
        Returns:
        true if "zone" request attribute is equal to "AdminArea".
      • isWorkZone

        public boolean isWorkZone()
        Overrides:
        isWorkZone in class JcmsContext
        Returns:
        true if "zone" request attribute is equal to "WorkArea".
      • isFrontZone

        public boolean isFrontZone()
      • isFullWidth

        public boolean isFullWidth()
      • getTopbarWrapperCss

        public java.lang.String getTopbarWrapperCss()
      • getTopbarCss

        public java.lang.String getTopbarCss()
      • getTopbarItemSet

        public java.util.Set<TopbarItem> getTopbarItemSet()
      • displayTopbar

        public boolean displayTopbar()
      • getTopbarHomeUrl

        public java.lang.String getTopbarHomeUrl()
      • getTopbarHomeTitle

        public java.lang.String getTopbarHomeTitle()
      • isAppPortal

        public boolean isAppPortal()
      • showPortalMenuEntry

        public boolean showPortalMenuEntry()
      • showToolsMenu

        public boolean showToolsMenu()
      • showAdminMenuEntry

        public boolean showAdminMenuEntry()
      • showCaddyMenuEntry

        public boolean showCaddyMenuEntry()
      • showPublishMenuEntry

        public boolean showPublishMenuEntry()
      • getCaddyCount

        public int getCaddyCount()
      • showWorkMenuEntry

        public boolean showWorkMenuEntry()
      • showInspectDataMenuEntry

        public boolean showInspectDataMenuEntry()
      • showApplicationMenu

        public boolean showApplicationMenu()
      • showMemberMenu

        public boolean showMemberMenu()
      • showLoginMenu

        public boolean showLoginMenu()
      • showWorkspaceMenu

        public boolean showWorkspaceMenu()
      • showNavigationMenu

        public boolean showNavigationMenu()
      • isNavigationExpanded

        public boolean isNavigationExpanded()
      • getTargetPrefix

        public java.lang.String getTargetPrefix()
      • getPortletSearchMobileUrl

        public java.lang.String getPortletSearchMobileUrl()
      • getLogoStyle

        public java.lang.String getLogoStyle()
      • wrapLogoWithH1

        public boolean wrapLogoWithH1()