Class DocumentMassActionResourceService

java.lang.Object
fr.paris.lutece.portal.service.rbac.ResourceIdService
fr.paris.lutece.plugins.document.service.DocumentMassActionResourceService

public class DocumentMassActionResourceService extends fr.paris.lutece.portal.service.rbac.ResourceIdService
Resource Id service for RBAC features to control access to document depending their type
  • Field Details

    • PERMISSION_MASS_ARCHIVE

      public static final String PERMISSION_MASS_ARCHIVE
      Permission for modifying a document
      See Also:
  • Constructor Details

    • DocumentMassActionResourceService

      public DocumentMassActionResourceService()
      Creates a new instance of DocumentTypeResourceIdService
  • Method Details

    • register

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

      public String getTitle(String strId, 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
    • getResourceIdList

      public fr.paris.lutece.util.ReferenceList getResourceIdList(Locale locale)
      Specified by:
      getResourceIdList in class fr.paris.lutece.portal.service.rbac.ResourceIdService