Package de.xima.fc.workflow.event
Class ASpecificTriggerWithFormRecordEventDataBuilder<Event extends IFormRecordProvidingEvent,Self>
- java.lang.Object
-
- de.xima.fc.workflow.event.ASpecificTriggerWithFormRecordEventDataBuilder<Event,Self>
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<Event>
- Direct Known Subclasses:
SpecificTriggerEventDataBuilder
,UserInvocationEventDataBuilder
public abstract class ASpecificTriggerWithFormRecordEventDataBuilder<Event extends IFormRecordProvidingEvent,Self> extends Object
Base builder for the event data for running a specific trigger, specified by its ID, that also require a form record.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ASpecificTriggerWithFormRecordEventDataBuilder.ASpecificData
Event data for running a specific trigger, specified by its ID.
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
anonymize
protected Clock
clock
protected Vorgang
formRecord
protected IFormRecordLockContext
formRecordLockContext
protected Locale
locale
protected IUser
user
protected List<IWorkflowExecutionPostProcessor>
workflowExecutionPostProcessors
-
Constructor Summary
Constructors Modifier Constructor Description protected
ASpecificTriggerWithFormRecordEventDataBuilder(Vorgang formRecord, WorkflowTrigger trigger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TThis
addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
TThis
anonymize(Boolean anonymize)
Self
client(Mandant client)
TThis
clock(Clock clock)
TThis
formRecordLockContext(IFormRecordLockContext formRecordLockContext)
protected abstract TThis
getThis()
TThis
locale(Locale locale)
Self
project(Projekt project)
TThis
user(Benutzer user)
Deprecated.Useuser(IUser)
instead.TThis
user(IUser user)
TThis
workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
-
-
Field Detail
-
anonymize
protected Boolean anonymize
-
clock
protected Clock clock
-
formRecord
protected final Vorgang formRecord
-
formRecordLockContext
protected IFormRecordLockContext formRecordLockContext
-
locale
protected Locale locale
-
user
protected IUser user
-
workflowExecutionPostProcessors
protected List<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors
-
-
Constructor Detail
-
ASpecificTriggerWithFormRecordEventDataBuilder
protected ASpecificTriggerWithFormRecordEventDataBuilder(Vorgang formRecord, WorkflowTrigger trigger)
-
-
Method Detail
-
client
public Self client(Mandant client)
- Parameters:
client
- The client that owns the submitted form. When not set explicitly, the client is taken from the form.- Returns:
- This builder instance for chaining method calls.
-
project
public Self project(Projekt project)
- Parameters:
project
- The project of the form record. When not specified explicitly, retrieves the project from the form record.- Returns:
- This builder for chaining method calls.
-
addWorkflowExecutionPostProcessor
public TThis addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
-
anonymize
public TThis anonymize(Boolean anonymize)
-
clock
public TThis clock(Clock clock)
-
formRecordLockContext
public TThis formRecordLockContext(IFormRecordLockContext formRecordLockContext)
-
locale
public TThis locale(Locale locale)
-
user
public TThis user(IUser user)
-
workflowExecutionPostProcessors
public TThis workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
user
@Deprecated public TThis user(Benutzer user)
Deprecated.Useuser(IUser)
instead.- Parameters:
user
- The user who started the workflow.- Returns:
- This builder instance for chaining method calls.
-
getThis
protected abstract TThis getThis()
-
-