Class UploadFinalizer

java.lang.Object
com.technia.dsx.threedspace.doc.file.UploadFinalizer
All Implemented Interfaces:
Finalizer

public class UploadFinalizer extends Object implements 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 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

      public DocumentResult getResult()
    • run

      public void run(String receipt) throws IOException
      Specified by:
      run in interface Finalizer
      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.