Class PortalMenuService

    • Method Detail

      • getInstance

        public static PortalMenuService getInstance()
        Get the unique instance of the service
        Returns:
        The unique instance
      • getName

        public String getName()
        Returns the service name
        Specified by:
        getName in interface LuteceService
        Returns:
        The service name
      • getMenuContent

        public String getMenuContent​(int nCurrentPageId,
                                     int nMode,
                                     int nPart,
                                     javax.servlet.http.HttpServletRequest request)
        Returns the menu bar from the cache or builds it if it not stored in it
        Parameters:
        request - The HTTP request
        nMode - The selected mode
        nPart - The part of the menu to build
        nCurrentPageId - The current page ID
        Returns:
        The list of the menus layed out with the stylesheet correpsonding to the mode