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 classASpecificTriggerWithFormRecordEventDataBuilder.ASpecificDataEvent data for running a specific trigger, specified by its ID.
-
Field Summary
Fields Modifier and Type Field Description protected Booleananonymizeprotected Clockclockprotected VorgangformRecordprotected IFormRecordLockContextformRecordLockContextprotected Localelocaleprotected IUseruserprotected List<IWorkflowExecutionPostProcessor>workflowExecutionPostProcessors
-
Constructor Summary
Constructors Modifier Constructor Description protectedASpecificTriggerWithFormRecordEventDataBuilder(Vorgang formRecord, WorkflowTrigger trigger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TThisaddWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)TThisanonymize(Boolean anonymize)Selfclient(Mandant client)TThisclock(Clock clock)TThisformRecordLockContext(IFormRecordLockContext formRecordLockContext)protected abstract TThisgetThis()TThislocale(Locale locale)Selfproject(Projekt project)TThisuser(Benutzer user)Deprecated.Useuser(IUser)instead.TThisuser(IUser user)TThisworkflowExecutionPostProcessors(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()
-
-