Package de.xima.fc.workflow.event
Class FormRecordMessageUploadRequestFulfilledEventBuilder
- java.lang.Object
-
- de.xima.fc.workflow.event.FormRecordMessageUploadRequestFulfilledEventBuilder
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IFormRecordMessageUploadRequestFulfilledEvent>
public final class FormRecordMessageUploadRequestFulfilledEventBuilder extends Object
-
-
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 Constructor Description FormRecordMessageUploadRequestFulfilledEventBuilder(Vorgang formRecord, FormRecordMessageUploadRequest uploadRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Self
addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
Self
anonymize(Boolean anonymize)
IFormRecordMessageUploadRequestFulfilledEvent
build()
FormRecordMessageUploadRequestFulfilledEventBuilder
chat(FormRecordChat chat)
Sets the chat containing the fulfilled upload request.Self
clock(Clock clock)
Self
formRecordLockContext(IFormRecordLockContext formRecordLockContext)
protected FormRecordMessageUploadRequestFulfilledEventBuilder
getThis()
Self
locale(Locale locale)
FormRecordMessageUploadRequestFulfilledEventBuilder
message(FormRecordMessage message)
Sets the message containing the fulfilled upload request.Self
user(Benutzer user)
Deprecated.Self
user(IUser user)
Self
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
-
FormRecordMessageUploadRequestFulfilledEventBuilder
public FormRecordMessageUploadRequestFulfilledEventBuilder(Vorgang formRecord, FormRecordMessageUploadRequest uploadRequest)
-
-
Method Detail
-
build
public IFormRecordMessageUploadRequestFulfilledEvent build()
-
chat
public FormRecordMessageUploadRequestFulfilledEventBuilder chat(FormRecordChat chat)
Sets the chat containing the fulfilled upload request. When not set explicitly, the chat is resolved from the upload request. This may fail when the chat's data are loaded lazily and no database connection is active anymore.- Parameters:
chat
- The chat containing the message for which the upload request was fulfilled.- Returns:
- This builder for chaining methods calls.
-
message
public FormRecordMessageUploadRequestFulfilledEventBuilder message(FormRecordMessage message)
Sets the message containing the fulfilled upload request. When not set explicitly, the message is resolved from the upload request. This may fail when the chat's data are loaded lazily and no database connection is active anymore.- Parameters:
message
- The message for which the upload request was fulfilled.- Returns:
- This builder for chaining methods calls.
-
getThis
protected FormRecordMessageUploadRequestFulfilledEventBuilder getThis()
-
addWorkflowExecutionPostProcessor
@CanIgnoreReturnValue public Self addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
-
anonymize
@CanIgnoreReturnValue public Self anonymize(Boolean anonymize)
-
clock
@CanIgnoreReturnValue public Self clock(Clock clock)
-
formRecordLockContext
@CanIgnoreReturnValue public Self formRecordLockContext(IFormRecordLockContext formRecordLockContext)
-
locale
@CanIgnoreReturnValue public Self locale(Locale locale)
-
user
@CanIgnoreReturnValue public Self user(IUser user)
-
workflowExecutionPostProcessors
@CanIgnoreReturnValue public Self workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
user
@Deprecated @CanIgnoreReturnValue public Self user(Benutzer user)
Deprecated.
-
-