Class UnitResourceIdService


  • public class UnitResourceIdService
    extends fr.paris.lutece.portal.service.rbac.ResourceIdService
    UnitResourceIdService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.util.ReferenceList getResourceIdList​(java.util.Locale locale)
      Returns a list of resource ids
      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_CREATE

        public static final java.lang.String PERMISSION_CREATE
        Permission for creating a space
        See Also:
        Constant Field Values
      • PERMISSION_MODIFY

        public static final java.lang.String PERMISSION_MODIFY
        Permission for modifying a space
        See Also:
        Constant Field Values
      • PERMISSION_DELETE

        public static final java.lang.String PERMISSION_DELETE
        Permission for deleting a space
        See Also:
        Constant Field Values
      • PERMISSION_ADD_USER

        public static final java.lang.String PERMISSION_ADD_USER
        See Also:
        Constant Field Values
      • PERMISSION_MOVE_USER

        public static final java.lang.String PERMISSION_MOVE_USER
        See Also:
        Constant Field Values
      • PERMISSION_MOVE_UNIT

        public static final java.lang.String PERMISSION_MOVE_UNIT
        See Also:
        Constant Field Values
      • PERMISSION_REMOVE_USER

        public static final java.lang.String PERMISSION_REMOVE_USER
        See Also:
        Constant Field Values
      • PERMISSION_SEE_UNIT

        public static final java.lang.String PERMISSION_SEE_UNIT
        See Also:
        Constant Field Values
    • Constructor Detail

      • UnitResourceIdService

        public UnitResourceIdService()
        Constructor
    • 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​(java.util.Locale locale)
        Returns a list of 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 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