Interface GenericEvent
-
- All Known Subinterfaces:
QuestionEvent
,ResponseEvent
,TaskDoneEvent
,TaskSavedEvent
,TimeoutEvent
- All Known Implementing Classes:
AbstractTaskEvent
,QuestionEventImpl
,ResponseEventImpl
,TaskDoneEventImpl
,TaskSavedEventImpl
,TimeoutEventImpl
public interface GenericEvent
A GenericEvent object is the description of an action on an activity Those descriptions are sent to the workflow engine by the workflow tools when the user has done an action in a process instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Date
getActionDate()
Returns the action date.String
getActionName()
Returns the name of the action choosen to resolve the activity.DataRecord
getDataRecord()
Returns the data associated to this event.ProcessInstance
getProcessInstance()
Returns the process instance.State
getResolvedState()
Returns the state/activity resolved by the user.User
getSubstitute()
User
getUser()
Returns the actor.User
getUserOrSubstitute()
Returns substitute if defined, regular user otherwiseString
getUserRoleName()
Returns the role name of the actorvoid
setSubstitute(User substitute)
-
-
-
Method Detail
-
getUser
User getUser()
Returns the actor.
-
getUserRoleName
String getUserRoleName()
Returns the role name of the actor
-
getProcessInstance
ProcessInstance getProcessInstance()
Returns the process instance.
-
getResolvedState
State getResolvedState()
Returns the state/activity resolved by the user.
-
getActionDate
Date getActionDate()
Returns the action date.
-
getActionName
String getActionName()
Returns the name of the action choosen to resolve the activity.
-
getDataRecord
DataRecord getDataRecord()
Returns the data associated to this event.
-
getSubstitute
User getSubstitute()
-
setSubstitute
void setSubstitute(User substitute)
-
getUserOrSubstitute
User getUserOrSubstitute()
Returns substitute if defined, regular user otherwise- Returns:
- a User
-
-