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
public abstract class AWorkflowEventData extends Object implements IWorkflowEventData
Base POJO class that can be used (but does not have to be) for implementations ofIWorkflowEventData
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AWorkflowEventData(Mandant client, Benutzer user, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mandant
getClient()
Locale
getLocale()
protected org.apache.commons.lang3.builder.ToStringBuilder
getToStringBuilder()
Benutzer
getUser()
String
toString()
-
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, getWorkflowExecutionPostProcessors
-
-
-
-
Method Detail
-
getClient
public Mandant getClient()
- Specified by:
getClient
in interfaceIWorkflowEventData
- Returns:
- The client scope where the event was initiated.
-
getLocale
public Locale 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.
-
getUser
public Benutzer getUser()
- Specified by:
getUser
in interfaceIWorkflowEventData
- Returns:
- The user who initiated the event. When not given, an anonymous user is used.
-
getToStringBuilder
protected org.apache.commons.lang3.builder.ToStringBuilder getToStringBuilder()
-
-