Package de.xima.fc.workflow.event
Class AWorkflowEventData
java.lang.Object
de.xima.fc.workflow.event.AWorkflowEventData
- All Implemented Interfaces:
IWorkflowEventData
,Serializable
- Direct Known Subclasses:
AProjectEventData
Base POJO class that can be used (but does not have to be) for implementations of
IWorkflowEventData
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AWorkflowEventData
(Mandant client, IUser user, Locale locale) Deprecated.protected
AWorkflowEventData
(Mandant client, IUser user, Locale locale, Clock clock) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.xima.fc.interfaces.workflow.event.IWorkflowEventData
getDefaultSystemState, getUser, getWorkflowExecutionPostProcessors
-
Constructor Details
-
AWorkflowEventData
Deprecated.- Parameters:
client
- Client context for the workflow execution.user
- User who initiated the event.locale
- Locale to use during workflow execution for locale-sensitive operations.
-
AWorkflowEventData
- Parameters:
client
- Client context for the workflow execution.user
- User who initiated the event.locale
- Locale to use during workflow execution for locale-sensitive operations.clock
- The clock to use for obtaining the current time.- Since:
- 8.0.0
-
-
Method Details
-
getClient
- Specified by:
getClient
in interfaceIWorkflowEventData
- Returns:
- The client scope where the event was initiated.
-
getClock
- Specified by:
getClock
in interfaceIWorkflowEventData
- Returns:
- The clock to use for obtaining the current time.
-
getLocale
- Specified by:
getLocale
in interfaceIWorkflowEventData
- Returns:
- The locale to be used for locale-sensitive operations. When not given, the system's or client's default locale is used.
-
getUserModel
- Specified by:
getUserModel
in interfaceIWorkflowEventData
- Returns:
- The user who initiated the event. When not given, an anonymous user is used.
-
toString
-
getToStringBuilder
protected org.apache.commons.lang3.builder.ToStringBuilder getToStringBuilder()
-
AWorkflowEventData(Mandant, IUser, Locale, Clock)