public class MenusService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MARKER_SITE_PATH |
static int |
MODE_ADMIN |
static int |
MODE_SITE |
Constructor and Description |
---|
MenusService() |
Modifier and Type | Method and Description |
---|---|
static MenusService |
getInstance()
Returns the instance of the singleton
|
String |
getSitePath(int nMode)
Define the site path : Portal Url when mode isn't admin mode, otherwise AdminPortalUrl
|
void |
init()
Initializes the Menus service
|
public static final int MODE_SITE
public static final int MODE_ADMIN
public static final String MARKER_SITE_PATH
public void init()
public static MenusService getInstance()
public String getSitePath(int nMode)
nMode
- the mode define by the requestCopyright © 2015 City of Paris. All rights reserved.