Class WorkflowUserAttributesManager
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.service.security.WorkflowUserAttributesManager
-
- All Implemented Interfaces:
IWorkflowUserAttributesManager
public class WorkflowUserAttributesManager extends Object implements IWorkflowUserAttributesManager
WorkflowUserAttributesManager
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_MANAGERThe name of the bean of this service
-
Constructor Summary
Constructors Constructor Description WorkflowUserAttributesManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttribute(String strUserId, String strAttribute)Get the attributeMap<String,String>getAttributes(String strUserId)Get the attributesbooleanisEnabled()Check if the UserAttributesService is enabledvoidsetUserAttributesService(fr.paris.lutece.portal.service.security.UserAttributesService userAttributesService)Set the UserAttributesService
-
-
-
Field Detail
-
BEAN_MANAGER
public static final String BEAN_MANAGER
The name of the bean of this service- See Also:
- Constant Field Values
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
Check if the UserAttributesService is enabled- Specified by:
isEnabledin interfaceIWorkflowUserAttributesManager- 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:
setUserAttributesServicein interfaceIWorkflowUserAttributesManager- Parameters:
userAttributesService- the UserAttributesService
-
getAttribute
public String getAttribute(String strUserId, String strAttribute)
Get the attribute- Specified by:
getAttributein interfaceIWorkflowUserAttributesManager- Parameters:
strUserId- the id user guidstrAttribute- the attribute- Returns:
- the attribute value
-
getAttributes
public Map<String,String> getAttributes(String strUserId)
Get the attributes- Specified by:
getAttributesin interfaceIWorkflowUserAttributesManager- Parameters:
strUserId- the user id- Returns:
- a map of attribute key - attribute value
-
-