|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
A task object is an activity description built by the workflow engine and sent via the taskManager to an external system which will notify the end user and manage the task realisation. Task objects will be created by the workflow engine when a new task is assigned to a user. Task objects will be created too for the ProcessManager GUI which will be used by the user to do the assigned activity.
Method Summary | |
---|---|
QuestionEvent |
buildQuestionEvent(String stepId,
DataRecord data)
When this Question is asked for a task, builds a QuestionEvent giving the choosed step that must give the answer. |
ResponseEvent |
buildResponseEvent(String questionId,
DataRecord data)
When this Response is answer for a task, builds a ResponseEvent giving the question id that must give the answer. |
TaskDoneEvent |
buildTaskDoneEvent(String actionName,
DataRecord data)
When this Task is done, builds a TaskDoneEvent giving the choosed action name and the filled form. |
TaskSavedEvent |
buildTaskSavedEvent(String actionName,
DataRecord data)
When this Task is saved, builds a TaskSavedEvent giving the choosed action name and the filled form. |
String[] |
getActionNames()
Returns the action names list from which the user must choose to resolve the activity. |
HistoryStep[] |
getBackSteps()
Returns the history steps that user can discussed (ask a question to the actor of that step). |
String |
getGroupId()
|
Question[] |
getPendingQuestions()
Returns the question that must be answered |
ProcessInstance |
getProcessInstance()
Returns the process instance. |
ProcessModel |
getProcessModel()
Returns the process model (peas). |
Question[] |
getRelevantQuestions()
Returns the (non onsolete) questions that have been answered |
Question[] |
getSentQuestions()
Returns the question that have been asked and are waiting for a response |
State |
getState()
Returns the state/activity to be resolved by the user. |
User |
getUser()
Returns the actor. |
String |
getUserRoleName()
Returns the name of the role which gived the responsability of this task to the user. |
void |
setProcessInstance(ProcessInstance currentProcessInstance)
Set process instance associated with task |
Method Detail |
---|
User getUser()
String getUserRoleName()
String getGroupId()
ProcessModel getProcessModel()
ProcessInstance getProcessInstance()
State getState()
HistoryStep[] getBackSteps()
Question[] getPendingQuestions()
Question[] getRelevantQuestions()
Question[] getSentQuestions()
String[] getActionNames()
TaskDoneEvent buildTaskDoneEvent(String actionName, DataRecord data)
TaskSavedEvent buildTaskSavedEvent(String actionName, DataRecord data)
QuestionEvent buildQuestionEvent(String stepId, DataRecord data)
ResponseEvent buildResponseEvent(String questionId, DataRecord data)
void setProcessInstance(ProcessInstance currentProcessInstance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |