Skip to content
Corex

DataExportStore

Corex\Config\DataModels\DataExportStore · interface · Config layer

attachJob(int $id, int $jobId): DataExportRun

Section titled “attachJob(int $id, int $jobId): DataExportRun”

history(int $actorId, bool $manageAll, int $limit): array

Section titled “history(int $actorId, bool $manageAll, int $limit): array”

leaveOut(int $id, string $sourceKey): DataExportRun

Section titled “leaveOut(int $id, string $sourceKey): DataExportRun”

Marks one model of a run as not read: it could not be, when its turn came.

Records where a finished export’s file is, and how large it is.

The bytes 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.

removeFile(int $id, string $reason, int $actorId): DataExportRun

Section titled “removeFile(int $id, string $reason, int $actorId): DataExportRun”

Removes a run’s file and keeps its entry, which then says why the file is gone.

holdingFilesBefore(DateTimeImmutable $cutoff, int $limit): array

Section titled “holdingFilesBefore(DateTimeImmutable $cutoff, int $limit): array”

The runs made before a moment that still hold a file, oldest first.