Class 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 Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PERMISSION_MASS_ARCHIVE
      Permission for modifying a document
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.util.ReferenceList getResourceIdList​(java.util.Locale locale)  
      java.lang.String getTitle​(java.lang.String strId, java.util.Locale locale)
      Returns the Title of a given resource
      void register()
      Initializes the service
      • Methods inherited from class fr.paris.lutece.portal.service.rbac.ResourceIdService

        getPluginName, setPluginName
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PERMISSION_MASS_ARCHIVE

        public static final java.lang.String PERMISSION_MASS_ARCHIVE
        Permission for modifying a document
        See Also:
        Constant Field Values
    • Constructor Detail

      • DocumentMassActionResourceService

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

      • register

        public void register()
        Initializes the service
        Specified by:
        register in class fr.paris.lutece.portal.service.rbac.ResourceIdService
      • 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
      • getResourceIdList

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