Class AbstractJobController

    • Constructor Detail

      • AbstractJobController

        public AbstractJobController​(CpfDataAccessObject dataAccessObject)
    • Method Detail

      • getFileContentType

        protected abstract String getFileContentType​(org.jeometry.common.data.identifier.Identifier jobId,
                                                     String path,
                                                     int sequenceNumber)
      • getFileSize

        protected abstract long getFileSize​(org.jeometry.common.data.identifier.Identifier jobId,
                                            String path,
                                            int sequenceNumber)
      • getFileStream

        protected abstract InputStream getFileStream​(org.jeometry.common.data.identifier.Identifier jobId,
                                                     String path,
                                                     int sequenceNumber)
      • getFileStream

        protected abstract InputStream getFileStream​(org.jeometry.common.data.identifier.Identifier jobId,
                                                     String path,
                                                     int sequenceNumber,
                                                     long fromIndex,
                                                     long toIndex)
      • getGroupErrorReader

        public com.revolsys.io.map.MapReader getGroupErrorReader​(org.jeometry.common.data.identifier.Identifier jobId,
                                                                 int sequenceNumber)
        Specified by:
        getGroupErrorReader in interface JobController
      • getGroupInputContentType

        public String getGroupInputContentType​(org.jeometry.common.data.identifier.Identifier batchJobId,
                                               int sequenceNumber)
        Specified by:
        getGroupInputContentType in interface JobController
      • getGroupInputString

        public String getGroupInputString​(org.jeometry.common.data.identifier.Identifier jobId,
                                          int sequenceNumber)
        Specified by:
        getGroupInputString in interface JobController
      • getGroupResultReader

        public com.revolsys.io.map.MapReader getGroupResultReader​(org.jeometry.common.data.identifier.Identifier jobId,
                                                                  int sequenceNumber)
        Specified by:
        getGroupResultReader in interface JobController
      • getJobResultSize

        public long getJobResultSize​(org.jeometry.common.data.identifier.Identifier jobId,
                                     int sequenceNumber)
        Specified by:
        getJobResultSize in interface JobController
      • getJobResultStream

        public InputStream getJobResultStream​(org.jeometry.common.data.identifier.Identifier jobId,
                                              int sequenceNumber,
                                              long fromIndex,
                                              long toIndex)
        Specified by:
        getJobResultStream in interface JobController
      • setGroupError

        public void setGroupError​(org.jeometry.common.data.identifier.Identifier jobId,
                                  int sequenceNumber,
                                  Object data)
        Specified by:
        setGroupError in interface JobController
      • setGroupInput

        public void setGroupInput​(org.jeometry.common.data.identifier.Identifier jobId,
                                  int sequenceNumber,
                                  String contentType,
                                  Object data)
        Specified by:
        setGroupInput in interface JobController
      • setGroupResult

        public void setGroupResult​(org.jeometry.common.data.identifier.Identifier jobId,
                                   int sequenceNumber,
                                   InputStream in)
        Specified by:
        setGroupResult in interface JobController
      • setJobResult

        public void setJobResult​(org.jeometry.common.data.identifier.Identifier jobId,
                                 int sequenceNumber,
                                 String contentType,
                                 Object data)
        Specified by:
        setJobResult in interface JobController
      • writeFile

        public void writeFile​(javax.servlet.http.HttpServletResponse response,
                              org.jeometry.common.data.identifier.Identifier jobId,
                              String path,
                              int sequenceNumber)
                       throws IOException
        Specified by:
        writeFile in interface JobController
        Throws:
        IOException