Class MenusService
java.lang.Object
fr.paris.lutece.plugins.menus.service.MenusService
This Service manages contactListt actions (create, delete, modify ...) and notify listeners.
- Author:
- lenaini
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MenusServiceReturns the instance of the singletongetSitePath(int nMode) Define the site path : Portal Url when mode isn't admin mode, otherwise AdminPortalUrlvoidinit()Initializes the Menus service
-
Field Details
-
MODE_SITE
public static final int MODE_SITE- See Also:
-
MODE_ADMIN
public static final int MODE_ADMIN- See Also:
-
MARKER_SITE_PATH
- See Also:
-
-
Constructor Details
-
MenusService
public MenusService()
-
-
Method Details
-
init
public void init()Initializes the Menus service -
getInstance
Returns the instance of the singleton- Returns:
- The instance of the singleton
-
getSitePath
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
-