public class ReportService extends AbstractService
AbstractService.OutputStreamResponseExtractor| Modifier and Type | Field and Description |
|---|---|
static String |
EXPORTING_URI |
mapper, restTemplate, WAIT_BEFORE_RETRY_IN_MILLIS| Constructor and Description |
|---|
ReportService(org.springframework.web.client.RestTemplate restTemplate) |
| Modifier and Type | Method and Description |
|---|---|
FutureResult<Void> |
exportReport(ReportDefinition reportDefinition,
ReportExportFormat format,
OutputStream output)
Export the given report definition in the given format to the given output strream
|
FutureResult<Void> |
exportReport(Report report,
ReportExportFormat format,
OutputStream output)
Export the given report in the given format to the given output strream
|
extractDatapublic static final String EXPORTING_URI
public ReportService(org.springframework.web.client.RestTemplate restTemplate)
public FutureResult<Void> exportReport(ReportDefinition reportDefinition, ReportExportFormat format, OutputStream output)
reportDefinition - report definitionformat - export formatoutput - targetNoDataReportException - in case report contains no dataReportException - on errorpublic FutureResult<Void> exportReport(Report report, ReportExportFormat format, OutputStream output)
report - reportformat - export formatoutput - targetNoDataReportException - in case report contains no dataReportException - on errorCopyright © 2017. All Rights Reserved.