Exemplo n.º 1
0
 protected function updatedBulkDownload(BatchJob $dbBatchJob, kBulkDownloadJobData $data)
 {
     switch ($dbBatchJob->getStatus()) {
         case BatchJob::BATCHJOB_STATUS_PENDING:
             return kFlowHelper::handleBulkDownloadPending($dbBatchJob, $data);
         case BatchJob::BATCHJOB_STATUS_FINISHED:
             return kFlowHelper::handleBulkDownloadFinished($dbBatchJob, $data);
         default:
             return $dbBatchJob;
     }
 }