Class JasperReportExporter
java.lang.Object
de.hybris.platform.cockpit.reports.jasperreports.JasperReportExporter
Deprecated.
- Spring Bean ID:
- jasperReportPdfExporter, jasperReportXlsExporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]export(JasperWidgetPreferencesModel configuration) Deprecated.as of release 4.3, please useJasperReportExportService.exportToExcel(JasperPrint)JasperReportExportService.exportToPdf(JasperPrint)JasperReportExportService.exportToImage(JasperPrint)Exports report from specific configuration.voidsetExporter(net.sf.jasperreports.engine.JRAbstractExporter exporter) Deprecated.voidsetJasperReportCompiler(JasperReportCompiler jasperReportCompiler) Deprecated.voidsetJasperReportsCache(JasperReportsCache jasperReportsCache) Deprecated.
-
Constructor Details
-
JasperReportExporter
public JasperReportExporter()Deprecated.
-
-
Method Details
-
export
Deprecated.as of release 4.3, please useJasperReportExportService.exportToExcel(JasperPrint)JasperReportExportService.exportToPdf(JasperPrint)JasperReportExportService.exportToImage(JasperPrint)Exports report from specific configuration. Uses exporter for it.- Parameters:
configuration- from which report is exported- Returns:
- binary report
-
setJasperReportsCache
Deprecated.- Parameters:
jasperReportsCache- the jasperReportsCache to set
-
setJasperReportCompiler
Deprecated.- Parameters:
jasperReportCompiler- the jasperReportCompiler to set
-
setExporter
public void setExporter(net.sf.jasperreports.engine.JRAbstractExporter exporter) Deprecated.- Parameters:
exporter- the exporter to set
-
JasperReportExportServiceExporter for several types of formats. Format is specified by exporter property.