Class TaskInformation
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.unittree.business.task.information.TaskInformation
This class represents information stored for a task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a piece of informationGives the value of the piece of information with the specified keyintGives the history idintGives the task idgetKeys()Gives all the keys of the pieces of information
-
Constructor Details
-
TaskInformation
public TaskInformation(int nIdHistory, int nIdTask) Constructor- Parameters:
nIdHistory- the history idnIdTask- the task id
-
-
Method Details
-
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
Adds a piece of information- Parameters:
strKey- the key of the piece of informationstrValue- the value of the piece of information
-
get
Gives the value of the piece of information with the specified key- Parameters:
strKey- the key- Returns:
- the value
-
getKeys
Gives all the keys of the pieces of information- Returns:
- a collection containing all the keys
-