fr.paris.lutece.plugins.menus.service
Class MenusService

java.lang.Object
  extended by 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

Field Summary
static java.lang.String MARKER_SITE_PATH
           
static int MODE_ADMIN
           
static int MODE_SITE
           
 
Constructor Summary
MenusService()
           
 
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
 

Field Detail

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
Constructor Detail

MenusService

public MenusService()
Method Detail

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.