Class AdminMapJspBean

java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.AdminMapJspBean
All Implemented Interfaces:
Serializable

@RequestScoped @Named public class AdminMapJspBean extends AdminFeaturesPageJspBean
This class provides the map of the pages on the site
See Also:
  • Field Details

  • Constructor Details

    • AdminMapJspBean

      public AdminMapJspBean()
  • Method Details

    • getMap

      public String getMap(jakarta.servlet.http.HttpServletRequest request)
    • getMapTemplate

      public String getMapTemplate(jakarta.servlet.http.HttpServletRequest request)
      Build or get in the cache the page which contains the site map depending on the mode
      Parameters:
      request - The Http request
      Returns:
      The content of the site map
    • getMapItems

      public List<MenuItem> getMapItems(jakarta.servlet.http.HttpServletRequest request)
      The pages of the site the user may view, in the order of the tree: each page followed by its child pages, with its level
      Parameters:
      request - the request, its page_id the current page
      Returns:
      the pages, flat
    • getMapItems

      public static List<MenuItem> getMapItems(fr.paris.lutece.api.user.User user, Integer nCurrentPageId)
      The pages of the site a user may view, in the order of the tree: each page followed by its child pages, with its level. The pages are read in one query, ordered by parent then by order, and the tree is walked in memory; a page the user may not view is left out, its child pages are not
      Parameters:
      user - the user
      nCurrentPageId - the current page, or null
      Returns:
      the pages, flat