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 ofIFormRecordProvidingEvent
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Vorgang
formRecord
protected IFormRecordLockContext
formRecordLockContext
-
Fields inherited from class de.xima.fc.workflow.event.AProjectEventData
project
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vorgang
getFormRecord()
IFormRecordLockContext
getFormRecordLockContext()
protected org.apache.commons.lang3.builder.ToStringBuilder
getToStringBuilder()
void
update(Vorgang formRecord)
-
Methods inherited from class de.xima.fc.workflow.event.AProjectEventData
getProject, update
-
Methods inherited from class de.xima.fc.workflow.event.AWorkflowEventData
getClient, getLocale, getUser, 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, getDefaultSystemState, getLocale, getUser
-
-
-
-
Field Detail
-
formRecord
protected Vorgang formRecord
-
formRecordLockContext
protected IFormRecordLockContext formRecordLockContext
-
-
Method Detail
-
getFormRecord
public Vorgang getFormRecord()
- Specified by:
getFormRecord
in interfaceIFormRecordProvidingEvent
- Returns:
- The project of the event. Only triggers belonging to the
Vorgang.getWorkflowVersion()
are fired.
-
getFormRecordLockContext
public IFormRecordLockContext getFormRecordLockContext()
- Specified by:
getFormRecordLockContext
in interfaceIFormRecordProvidingEvent
- Returns:
- the context that is locking the form record. May be
null
-
getToStringBuilder
protected org.apache.commons.lang3.builder.ToStringBuilder getToStringBuilder()
- Overrides:
getToStringBuilder
in classAProjectEventData
-
update
public void update(Vorgang formRecord)
- 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.
-
-