Class MetadataJasperPdfExportHooker
java.lang.Object
net.datenwerke.rs.incubator.service.exportmetadata.hookers.MetadataJasperPdfExportHooker
- All Implemented Interfaces:
Hook,JasperExportHook
This is a ExportCallback used to set information metadata in supported file
formats. Currently the only supported one is PDF.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterExport(String type, JRExporter exporter, JasperReport report, CompiledRSJasperReport compiledReport, User user) Nothing to do after an export.voidbeforeExport(String type, JRExporter exporter, JasperReport report, User user) Sets the three configurable metadata fields for PDF files.Provides a list of supported export formats.
-
Constructor Details
-
MetadataJasperPdfExportHooker
-
-
Method Details
-
beforeExport
Sets the three configurable metadata fields for PDF files.- Specified by:
beforeExportin interfaceJasperExportHook- Parameters:
type- The type of the exporter.exporter- The JRExporter to operate on.
-
getFormats
Description copied from interface:JasperExportHookProvides a list of supported export formats.- Specified by:
getFormatsin interfaceJasperExportHook- Returns:
- A string array with each element holding one supported export format.
-
afterExport
public void afterExport(String type, JRExporter exporter, JasperReport report, CompiledRSJasperReport compiledReport, User user) Nothing to do after an export.- Specified by:
afterExportin interfaceJasperExportHook- Parameters:
type- The type of the exporter.exporter- The JRExporter to operate on.
-