fr.paris.lutece.plugins.menus.service
Class MenusService
java.lang.Object
fr.paris.lutece.plugins.menus.service.MenusService
public class MenusService
- extends java.lang.Object
This Service manages contactListt actions (create, delete, modify ...)
and notify listeners.
- Author:
- lenaini
Method Summary |
static MenusService |
getInstance()
Returns the instance of the singleton |
java.lang.String |
getSitePath(int nMode)
Define the site path : Portal Url when mode isn't admin mode, otherwise AdminPortalUrl |
void |
init()
Initializes the Menus service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODE_SITE
public static final int MODE_SITE
- See Also:
- Constant Field Values
MODE_ADMIN
public static final int MODE_ADMIN
- See Also:
- Constant Field Values
MARKER_SITE_PATH
public static final java.lang.String MARKER_SITE_PATH
- See Also:
- Constant Field Values
MenusService
public MenusService()
init
public void init()
- Initializes the Menus service
getInstance
public static MenusService getInstance()
- Returns the instance of the singleton
- Returns:
- The instance of the singleton
getSitePath
public java.lang.String getSitePath(int nMode)
- Define the site path : Portal Url when mode isn't admin mode, otherwise AdminPortalUrl
- Parameters:
nMode
- the mode define by the request
- Returns:
- site path depending on the mode
Copyright © 2011 Mairie de Paris. All Rights Reserved.