Class DefaultExtendedFulfillRequestedUploadRequest
java.lang.Object
de.xima.fc.logic.form_record.chat.DefaultExtendedFulfillRequestedUploadRequest
- All Implemented Interfaces:
IExtendedFulfillRequestedUploadRequest
public final class DefaultExtendedFulfillRequestedUploadRequest
extends Object
implements IExtendedFulfillRequestedUploadRequest
Simple POJO implementation of an
IExtendedFulfillRequestedUploadRequest with a builder.- Since:
- 8.2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for aDefaultExtendedFulfillRequestedUploadRequest. -
Method Summary
Modifier and TypeMethodDescriptionThe base request data for fulfilling a form record message upload request.Gets the entity context to use for posting the message.Creates a new builder for anIExtendedFulfillRequestedUploadRequestthat fulfills the givenupload request.extendedFulfillRequestedUploadRequestBuilder(UUID uploadRequestUuid) Creates a new builder for anIExtendedFulfillRequestedUploadRequestthat fulfills the givenupload request.Optional.
-
Method Details
-
baseRequest
Description copied from interface:IExtendedFulfillRequestedUploadRequestThe base request data for fulfilling a form record message upload request.- Specified by:
baseRequestin interfaceIExtendedFulfillRequestedUploadRequest- Returns:
- The base request data for fulfilling a form record message upload request.
-
entityContext
Description copied from interface:IExtendedFulfillRequestedUploadRequestGets the entity context to use for posting the message. By default, a new entity context is created. Should be used with caution.- Specified by:
entityContextin interfaceIExtendedFulfillRequestedUploadRequest- Returns:
- The entity context to use for posting the message.
-
workflowContext
Description copied from interface:IExtendedFulfillRequestedUploadRequestOptional. The active workflow context that issued the fulfill requested upload request.After the upload request was fulfilled, a workflow event is triggered, which in turn may trigger a workflow execution. This will fail when a workflow execution is currently in progress. To avoid this, the workflow context should be given. When a workflow context is given, the matching tasks will be added to
the current execution queueinstead. This also prevents potential endless loops when a workflow task reacting to a message event posts a message itself, as there exists a hard limit on the maximum number of executed nodes per workflow execution.- Specified by:
workflowContextin interfaceIExtendedFulfillRequestedUploadRequest- Returns:
- The workflow execution context containing the action that issued the post message request.
-
extendedFulfillRequestedUploadRequestBuilder
public static DefaultExtendedFulfillRequestedUploadRequest.Builder extendedFulfillRequestedUploadRequestBuilder(UUID uploadRequestUuid) Creates a new builder for anIExtendedFulfillRequestedUploadRequestthat fulfills the givenupload request.- Parameters:
uploadRequestUuid- UUID of the upload request to fulfill.- Returns:
- A new builder for an
IExtendedFulfillRequestedUploadRequest.
-
extendedFulfillRequestedUploadRequestBuilder
public static DefaultExtendedFulfillRequestedUploadRequest.Builder extendedFulfillRequestedUploadRequestBuilder(FormRecordMessageUploadRequest uploadRequest) Creates a new builder for anIExtendedFulfillRequestedUploadRequestthat fulfills the givenupload request.- Parameters:
uploadRequest- The upload request to fulfill.- Returns:
- A new builder for an
IExtendedFulfillRequestedUploadRequest.
-