Class SendMessageUploadRequestData
- java.lang.Object
-
- de.xima.fc.form_record.api.message.SendMessageUploadRequestData
-
- All Implemented Interfaces:
ISendMessageUploadRequestData,Serializable
public class SendMessageUploadRequestData extends Object implements ISendMessageUploadRequestData
Builder forISendMessageUploadRequestData- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ISendMessageUploadRequestDataformField(String formFieldName, EUploadRequestFileMergeMode fileMergeMode)static ISendMessageUploadRequestDataformFieldRepetition(String formFieldName, EUploadRequestFileMergeMode fileMergeMode, long repetitionId)static ISendMessageUploadRequestDatageneral()EUploadRequestFileMergeModegetFileMergeMode()How to handle existing files when the user uploads files to fulfill the upload request.StringgetFormFieldName()Name of an upload form field associated with the upload request.LonggetRepetitionId()Optional.
-
-
-
Method Detail
-
getFileMergeMode
public EUploadRequestFileMergeMode 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
public String 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
public Long 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
public static ISendMessageUploadRequestData general()
-
formField
public static ISendMessageUploadRequestData formField(String formFieldName, EUploadRequestFileMergeMode fileMergeMode)
-
formFieldRepetition
public static ISendMessageUploadRequestData formFieldRepetition(String formFieldName, EUploadRequestFileMergeMode fileMergeMode, long repetitionId)
-
-