com.silverpeas.workflow.api.event
Interface GenericEvent

All Known Subinterfaces:
QuestionEvent, ResponseEvent, TaskDoneEvent, TaskSavedEvent, TimeoutEvent
All Known Implementing Classes:
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
 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 getUser()
          Returns the actor.
 String getUserRoleName()
          Returns the role name of the actor
 

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.



Copyright © 2016 Silverpeas. All Rights Reserved.