Class PageResourceIdService
java.lang.Object
fr.paris.lutece.portal.service.rbac.ResourceIdService
fr.paris.lutece.portal.service.page.PageResourceIdService
Resource Id service for RBAC features to control access to portlet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResourceIdList(Locale locale) Returns a list of resource idsReturns the Title of a given resourcevoidregister()Initializes the serviceMethods inherited from class fr.paris.lutece.portal.service.rbac.ResourceIdService
getPluginName, setPluginName
-
Field Details
-
PERMISSION_VIEW
- See Also:
-
PERMISSION_MANAGE
- See Also:
-
-
Constructor Details
-
PageResourceIdService
public PageResourceIdService()
-
-
Method Details
-
register
public void register()Initializes the service- Specified by:
registerin classResourceIdService
-
getResourceIdList
Returns a list of resource ids- Specified by:
getResourceIdListin classResourceIdService- Parameters:
locale- the Locale- Returns:
- A list of resource ids
-
getTitle
Returns the Title of a given resource- Specified by:
getTitlein classResourceIdService- Parameters:
strPageId- The Id of the resourcelocale- the Locale- Returns:
- The Title of a given resource
-