com.silverpeas.workflow.api.event
Interface TaskSavedEvent

All Superinterfaces:
GenericEvent
All Known Implementing Classes:
TaskSavedEventImpl

public interface TaskSavedEvent
extends GenericEvent

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.


Method Summary
 ProcessModel getProcessModel()
          Returns the process model (peas).
 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.
 void setProcessInstance(ProcessInstance instance)
          Set the process instance.
 
Methods inherited from interface com.silverpeas.workflow.api.event.GenericEvent
getActionDate, getActionName, getDataRecord, getProcessInstance, getResolvedState, getUser, getUserRoleName
 

Method Detail

getProcessModel

ProcessModel getProcessModel()
Returns the process model (peas).


setProcessInstance

void setProcessInstance(ProcessInstance instance)
Set the process instance.


isFirstTimeSaved

boolean isFirstTimeSaved()
Is first time saved ?


setFirstTimeSaved

void setFirstTimeSaved(boolean firstTimeSaved)
Set information to know if it is the first time the current task is saved.



Copyright © 2016 Silverpeas. All Rights Reserved.