|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.event.TaskSavedEventImpl
public class TaskSavedEventImpl
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 | |
---|---|
TaskSavedEventImpl(Task resolvedTask,
String actionName,
DataRecord data)
A TaskSavedEvent 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 |
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 processInstance)
Set the process instance (when created). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskSavedEventImpl(Task resolvedTask, String actionName, DataRecord data)
Method Detail |
---|
public boolean isFirstTimeSaved()
TaskSavedEvent
isFirstTimeSaved
in interface TaskSavedEvent
public void setFirstTimeSaved(boolean firstTimeSaved)
TaskSavedEvent
setFirstTimeSaved
in interface TaskSavedEvent
public User getUser()
getUser
in interface GenericEvent
public ProcessModel getProcessModel()
getProcessModel
in interface TaskSavedEvent
public ProcessInstance getProcessInstance()
getProcessInstance
in interface GenericEvent
public void setProcessInstance(ProcessInstance processInstance)
setProcessInstance
in interface TaskSavedEvent
public State getResolvedState()
getResolvedState
in interface GenericEvent
public String getActionName()
getActionName
in interface GenericEvent
public Date getActionDate()
getActionDate
in interface GenericEvent
public DataRecord getDataRecord()
getDataRecord
in interface GenericEvent
public String getUserRoleName()
getUserRoleName
in interface GenericEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |