fr.paris.lutece.portal.service.portal
Class PortalMenuService

java.lang.Object
  extended by fr.paris.lutece.portal.service.portal.PortalMenuService
All Implemented Interfaces:
CacheableService, LuteceService

public class PortalMenuService
extends java.lang.Object
implements CacheableService

This Service build the portal menu


Field Summary
static int MENU_INIT
           
static int MENU_MAIN
           
 
Method Summary
 java.lang.String buildTreeMenuContent(int nIdPage, int nMode, javax.servlet.http.HttpServletRequest request)
          Builds the tree menu bar
 int getCacheSize()
          Returns the number of objects handled by the cache
static PortalMenuService getInstance()
           
 java.lang.String getName()
          Returns the service name
 boolean isCacheEnable()
          Returns the cache status : enable or disable
 void resetCache()
          Clear the cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MENU_INIT

public static final int MENU_INIT
See Also:
Constant Field Values

MENU_MAIN

public static final int MENU_MAIN
See Also:
Constant Field Values
Method Detail

getInstance

public static PortalMenuService getInstance()

isCacheEnable

public boolean isCacheEnable()
Returns the cache status : enable or disable

Specified by:
isCacheEnable in interface CacheableService
Returns:
True if the cache is enable, otherwise false

getCacheSize

public int getCacheSize()
Returns the number of objects handled by the cache

Specified by:
getCacheSize in interface CacheableService
Returns:
the number of objects handled by the cache

resetCache

public void resetCache()
Clear the cache

Specified by:
resetCache in interface CacheableService

getName

public java.lang.String getName()
Returns the service name

Specified by:
getName in interface LuteceService
Returns:
The service name

buildTreeMenuContent

public java.lang.String buildTreeMenuContent(int nIdPage,
                                             int nMode,
                                             javax.servlet.http.HttpServletRequest request)
Builds the tree menu bar

Parameters:
nIdPage - The page id
nMode - the mode id
request - The HttpServletRequest
Returns:
The list of the tree menus layed out with the stylesheet of the mode


Copyright © 2007 Mairie de Paris. All Rights Reserved.