Class TaskSavedEventImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.event.AbstractTaskEvent
-
- org.silverpeas.core.workflow.engine.event.TaskSavedEventImpl
-
- All Implemented Interfaces:
GenericEvent
,TaskSavedEvent
public class TaskSavedEventImpl extends AbstractTaskEvent implements TaskSavedEvent
A TaskSavedEvent object is the description of an activity that is not finished but saved to be continued later. Those descriptions are sent to the workflow engine by the workflow tools when the user has save a task in a process instance.
-
-
Constructor Summary
Constructors Constructor Description TaskSavedEventImpl(Task resolvedTask, String actionName, DataRecord data)
A TaskSavedEvent 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
isFirstTimeSaved()
Is first time saved ?void
setFirstTimeSaved(boolean firstTimeSaved)
Set information to know if it is the first time the current task is saved.-
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.TaskSavedEvent
getProcessModel, setProcessInstance
-
-
-
-
Constructor Detail
-
TaskSavedEventImpl
public TaskSavedEventImpl(Task resolvedTask, String actionName, DataRecord data)
A TaskSavedEvent is built from a resolved task, a choosen action and a filled form.
-
-
Method Detail
-
isFirstTimeSaved
public boolean isFirstTimeSaved()
Description copied from interface:TaskSavedEvent
Is first time saved ?- Specified by:
isFirstTimeSaved
in interfaceTaskSavedEvent
-
setFirstTimeSaved
public void setFirstTimeSaved(boolean firstTimeSaved)
Description copied from interface:TaskSavedEvent
Set information to know if it is the first time the current task is saved.- Specified by:
setFirstTimeSaved
in interfaceTaskSavedEvent
-
-