Class DefaultRequestUploadData
- java.lang.Object
-
- de.xima.fc.common.form_record.chat.DefaultRequestUploadData
-
- All Implemented Interfaces:
IRequestUploadData
,Serializable
public final class DefaultRequestUploadData extends Object implements IRequestUploadData
POJO implementation ofIRequestUploadData
with a builder.- Since:
- 8.2.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultRequestUploadData.Builder
A builder forIRequestUploadData
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultRequestUploadData.Builder
builder()
EUploadRequestFileMergeMode
fileMergeMode()
How to handle existing files when the user uploads files to fulfill the upload request.String
formFieldName()
Name of an upload form field associated with the upload request.Long
repetitionId()
Optional.
-
-
-
Method Detail
-
builder
public static DefaultRequestUploadData.Builder builder()
-
fileMergeMode
public EUploadRequestFileMergeMode fileMergeMode()
Description copied from interface:IRequestUploadData
How to handle existing files when the user uploads files to fulfill the upload request.- Specified by:
fileMergeMode
in interfaceIRequestUploadData
- Returns:
- How to handle existing files when the upload requests is fulfilled.
-
formFieldName
public String formFieldName()
Description copied from interface:IRequestUploadData
Name 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:
formFieldName
in interfaceIRequestUploadData
- Returns:
- Name of the upload form field.
-
repetitionId
public Long repetitionId()
Description copied from interface:IRequestUploadData
Optional. 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:
repetitionId
in interfaceIRequestUploadData
- Returns:
- ID of the repetition of the upload request.
-
-