Class WorkflowUserAttributesManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_MANAGER
      The name of the bean of this service
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttribute​(java.lang.String strUserId, java.lang.String strAttribute)
      Get the attribute
      java.util.Map<java.lang.String,​java.lang.String> getAttributes​(java.lang.String strUserId)
      Get the attributes
      boolean isEnabled()
      Check if the UserAttributesService is enabled
      void setUserAttributesService​(fr.paris.lutece.portal.service.security.UserAttributesService userAttributesService)
      Set the UserAttributesService
      • Methods inherited from class java.lang.Object

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

      • BEAN_MANAGER

        public static final java.lang.String BEAN_MANAGER
        The name of the bean of this service
        See Also:
        Constant Field Values
    • Constructor Detail

      • WorkflowUserAttributesManager

        public WorkflowUserAttributesManager()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Check if the UserAttributesService is enabled
        Specified by:
        isEnabled in interface IWorkflowUserAttributesManager
        Returns:
        true if the service is enabled, false otherwise
      • setUserAttributesService

        public void setUserAttributesService​(fr.paris.lutece.portal.service.security.UserAttributesService userAttributesService)
        Set the UserAttributesService
        Specified by:
        setUserAttributesService in interface IWorkflowUserAttributesManager
        Parameters:
        userAttributesService - the UserAttributesService
      • getAttribute

        public java.lang.String getAttribute​(java.lang.String strUserId,
                                             java.lang.String strAttribute)
        Get the attribute
        Specified by:
        getAttribute in interface IWorkflowUserAttributesManager
        Parameters:
        strUserId - the id user guid
        strAttribute - the attribute
        Returns:
        the attribute value
      • getAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getAttributes​(java.lang.String strUserId)
        Get the attributes
        Specified by:
        getAttributes in interface IWorkflowUserAttributesManager
        Parameters:
        strUserId - the user id
        Returns:
        a map of attribute key - attribute value