Class UserTaskInformation
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.userassignment.business.information.UserTaskInformation
-
public class UserTaskInformation extends java.lang.ObjectThis class represents information stored for a task
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTASK_INFORMATIONstatic java.lang.StringTASK_USER_ID
-
Constructor Summary
Constructors Constructor Description UserTaskInformation(int nIdHistory, int nIdTask)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String strKey, java.lang.String strValue)Adds a piece of informationjava.lang.Stringget(java.lang.String strKey)Gives the value of the piece of information with the specified keyintgetIdHistory()Gives the history idintgetIdTask()Gives the task idjava.util.Collection<java.lang.String>getKeys()Gives all the keys of the pieces of information
-
-
-
Field Detail
-
TASK_USER_ID
public static final java.lang.String TASK_USER_ID
- See Also:
- Constant Field Values
-
TASK_INFORMATION
public static final java.lang.String TASK_INFORMATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdHistory
public int getIdHistory()
Gives the history id- Returns:
- The history id
-
getIdTask
public int getIdTask()
Gives the task id- Returns:
- The task id
-
add
public void add(java.lang.String strKey, java.lang.String strValue)Adds a piece of information- Parameters:
strKey- the key of the piece of informationstrValue- the value of the piece of information
-
get
public java.lang.String get(java.lang.String strKey)
Gives the value of the piece of information with the specified key- Parameters:
strKey- the key- Returns:
- the value
-
getKeys
public java.util.Collection<java.lang.String> getKeys()
Gives all the keys of the pieces of information- Returns:
- a collection containing all the keys
-
-