Class PortletTemplateResourceIdService

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

public class PortletTemplateResourceIdService extends ResourceIdService
RBAC resource type of the portlet templates : the FreeMarker templates the portlets can be rendered with
  • Field Details

  • Constructor Details

    • PortletTemplateResourceIdService

      public PortletTemplateResourceIdService()
  • Method Details

    • register

      public void register()
      This method should register permissions and resource type
      Specified by:
      register in class ResourceIdService
    • getResourceIdList

      public ReferenceList getResourceIdList(Locale locale)
      Provide the list of all resources (id - label)
      Specified by:
      getResourceIdList in class ResourceIdService
      Parameters:
      locale - The locale
      Returns:
      the list of all resources available for restricted access
    • getTitle

      public String getTitle(String strId, Locale locale)
      Provide the title of a resource given its id
      Specified by:
      getTitle in class ResourceIdService
      Parameters:
      strId - the id of the resource
      locale - The locale
      Returns:
      the title the corresponding label