Class MyLuteceResourceIdService


  • public class MyLuteceResourceIdService
    extends fr.paris.lutece.portal.service.rbac.ResourceIdService
    class RoleResourceIdService
    • Field Detail

      • RESOURCE_TYPE

        public static final java.lang.String RESOURCE_TYPE
        Permission assign role
        See Also:
        Constant Field Values
      • PERMISSION_CREATE_ATTRIBUTE

        public static final java.lang.String PERMISSION_CREATE_ATTRIBUTE
        See Also:
        Constant Field Values
      • PERMISSION_MODIFY_ATTRIBUTE

        public static final java.lang.String PERMISSION_MODIFY_ATTRIBUTE
        See Also:
        Constant Field Values
      • PERMISSION_DELETE_ATTRIBUTE

        public static final java.lang.String PERMISSION_DELETE_ATTRIBUTE
        See Also:
        Constant Field Values
      • PERMISSION_MANAGE_AUTHENTICATION_FILTER

        public static final java.lang.String PERMISSION_MANAGE_AUTHENTICATION_FILTER
        See Also:
        Constant Field Values
    • Constructor Detail

      • MyLuteceResourceIdService

        public MyLuteceResourceIdService()
        Creates a new instance of RoleResourceIdService
    • Method Detail

      • register

        public void register()
        Initializes the service
        Specified by:
        register in class fr.paris.lutece.portal.service.rbac.ResourceIdService
      • getResourceIdList

        public fr.paris.lutece.util.ReferenceList getResourceIdList​(java.util.Locale locale)
        Returns a list of role resource ids
        Specified by:
        getResourceIdList in class fr.paris.lutece.portal.service.rbac.ResourceIdService
        Parameters:
        locale - The current locale
        Returns:
        A list of role 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:
        getTitle in class fr.paris.lutece.portal.service.rbac.ResourceIdService
        Parameters:
        strId - The Id of the resource
        locale - The current locale
        Returns:
        The Title of a given resource