Class PortletResourceIdService

java.lang.Object
fr.paris.lutece.portal.service.rbac.ResourceIdService
fr.paris.lutece.portal.service.portlet.PortletResourceIdService

public class PortletResourceIdService extends ResourceIdService
Resource Id service for RBAC features to control access to portlet
  • Field Details

  • Constructor Details

    • PortletResourceIdService

      public PortletResourceIdService()
  • Method Details

    • register

      public void register()
      Initializes the service
      Specified by:
      register in class ResourceIdService
    • getResourceIdList

      public ReferenceList getResourceIdList(Locale locale)
      Returns a list of resource ids
      Specified by:
      getResourceIdList in class ResourceIdService
      Parameters:
      locale - The current locale
      Returns:
      A list of resource ids
    • getTitle

      public String getTitle(String strPortletTypeId, Locale locale)
      Returns the Title of a given resource
      Specified by:
      getTitle in class ResourceIdService
      Parameters:
      strPortletTypeId - The Id of the resource
      locale - The current locale
      Returns:
      The Title of a given resource