public interface ReportServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
String |
getReportDownloadURL(Long reportJobId,
ExportFormat exportFormat)
Returns the URL at which the report file can be downloaded.
|
String |
getReportDownloadUrlWithOptions(Long reportJobId,
ReportDownloadOptions reportDownloadOptions)
Returns the URL at which the report file can be downloaded,
and allows for customization
of the downloaded report.
|
ReportJob |
getReportJob(Long reportJobId)
Returns the
ReportJob uniquely identified by the given
ID. |
ReportJob |
runReportJob(ReportJob reportJob)
Initiates the execution of a
ReportQuery on the server. |
String getReportDownloadURL(Long reportJobId, ExportFormat exportFormat) throws RemoteException, ApiException
The report will be generated as a gzip archive, containing the report file itself.
reportJobId - the ID of the ReportJobexportFormat - the ExportFormat for the report fileRemoteExceptionApiExceptionString getReportDownloadUrlWithOptions(Long reportJobId, ReportDownloadOptions reportDownloadOptions) throws RemoteException, ApiException
By default, the report will be generated as a gzip archive,
containing the report file itself.
This can be changed by setting ReportDownloadOptions.useGzipCompression
to false.
reportJobId - the ID of the ReportJobreportDownloadOptions - the ReportDownloadOptions for
the requestRemoteExceptionApiExceptionReportJob getReportJob(Long reportJobId) throws RemoteException, ApiException
ReportJob uniquely identified by the given
ID.reportJobId - the Id of the report job which must already existReportJob uniquely identified by the given IDRemoteExceptionApiExceptionReportJob runReportJob(ReportJob reportJob) throws RemoteException, ApiException
ReportQuery on the server.
The following fields are required:
reportJob - the report job to runRemoteExceptionApiExceptionCopyright © 2014. All Rights Reserved.