Class TreeMenuPageInclude

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.includes.PageInclude

    public class TreeMenuPageInclude
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.includes.PageInclude
    This class provides the list of the page associated by the main menu of the site
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fillTemplate​(java.util.Map<java.lang.String,​java.lang.Object> rootModel, fr.paris.lutece.portal.service.content.PageData data, int nMode, javax.servlet.http.HttpServletRequest request)
      Substitue specific Freemarker markers in the page template.
      java.lang.String getTreeMenuPage​(int nIdPage, int nMode, Menus menus, javax.servlet.http.HttpServletRequest request)
      Builds the tree menu bar
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TreeMenuPageInclude

        public TreeMenuPageInclude()
    • Method Detail

      • fillTemplate

        public void fillTemplate​(java.util.Map<java.lang.String,​java.lang.Object> rootModel,
                                 fr.paris.lutece.portal.service.content.PageData data,
                                 int nMode,
                                 javax.servlet.http.HttpServletRequest request)
        Substitue specific Freemarker markers in the page template.
        Specified by:
        fillTemplate in interface fr.paris.lutece.portal.service.includes.PageInclude
        Parameters:
        rootModel - the HashMap containing markers to substitute
        data - A PageData object containing applications data
        nMode - The current mode
        request - The HTTP request
      • getTreeMenuPage

        public java.lang.String getTreeMenuPage​(int nIdPage,
                                                int nMode,
                                                Menus menus,
                                                javax.servlet.http.HttpServletRequest request)
        Builds the tree menu bar
        Parameters:
        nIdPage - The page id
        nMode - the mode id
        menus - the current menu
        request - The HttpServletRequest
        Returns:
        The list of the tree menus layed out with the stylesheet of the mode