Package fr.paris.lutece.portal.web.admin
Class AdminMapJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.AdminMapJspBean
- All Implemented Interfaces:
Serializable
This class provides the map of the pages on the site
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMap(jakarta.servlet.http.HttpServletRequest request) 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.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 levelgetMapTemplate(jakarta.servlet.http.HttpServletRequest request) Build or get in the cache the page which contains the site map depending on the modeMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_MANAGE_ADMIN_SITE
- See Also:
-
-
Constructor Details
-
AdminMapJspBean
public AdminMapJspBean()
-
-
Method Details
-
getMap
-
getMapTemplate
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
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 usernCurrentPageId- the current page, or null- Returns:
- the pages, flat
-