Interface IWorkflowEventData
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IDoiVerifiedEventData
,IFormDataAdapterProvidingEvent
,IFormRecordProvidingEvent
,IFormSubmissionEvent
,IHttpContextProvidingEvent
,IInvitationErrorEventData
,IInvitationSentEventData
,IProjectProvidingEvent
,IUnhandledExceptionEventData
,IXFormProvidingEvent
,IXFormRenderConfigProvidingEvent
- All Known Implementing Classes:
AFormRecordEventData
,AProjectEventData
,AWorkflowEventData
public interface IWorkflowEventData extends Serializable
Base interface for all workflow events for the new workflow engine. When an event is fired, the workflow engine receives an instance of this interface and queries eachITriggerHandler
for the applicableWorkflowTrigger
s. Each handler receives the event data and must find all triggers to which the event applies. It then runs allWorkflowTask
s for the matched triggers.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Mandant
getClient()
default EWorkflowStateType
getDefaultSystemState()
Locale
getLocale()
Benutzer
getUser()
-
-
-
Method Detail
-
getLocale
Locale getLocale()
- Returns:
- The locale to be used for locale-sensitive operations. When not given, the system's or client's default locale is used.
-
getDefaultSystemState
default EWorkflowStateType getDefaultSystemState()
- Returns:
- The default state that is set when the form record has not
state
and no state was set by the executed workflow tasks.
-
getUser
Benutzer getUser()
- Returns:
- The user who initiated the event. When not given, an anonymous user is used.
-
getClient
Mandant getClient()
- Returns:
- The client scope where the event was initiated.
-
-