Documentation

CronController extends BaseCronController
in package

Class BaseCronController

Table of Contents

Properties

$em  : EntityManager
$l  : Logger
$trans  : Translator|NativeArray
$handler  : HandlerComponent
Cronjob handler.
$modules  : array<string|int, Module>
Api modules.
$start  : float
Cronjob start in microtime.
$entriesWithoutDeadlineService  : EntriesWithoutDeadlineService
$entryDataReceivedService  : EntryDataReceivedService
$entryReportRepository  : EntryReportRepository
$entryReportService  : EntryReportService
$entryRepository  : EntryRepository
$entrySubmissionService  : EntrySubmissionService
$googleCloudStorageComponent  : GoogleCloudStorageComponent
$internalMailingComponent  : InternalMailingComponent
$jobRepository  : JobRepository
$reportMissingInfoProviderService  : ReportMissingInfoProviderService
$submitWithoutNotificationService  : SubmitWithoutNotificationService

Methods

__destruct()  : mixed
Finish cronjob and log the report.
alertNotificationAction()  : mixed
changeTaxDeskPlFileNamesAction()  : mixed
deleteProformaZipsAction()  : mixed
execPrep()  : mixed
extractEcBlockedEntriesAction()  : mixed
generateExportFileWithAllReportMissing()  : mixed
handleAllGbEcBeforeBrexitAction()  : mixed
handleCreateJobForSubmittedEntriesWithFileWithoutSummaryAction()  : mixed
handleCreateSubmissionForEntryIdListAction()  : mixed
handleMakeNewFilesPublicAction()  : mixed
handleMoveVatcomZipsAction()  : mixed
handleRemoveOldVatcomZipsAction()  : mixed
handleUpdateEntriesWithMissingDeadlineAction()  : mixed
handleUpdateJobResultsAction()  : mixed
initialize()  : mixed
Disable view render and start cronjob.
migrateEntrySubmissionsAction()  : mixed
Do not execute migration 20240404080802 because the entity EntryReport will be broken in order to get the values for the required columns.
sendMailWithExportedFile()  : mixed
submitEntriesByIdAction()  : mixed
sumhelp()  : mixed
updateAllEntryDataReceivedAction()  : mixed
updateEntryDataReceivedByUserIdAction()  : mixed
createTemporaryFileLocallyWithContent()  : mixed
deleteFileFromWrongBucket()  : mixed
deleteTemporaryFile()  : mixed
getFileContentFromWrongBucket()  : string|null
getGcsFilePathFromCorrectBucket()  : string
getRemotePath()  : string
uploadFileToCorrectBucket()  : mixed

Properties

Methods

alertNotificationAction()

public alertNotificationAction() : mixed

changeTaxDeskPlFileNamesAction()

public changeTaxDeskPlFileNamesAction() : mixed

deleteProformaZipsAction()

public deleteProformaZipsAction() : mixed

execPrep()

public execPrep(mixed $s, mixed $b, mixed $t) : mixed
Parameters
$s : mixed
$b : mixed
$t : mixed

extractEcBlockedEntriesAction()

public extractEcBlockedEntriesAction() : mixed
Tags
throws
Exception

generateExportFileWithAllReportMissing()

public generateExportFileWithAllReportMissing(mixed $reportMissingList, mixed $endDate) : mixed
Parameters
$reportMissingList : mixed
$endDate : mixed

handleAllGbEcBeforeBrexitAction()

public handleAllGbEcBeforeBrexitAction() : mixed

handleCreateJobForSubmittedEntriesWithFileWithoutSummaryAction()

public handleCreateJobForSubmittedEntriesWithFileWithoutSummaryAction() : mixed

handleCreateSubmissionForEntryIdListAction()

public handleCreateSubmissionForEntryIdListAction(string $entryIdList) : mixed
Parameters
$entryIdList : string

handleMakeNewFilesPublicAction()

public handleMakeNewFilesPublicAction() : mixed

handleMoveVatcomZipsAction()

public handleMoveVatcomZipsAction() : mixed

handleRemoveOldVatcomZipsAction()

public handleRemoveOldVatcomZipsAction() : mixed

handleUpdateEntriesWithMissingDeadlineAction()

public handleUpdateEntriesWithMissingDeadlineAction(string $periodLabel, string $labels) : mixed
Parameters
$periodLabel : string
$labels : string

handleUpdateJobResultsAction()

public handleUpdateJobResultsAction() : mixed
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

initialize()

Disable view render and start cronjob.

public initialize() : mixed

migrateEntrySubmissionsAction()

Do not execute migration 20240404080802 because the entity EntryReport will be broken in order to get the values for the required columns.

public migrateEntrySubmissionsAction() : mixed

sendMailWithExportedFile()

public sendMailWithExportedFile(mixed $content, mixed $filename, mixed $contentType, mixed $endDate) : mixed
Parameters
$content : mixed
$filename : mixed
$contentType : mixed
$endDate : mixed

submitEntriesByIdAction()

public submitEntriesByIdAction(mixed $entryIds) : mixed
Parameters
$entryIds : mixed

updateAllEntryDataReceivedAction()

public updateAllEntryDataReceivedAction() : mixed

updateEntryDataReceivedByUserIdAction()

public updateEntryDataReceivedByUserIdAction(mixed $userId) : mixed
Parameters
$userId : mixed

createTemporaryFileLocallyWithContent()

private createTemporaryFileLocallyWithContent(string $submitProofPath, string|null $fileContent) : mixed
Parameters
$submitProofPath : string
$fileContent : string|null

deleteFileFromWrongBucket()

private deleteFileFromWrongBucket(string $submitProofPath) : mixed
Parameters
$submitProofPath : string

deleteTemporaryFile()

private deleteTemporaryFile(string $localPath) : mixed
Parameters
$localPath : string

getFileContentFromWrongBucket()

private getFileContentFromWrongBucket(string $submitProofPath) : string|null
Parameters
$submitProofPath : string
Return values
string|null

getGcsFilePathFromCorrectBucket()

private getGcsFilePathFromCorrectBucket(string $submitProofPath) : string
Parameters
$submitProofPath : string
Return values
string

getRemotePath()

private getRemotePath(string $submitProofPath, EntryReport $entryReport) : string
Parameters
$submitProofPath : string
$entryReport : EntryReport
Return values
string

uploadFileToCorrectBucket()

private uploadFileToCorrectBucket(string $localPath, string $remotePath) : mixed
Parameters
$localPath : string
$remotePath : string

        
On this page

Search results