Class ProfilesResourceIdService


  • public class ProfilesResourceIdService
    extends fr.paris.lutece.portal.service.rbac.ResourceIdService
    Class ProfileResourceIdService
    • Constructor Detail

      • ProfilesResourceIdService

        public ProfilesResourceIdService()
        Create a new instance of ProfilesResourceIdService
    • 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​(Locale locale)
        Returns a list of profiles resource ids
        Specified by:
        getResourceIdList in class fr.paris.lutece.portal.service.rbac.ResourceIdService
        Parameters:
        locale - The current locale
        Returns:
        A list of resource ids
      • getTitle

        public String getTitle​(String strProfileKey,
                               Locale locale)
        Returns the Title of a given resource
        Specified by:
        getTitle in class fr.paris.lutece.portal.service.rbac.ResourceIdService
        Parameters:
        strProfileKey - the profile key
        locale - The current locale
        Returns:
        The Title of a given resource