Class CustomMenuService
java.lang.Object
fr.paris.lutece.plugins.menus.service.CustomMenuService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.util.ReferenceListgetAvailableMenusReferenceList(CustomMenu currentCustomMenu, String strFilterCriteria) Get the available menus reference listfr.paris.lutece.util.ReferenceListgetAvailablePagesReferenceList(String strFilterCriteria) Get the available menus reference listfr.paris.lutece.util.ReferenceListgetAvailableXpagesReferenceList(String strFilterCriteria) Get the available xpages reference liststatic CustomMenuServiceReturns the instance of the singletongetLabelPageById(String strSourceItemId) getSitePath(int nMode) Define the site path : Portal Url when mode isn't admin mode, otherwise AdminPortalUrl
-
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
-
CustomMenuService
public CustomMenuService()
-
-
Method Details
-
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
-
getAvailableXpagesReferenceList
Get the available xpages reference list- Returns:
- the reference list
-
getAvailablePagesReferenceList
Get the available menus reference list- Returns:
- the reference list
-
getLabelPageById
-