Class UploadFinalizer
java.lang.Object
com.technia.dsx.threedspace.doc.file.UploadFinalizer
- All Implemented Interfaces:
Finalizer
Finalizer implementation that completes the file checkin process.
After file data is uploaded, this finalizer updates the document with the new file information, handling both new file creation and file revision scenarios.
- Since:
- 2022-06-14
-
Constructor Summary
ConstructorsConstructorDescriptionUploadFinalizer(DocumentService service, com.technia.dsx.common.TenantSession session, String documentId, String fileName, String fileId, boolean isNew, String checkinComment, boolean keepLocked) -
Method Summary
-
Constructor Details
-
UploadFinalizer
public UploadFinalizer(DocumentService service, com.technia.dsx.common.TenantSession session, String documentId, String fileName, String fileId, boolean isNew, String checkinComment, boolean keepLocked)
-
-
Method Details
-
getResult
-
run
- Specified by:
runin interfaceFinalizer- Parameters:
receipt- The receipt that was retrieved from the server, if any. If the server returns a receipt it should be used to complete the transfer.- Throws:
IOException- If the transfer should fail.
-