Package de.xima.fc.workflow.event
Class AFormRecordEventData
java.lang.Object
de.xima.fc.workflow.event.AWorkflowEventData
de.xima.fc.workflow.event.AProjectEventData
de.xima.fc.workflow.event.AFormRecordEventData
- All Implemented Interfaces:
IFormRecordProvidingEvent
,IProjectProvidingEvent
,IWorkflowEventData
,Serializable
public abstract class AFormRecordEventData
extends AProjectEventData
implements IFormRecordProvidingEvent
POJO base class implementing the methods of
IFormRecordProvidingEvent
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsFields inherited from class de.xima.fc.workflow.event.AProjectEventData
project
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AFormRecordEventData
(Mandant client, IUser user, Locale locale, Projekt project, Vorgang formRecord) Deprecated.protected
AFormRecordEventData
(Mandant client, IUser user, Locale locale, Vorgang formRecord) Deprecated.protected
AFormRecordEventData
(Mandant client, IUser user, Locale locale, Clock clock, Projekt project, Vorgang formRecord) protected
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.lang3.builder.ToStringBuilder
void
Methods inherited from class de.xima.fc.workflow.event.AProjectEventData
getProject, update
Methods inherited from class de.xima.fc.workflow.event.AWorkflowEventData
getClient, getClock, getLocale, getUserModel, 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.IFormRecordProvidingEvent
isAnonymize
Methods inherited from interface de.xima.fc.interfaces.workflow.event.IProjectProvidingEvent
getProject, update
Methods inherited from interface de.xima.fc.interfaces.workflow.event.IWorkflowEventData
getClient, getClock, getDefaultSystemState, getLocale, getUser, getUserModel, getWorkflowExecutionPostProcessors
-
Field Details
-
formRecord
-
formRecordLockContext
-
-
Constructor Details
-
AFormRecordEventData
protected AFormRecordEventData(Mandant client, IUser user, Locale locale, Clock clock, Projekt project, Vorgang formRecord) - 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.project
- Project for which to run the workflow.formRecord
- Form record for which to run the workflow.- Since:
- 8.0.0
-
AFormRecordEventData
protected AFormRecordEventData(Mandant client, IUser user, Locale locale, Clock clock, Vorgang formRecord) - 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.formRecord
- Form record for which to run the workflow.- Since:
- 8.0.0
-
AFormRecordEventData
@Deprecated protected AFormRecordEventData(Mandant client, IUser user, Locale locale, Projekt project, Vorgang formRecord) - 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.project
- Project for which to run the workflow.formRecord
- Form record for which to run the workflow.
-
AFormRecordEventData
@Deprecated protected AFormRecordEventData(Mandant client, IUser user, Locale locale, Vorgang formRecord) 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.formRecord
- Form record for which to run the workflow.
-
-
Method Details
-
getFormRecord
- Specified by:
getFormRecord
in interfaceIFormRecordProvidingEvent
- Returns:
- The project of the event. Only triggers belonging to the
Vorgang.getWorkflowVersion()
are fired.
-
getFormRecordLockContext
- Specified by:
getFormRecordLockContext
in interfaceIFormRecordProvidingEvent
- Returns:
- the context that is locking the form record. May be
null
-
update
- Specified by:
update
in interfaceIFormRecordProvidingEvent
- Parameters:
formRecord
- Updates the form record. This will always be the same project, but may reflect a new state in the database.
-
getToStringBuilder
protected org.apache.commons.lang3.builder.ToStringBuilder getToStringBuilder()- Overrides:
getToStringBuilder
in classAProjectEventData
-
AFormRecordEventData(Mandant, IUser, Locale, Clock, Projekt, Vorgang)
.