Skip to content
Corex

SubmissionExportHistory

Corex\Config\Submissions\SubmissionExportHistory · class · Config layer

The exports made before: what each was, handing one back, and deleting one (spec 103, US9). A person sees their own exports, and every export when they may manage all submissions. What can be listed can be downloaded and deleted, and nothing else can.

__construct(SubmissionExportStore $exports, SubmissionExportRetention $retention, SubmissionOwnerNames $owners, ActivityService $activity)

Section titled “__construct(SubmissionExportStore $exports, SubmissionExportRetention $retention, SubmissionOwnerNames $owners, ActivityService $activity)”

entries(SubmissionAccessScope $scope, int $limit): array

Section titled “entries(SubmissionAccessScope $scope, int $limit): array”

download(SubmissionAccessScope $scope, int $runId): array

Section titled “download(SubmissionAccessScope $scope, int $runId): array”

A finished export, for the person who made it or one who may manage every submission.

delete(SubmissionAccessScope $scope, int $runId): void

Section titled “delete(SubmissionAccessScope $scope, int $runId): void”

Removes an export’s file and keeps its entry, which then says who deleted it.