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.
|
ReportJobStatus |
getReportJobStatus(Long reportJobId)
Returns the
ReportJobStatus of the report job with
the specified 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 requestRemoteExceptionApiExceptionReportJobStatus getReportJobStatus(Long reportJobId) throws RemoteException, ApiException
ReportJobStatus of the report job with
the specified ID.RemoteExceptionApiExceptionReportJob runReportJob(ReportJob reportJob) throws RemoteException, ApiException
ReportQuery on the server.
The following fields are required:
reportJob - the report job to runRemoteExceptionApiExceptionCopyright © 2015. All Rights Reserved.