Class PortletTemplateResourceIdService
java.lang.Object
fr.paris.lutece.portal.service.rbac.ResourceIdService
fr.paris.lutece.portal.service.portlet.PortletTemplateResourceIdService
RBAC resource type of the portlet templates : the FreeMarker templates the portlets can be rendered with
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResourceIdList(Locale locale) Provide the list of all resources (id - label)Provide the title of a resource given its idvoidregister()This method should register permissions and resource typeMethods inherited from class fr.paris.lutece.portal.service.rbac.ResourceIdService
getPluginName, setPluginName
-
Field Details
-
PERMISSION_CREATE
Permission to create a template- See Also:
-
PERMISSION_MODIFY
Permission to modify a template- See Also:
-
PERMISSION_DELETE
Permission to delete a template- See Also:
-
-
Constructor Details
-
PortletTemplateResourceIdService
public PortletTemplateResourceIdService()
-
-
Method Details
-
register
public void register()This method should register permissions and resource type- Specified by:
registerin classResourceIdService
-
getResourceIdList
Provide the list of all resources (id - label)- Specified by:
getResourceIdListin classResourceIdService- Parameters:
locale- The locale- Returns:
- the list of all resources available for restricted access
-
getTitle
Provide the title of a resource given its id- Specified by:
getTitlein classResourceIdService- Parameters:
strId- the id of the resourcelocale- The locale- Returns:
- the title the corresponding label
-