Interface JobService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getJobError​(java.lang.String jobId)
      Get the error message of an asynchronous job
      javax.activation.DataHandler getJobResult​(java.lang.String jobId)
      Get archive file if the asynchronous archive job is done
      com.flower.docs.domain.job.FlowerJobStatus getJobStatus​(java.lang.String jobId)
      Get the status of an asynchronous job
    • Method Detail

      • getJobStatus

        com.flower.docs.domain.job.FlowerJobStatus getJobStatus​(java.lang.String jobId)
        Get the status of an asynchronous job
        Parameters:
        jobId - The identifier of a job
      • getJobError

        java.lang.String getJobError​(java.lang.String jobId)
        Get the error message of an asynchronous job
        Parameters:
        jobId - The identifier of a job
      • getJobResult

        javax.activation.DataHandler getJobResult​(java.lang.String jobId)
                                           throws com.flower.docs.domain.exception.FunctionalException,
                                                  com.flower.docs.domain.exception.TechnicalException
        Get archive file if the asynchronous archive job is done
        Parameters:
        jobId - The identifier of a job
        Throws:
        com.flower.docs.domain.exception.FunctionalException - If a functional error occurred
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurred