|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.task.AbstractTaskImpl
com.silverpeas.workflow.engine.task.TaskImpl
public class TaskImpl
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.
Constructor Summary | |
---|---|
TaskImpl(User user,
String roleName,
ProcessInstance processInstance,
State state)
Builds a TaskImpl. |
|
TaskImpl(User user,
String roleName,
ProcessInstance processInstance,
State state,
HistoryStep[] backSteps,
Question[] sentQuestions,
Question[] relevantQuestions,
Question[] pendingQuestions)
Builds a TaskImpl. |
|
TaskImpl(User user,
String roleName,
String groupId,
ProcessInstance processInstance,
State state)
|
Method Summary | |
---|---|
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). |
Question[] |
getPendingQuestions()
Returns the questions that must be answered |
ProcessInstance |
getProcessInstance()
Returns the process instance. |
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 to be resolved by the user. |
void |
setProcessInstance(ProcessInstance processInstance)
Set process instance associated with task |
Methods inherited from class com.silverpeas.workflow.engine.task.AbstractTaskImpl |
---|
buildQuestionEvent, buildResponseEvent, buildTaskDoneEvent, buildTaskSavedEvent, getGroupId, getProcessModel, getUser, getUserRoleName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskImpl(User user, String roleName, ProcessInstance processInstance, State state) throws WorkflowException
WorkflowException
public TaskImpl(User user, String roleName, String groupId, ProcessInstance processInstance, State state) throws WorkflowException
WorkflowException
public TaskImpl(User user, String roleName, ProcessInstance processInstance, State state, HistoryStep[] backSteps, Question[] sentQuestions, Question[] relevantQuestions, Question[] pendingQuestions) throws WorkflowException
WorkflowException
Method Detail |
---|
public void setProcessInstance(ProcessInstance processInstance)
Task
public ProcessInstance getProcessInstance()
public State getState()
public HistoryStep[] getBackSteps()
public Question[] getPendingQuestions()
public Question[] getRelevantQuestions()
public Question[] getSentQuestions()
public String[] getActionNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |