SubmissionExportStore
Corex\Config\Submissions\SubmissionExportStore · interface · Config layer
Public API
Section titled “Public API”create(SubmissionExportRun $run): SubmissionExportRun
Section titled “create(SubmissionExportRun $run): SubmissionExportRun”attachJob(int $runId, int $jobId): SubmissionExportRun
Section titled “attachJob(int $runId, int $jobId): SubmissionExportRun”find(int $runId): ?SubmissionExportRun
Section titled “find(int $runId): ?SubmissionExportRun”findByHash(string $inputHash): ?SubmissionExportRun
Section titled “findByHash(string $inputHash): ?SubmissionExportRun”history(SubmissionAccessScope $scope, int $limit): array
Section titled “history(SubmissionAccessScope $scope, int $limit): array”saveFile(int $runId, array $file, int $recordCount): void
Section titled “saveFile(int $runId, array $file, int $recordCount): void”Records where a finished export’s file is.
file(int $runId): ?array
Section titled “file(int $runId): ?array”removeFile(int $runId, string $reason, int $actorId): SubmissionExportRun
Section titled “removeFile(int $runId, string $reason, int $actorId): SubmissionExportRun”Removes an export’s file and keeps its entry, which then says why the file went.
holdingFilesBefore(DateTimeImmutable $cutoff, int $limit): array
Section titled “holdingFilesBefore(DateTimeImmutable $cutoff, int $limit): array”artifact(int $runId): ?string
Section titled “artifact(int $runId): ?string”The CSV text of an export made before files were kept on disk (spec 068). Nothing writes one any more; this is how those that exist are still downloaded.