|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.portal.PortalMenuService
public final class PortalMenuService
This Service build the portal menu
| Field Summary | |
|---|---|
static int |
MENU_INIT
|
static int |
MENU_MAIN
|
static int |
MODE_ADMIN
|
static int |
MODE_NORMAL
|
| Method Summary | |
|---|---|
int |
getCacheSize()
Returns the number of objects handled by the cache |
static PortalMenuService |
getInstance()
Get the unique instance of the service |
java.lang.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 |
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 |
|---|
public static final int MENU_INIT
public static final int MENU_MAIN
public static final int MODE_NORMAL
public static final int MODE_ADMIN
| Method Detail |
|---|
public static PortalMenuService getInstance()
public boolean isCacheEnable()
isCacheEnable in interface CacheableServicepublic int getCacheSize()
getCacheSize in interface CacheableServicepublic void resetCache()
resetCache in interface CacheableServicepublic java.lang.String getName()
getName in interface LuteceService
public java.lang.String getMenuContent(int nCurrentPageId,
int nMode,
int nPart,
javax.servlet.http.HttpServletRequest request)
request - The HTTP requestnMode - The selected modenPart - The part of the menu to build
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||