Class XslExportResourceIdService
- java.lang.Object
-
- fr.paris.lutece.portal.service.rbac.ResourceIdService
-
- fr.paris.lutece.portal.service.xsl.XslExportResourceIdService
-
public class XslExportResourceIdService extends ResourceIdService
RBAC Resource Id Service to allow roles on AdminUser Services
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPERMISSION_CREATEstatic java.lang.StringPERMISSION_DELETEstatic java.lang.StringPERMISSION_MODIFY
-
Constructor Summary
Constructors Constructor Description XslExportResourceIdService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceListgetResourceIdList(java.util.Locale locale)Returns a list of resource idsjava.lang.StringgetTitle(java.lang.String strId, java.util.Locale locale)Returns the Title of a given resourcevoidregister()Initializes the service-
Methods inherited from class fr.paris.lutece.portal.service.rbac.ResourceIdService
getPluginName, setPluginName
-
-
-
-
Field Detail
-
PERMISSION_CREATE
public static final java.lang.String PERMISSION_CREATE
- See Also:
- Constant Field Values
-
PERMISSION_DELETE
public static final java.lang.String PERMISSION_DELETE
- See Also:
- Constant Field Values
-
PERMISSION_MODIFY
public static final java.lang.String PERMISSION_MODIFY
- See Also:
- Constant Field Values
-
-
Method Detail
-
register
public void register()
Initializes the service- Specified by:
registerin classResourceIdService
-
getResourceIdList
public ReferenceList getResourceIdList(java.util.Locale locale)
Returns a list of resource ids- Specified by:
getResourceIdListin classResourceIdService- Parameters:
locale- The current locale- Returns:
- A list of resource ids
-
getTitle
public java.lang.String getTitle(java.lang.String strId, java.util.Locale locale)Returns the Title of a given resource- Specified by:
getTitlein classResourceIdService- Parameters:
strId- The Id of the resourcelocale- The current locale- Returns:
- The Title of a given resource
-
-