ReportDownloadService
in package
FinalYes
Table of Contents
Properties
- $auditTrail : mixed
- $fileUtil : FileUtil
- $reportProgressStatusCodeConverter : ReportProgressStatusCodeConverter
- $reportRepository : ReportRepository
- $storage : CloudStorageService
- $url : Url
Methods
- __construct() : mixed
- ReportDownloadService constructor.
- clientDownloadFakeFileByReportId() : void
- clientDownloadHumanFileByReportId() : void
- clientDownloadWorkFileByReportId() : void
- clientDownloadXmlFileByReportId() : void
- reportToReportDownload() : ReportDownload|null
- generateDownloadUrlByReportIdAndFileType() : string
Properties
$auditTrail
private
mixed
$auditTrail
$fileUtil
private
FileUtil
$fileUtil
$reportProgressStatusCodeConverter
private
ReportProgressStatusCodeConverter
$reportProgressStatusCodeConverter
$reportRepository
private
ReportRepository
$reportRepository
$storage
private
CloudStorageService
$storage
$url
private
Url
$url
Methods
__construct()
ReportDownloadService constructor.
public
__construct(ReportProgressStatusCodeConverter $reportProgressStatusCodeConverter, ReportRepository $reportRepository, FileUtil $fileUtil, CloudStorageService $storage, Url $url, AuditTrailComponent $auditTrail) : mixed
Parameters
- $reportProgressStatusCodeConverter : ReportProgressStatusCodeConverter
- $reportRepository : ReportRepository
- $fileUtil : FileUtil
- $storage : CloudStorageService
- $url : Url
- $auditTrail : AuditTrailComponent
clientDownloadFakeFileByReportId()
public
clientDownloadFakeFileByReportId(int $reportId) : void
Parameters
- $reportId : int
Tags
clientDownloadHumanFileByReportId()
public
clientDownloadHumanFileByReportId(int $reportId) : void
Parameters
- $reportId : int
Tags
clientDownloadWorkFileByReportId()
public
clientDownloadWorkFileByReportId(int $reportId) : void
Parameters
- $reportId : int
Tags
clientDownloadXmlFileByReportId()
public
clientDownloadXmlFileByReportId(int $reportId) : void
Parameters
- $reportId : int
Tags
reportToReportDownload()
public
reportToReportDownload(Report|null $report) : ReportDownload|null
Parameters
- $report : Report|null
Return values
ReportDownload|nullgenerateDownloadUrlByReportIdAndFileType()
private
generateDownloadUrlByReportIdAndFileType(int $reportId, string $fileType) : string
Parameters
- $reportId : int
- $fileType : string