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 ofIRequestUploadDatawith a builder.- Since:
- 8.2.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultRequestUploadData.BuilderA builder forIRequestUploadData.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultRequestUploadData.Builderbuilder()EUploadRequestFileMergeModefileMergeMode()How to handle existing files when the user uploads files to fulfill the upload request.StringformFieldName()Name of an upload form field associated with the upload request.LongrepetitionId()Optional.
-
-
-
Method Detail
-
builder
public static DefaultRequestUploadData.Builder builder()
-
fileMergeMode
public EUploadRequestFileMergeMode fileMergeMode()
Description copied from interface:IRequestUploadDataHow to handle existing files when the user uploads files to fulfill the upload request.- Specified by:
fileMergeModein interfaceIRequestUploadData- Returns:
- How to handle existing files when the upload requests is fulfilled.
-
formFieldName
public String formFieldName()
Description copied from interface:IRequestUploadDataName 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:
formFieldNamein interfaceIRequestUploadData- Returns:
- Name of the upload form field.
-
repetitionId
public Long repetitionId()
Description copied from interface:IRequestUploadDataOptional. 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:
repetitionIdin interfaceIRequestUploadData- Returns:
- ID of the repetition of the upload request.
-
-