EntryReportDownloadService
in package
FinalYes
Table of Contents
Properties
- $auditTrail : mixed
- $entryReportRepository : EntryReportRepository
- $fileUtil : FileUtil
- $request : mixed
- $storage : CloudStorageService
- $url : Url
- $zipService : ZipService
Methods
- __construct() : mixed
- EntryReportDownloadService constructor.
- clientDownloadFakeFileByEntryReportId() : void
- clientDownloadHumanFileByEntryReportId() : void
- clientDownloadPaymentFileByEntryReportId() : void
- clientDownloadSubmitFileByEntryReportId() : void
- clientDownloadWorkFileByEntryReportId() : void
- clientDownloadXmlFileByEntryReportId() : void
- clientGetFakeFileByEntryReportId() : mixed
- clientGetWorkFileByEntryReportId() : mixed
- entryReportToReportDownload() : ReportDownload|null
- generateDownloadUrlByEntryReportIdAndFileType() : string
- generateDownloadUrlByReportIdAndFileType() : string
Properties
$auditTrail
private
mixed
$auditTrail
$entryReportRepository
private
EntryReportRepository
$entryReportRepository
$fileUtil
private
FileUtil
$fileUtil
$request
private
mixed
$request
$storage
private
CloudStorageService
$storage
$url
private
Url
$url
$zipService
private
ZipService
$zipService
Methods
__construct()
EntryReportDownloadService constructor.
public
__construct(EntryReportRepository $entryReportRepository, FileUtil $fileUtil, CloudStorageService $storage, Url $url, AuditTrailComponent $auditTrail, Request $request, ZipService $zipService) : mixed
Parameters
- $entryReportRepository : EntryReportRepository
- $fileUtil : FileUtil
- $storage : CloudStorageService
- $url : Url
- $auditTrail : AuditTrailComponent
- $request : Request
- $zipService : ZipService
clientDownloadFakeFileByEntryReportId()
public
clientDownloadFakeFileByEntryReportId(int $entryReportId) : void
Parameters
- $entryReportId : int
Tags
clientDownloadHumanFileByEntryReportId()
public
clientDownloadHumanFileByEntryReportId(int $entryReportId) : void
Parameters
- $entryReportId : int
Tags
clientDownloadPaymentFileByEntryReportId()
public
clientDownloadPaymentFileByEntryReportId(int $entryReportId) : void
Parameters
- $entryReportId : int
Tags
clientDownloadSubmitFileByEntryReportId()
public
clientDownloadSubmitFileByEntryReportId(int $entryReportId) : void
Parameters
- $entryReportId : int
Tags
clientDownloadWorkFileByEntryReportId()
public
clientDownloadWorkFileByEntryReportId(int $entryReportId) : void
Parameters
- $entryReportId : int
Tags
clientDownloadXmlFileByEntryReportId()
public
clientDownloadXmlFileByEntryReportId(int $entryReportId) : void
Parameters
- $entryReportId : int
Tags
clientGetFakeFileByEntryReportId()
public
clientGetFakeFileByEntryReportId(int $entryReportId) : mixed
Parameters
- $entryReportId : int
Tags
clientGetWorkFileByEntryReportId()
public
clientGetWorkFileByEntryReportId(int $entryReportId) : mixed
Parameters
- $entryReportId : int
Tags
entryReportToReportDownload()
public
entryReportToReportDownload(EntryReport|null $entryReport) : ReportDownload|null
Parameters
- $entryReport : EntryReport|null
Return values
ReportDownload|nullgenerateDownloadUrlByEntryReportIdAndFileType()
public
generateDownloadUrlByEntryReportIdAndFileType(int $entryReportId, string $fileType) : string
Parameters
- $entryReportId : int
- $fileType : string
Return values
stringgenerateDownloadUrlByReportIdAndFileType()
public
generateDownloadUrlByReportIdAndFileType(int $entryReportId, string $fileType) : string
Parameters
- $entryReportId : int
- $fileType : string