Package de.xima.fc.workflow.event
Class InvitationSentEventDataBuilder
- java.lang.Object
-
- de.xima.fc.workflow.event.InvitationSentEventDataBuilder
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IInvitationSentEventData>
public class InvitationSentEventDataBuilder extends Object
Builder for the event data for a form record invitation sent event, i.e. when a user sent an invitation to a form record. Create an instance via the methods ofWorkflowEventDataFactory
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
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
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TThis
addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
TThis
anonymize(Boolean anonymize)
IInvitationSentEventData
build()
TThis
clock(Clock clock)
TThis
formRecordLockContext(IFormRecordLockContext formRecordLockContext)
protected InvitationSentEventDataBuilder
getThis()
TThis
locale(Locale locale)
InvitationSentEventDataBuilder
mailTo(String mailTo)
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
-
-
Method Detail
-
build
public IInvitationSentEventData build()
-
mailTo
public InvitationSentEventDataBuilder mailTo(String mailTo)
- Parameters:
mailTo
- The email address to which the invitation was sent, if any.- Returns:
- This builder for chaining methods calls.
-
getThis
protected InvitationSentEventDataBuilder getThis()
-
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.
-
-