Class SendMessageUploadRequestData
java.lang.Object
de.xima.fc.form_record.api.message.SendMessageUploadRequestData
- All Implemented Interfaces:
ISendMessageUploadRequestData, Serializable
Builder for
ISendMessageUploadRequestData- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionformField(String formFieldName, EUploadRequestFileMergeMode fileMergeMode) formFieldRepetition(String formFieldName, EUploadRequestFileMergeMode fileMergeMode, long repetitionId) general()How to handle existing files when the user uploads files to fulfill the upload request.Name of an upload form field associated with the upload request.Optional.
-
Method Details
-
getFileMergeMode
Description copied from interface:ISendMessageUploadRequestDataHow to handle existing files when the user uploads files to fulfill the upload request.- Specified by:
getFileMergeModein interfaceISendMessageUploadRequestData- Returns:
- How to handle existing files when the upload requests is fulfilled.
-
getFormFieldName
Description copied from interface:ISendMessageUploadRequestDataName of an upload form field associated with the upload request. May be null or empty if the upload request is not associated with a form field.- Specified by:
getFormFieldNamein interfaceISendMessageUploadRequestData- Returns:
- Name of the upload form field.
-
getRepetitionId
Description copied from interface:ISendMessageUploadRequestDataOptional. ID of the repetition of the upload request. May be null if the upload request is not repeated. Note that ID is not the ordinal index of the repetition, but a unique identifier. An ordinal index starts at 0 is continuous (0,1,2,3,4,...), while an ID may be any unique value.- Specified by:
getRepetitionIdin interfaceISendMessageUploadRequestData- Returns:
- ID of the repetition of the upload request.
-
general
-
formField
public static ISendMessageUploadRequestData formField(String formFieldName, EUploadRequestFileMergeMode fileMergeMode) -
formFieldRepetition
public static ISendMessageUploadRequestData formFieldRepetition(String formFieldName, EUploadRequestFileMergeMode fileMergeMode, long repetitionId)
-