|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.workflow.engine.event.TaskDoneEventImpl
public class TaskDoneEventImpl
A TaskDoneEvent object is the description of a done activity. Those descriptions are sent to the workflow engine by the workflow tools when the user has done a task in a process instance.
| Constructor Summary | |
|---|---|
TaskDoneEventImpl(Task resolvedTask,
String actionName,
DataRecord data)
A TaskDoneEventImpl is built from a resolved task, a choosen action and a filled form. |
|
| Method Summary | |
|---|---|
Date |
getActionDate()
Returns the action date. |
String |
getActionName()
Returns the name of the action chosen to resolve the activity. |
DataRecord |
getDataRecord()
Returns the data filled when the action was processed. |
ProcessInstance |
getProcessInstance()
Returns the process instance. |
ProcessModel |
getProcessModel()
Returns the process model (peas). |
State |
getResolvedState()
Returns the state/activity resolved by the user. |
User |
getUser()
Returns the actor. |
String |
getUserRoleName()
Returns the role name of the actor |
boolean |
isResumingAction()
Get the flag to indicate if action comes from a resumed action. |
void |
setProcessInstance(ProcessInstance processInstance)
Set the process instance (when created). |
void |
setResumingAction(boolean isResumingInstance)
Set a flag to indicate if action comes from a resumed action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskDoneEventImpl(Task resolvedTask,
String actionName,
DataRecord data)
| Method Detail |
|---|
public User getUser()
getUser in interface GenericEventpublic ProcessModel getProcessModel()
getProcessModel in interface TaskDoneEventpublic ProcessInstance getProcessInstance()
getProcessInstance in interface GenericEventpublic void setProcessInstance(ProcessInstance processInstance)
setProcessInstance in interface TaskDoneEventpublic State getResolvedState()
getResolvedState in interface GenericEventpublic String getActionName()
getActionName in interface GenericEventpublic Date getActionDate()
getActionDate in interface GenericEventpublic DataRecord getDataRecord()
getDataRecord in interface GenericEventpublic String getUserRoleName()
getUserRoleName in interface GenericEventpublic void setResumingAction(boolean isResumingInstance)
TaskDoneEvent
setResumingAction in interface TaskDoneEventpublic boolean isResumingAction()
TaskDoneEvent
isResumingAction in interface TaskDoneEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||