Class TaskDoneEventImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.event.AbstractTaskEvent
-
- org.silverpeas.core.workflow.engine.event.TaskDoneEventImpl
-
- All Implemented Interfaces:
GenericEvent
,TaskDoneEvent
public class TaskDoneEventImpl extends AbstractTaskEvent implements TaskDoneEvent
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
Constructors Constructor Description TaskDoneEventImpl(Task resolvedTask, String actionName, DataRecord data)
A TaskDoneEventImpl is built from a resolved task, a choosen action and a filled form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isResumingAction()
Get the flag to indicate if action comes from a resumed action.void
setResumingAction(boolean isResumingInstance)
Set a flag to indicate if action comes from a resumed action.-
Methods inherited from class org.silverpeas.core.workflow.engine.event.AbstractTaskEvent
getActionDate, getActionName, getDataRecord, getProcessInstance, getProcessModel, getResolvedState, getSubstitute, getUser, getUserOrSubstitute, getUserRoleName, setProcessInstance, setSubstitute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.workflow.api.event.GenericEvent
getActionDate, getActionName, getDataRecord, getProcessInstance, getResolvedState, getSubstitute, getUser, getUserOrSubstitute, getUserRoleName, setSubstitute
-
Methods inherited from interface org.silverpeas.core.workflow.api.event.TaskDoneEvent
getProcessModel, setProcessInstance
-
-
-
-
Constructor Detail
-
TaskDoneEventImpl
public TaskDoneEventImpl(Task resolvedTask, String actionName, DataRecord data)
A TaskDoneEventImpl is built from a resolved task, a choosen action and a filled form.
-
-
Method Detail
-
setResumingAction
public void setResumingAction(boolean isResumingInstance)
Description copied from interface:TaskDoneEvent
Set a flag to indicate if action comes from a resumed action.- Specified by:
setResumingAction
in interfaceTaskDoneEvent
-
isResumingAction
public boolean isResumingAction()
Description copied from interface:TaskDoneEvent
Get the flag to indicate if action comes from a resumed action.- Specified by:
isResumingAction
in interfaceTaskDoneEvent
-
-