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. |
SavedQueryPage |
getSavedQueriesByStatement(Statement filterStatement)
Retrieves a page of the saved queries either created by or
shared with the current user.
|
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.RemoteExceptionApiExceptionSavedQueryPage getSavedQueriesByStatement(Statement filterStatement) throws RemoteException, ApiException
SavedQuery in the page, if it is compatible with the
current API version, will
contain a ReportQuery object which can be optionally
modified and used to create a
ReportJob. This can then be passed to ReportService#runReportJob.
The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
id |
SavedQuery.id |
name |
SavedQuery.name |
filterStatement - a Publisher Query Language statement used to
filter which saved queries
should be returned.SavedQueryPage that contains all SavedQuery
instances which satisfy
the given statement.RemoteExceptionApiExceptionReportJob runReportJob(ReportJob reportJob) throws RemoteException, ApiException
ReportQuery on the server.
The following fields are required:
reportJob - the report job to runRemoteExceptionApiExceptionCopyright © 2019. All rights reserved.