DataExportRun
Corex\Config\DataModels\DataExportRun · class · Config layer
One export: who asked, which models and columns, in which format, how far it got, and what became of its file. A run holds a part for each model (spec 109, slice 2). A run of one part is the export a person makes from one model, with its scope: ticked rows, the filters in force, or everything. A run of several takes every record of each. A run stored before runs had parts is read as a run of one part.
Public API
Section titled “Public API”from(array $payload): self
Section titled “from(array $payload): self”queued(DataExportRequest $request, int $recordCount, array $personalDataClasses): self
Section titled “queued(DataExportRequest $request, int $recordCount, array $personalDataClasses): self”queuedSeveral(DataExportSetRequest $request, array $parts): self
Section titled “queuedSeveral(DataExportSetRequest $request, array $parts): self”withId(int $id): self
Section titled “withId(int $id): self”withJob(int $jobId): self
Section titled “withJob(int $jobId): self”completed(int $rows): self
Section titled “completed(int $rows): self”withFileOf(int $bytes): self
Section titled “withFileOf(int $bytes): self”withoutFile(string $reason, int $actorId, DateTimeImmutable $at): self
Section titled “withoutFile(string $reason, int $actorId, DateTimeImmutable $at): self”leavingOut(string $sourceKey): self
Section titled “leavingOut(string $sourceKey): self”The run with one model marked as not read: it could not be, when its turn came.
isSeveral(): bool
Section titled “isSeveral(): bool”holds(string $sourceKey): bool
Section titled “holds(string $sourceKey): bool”Whether the run covers this model, a model that was left out among them.