PdfCsvExporter¶
-
public class
PdfCsvExporter
extends AbstractMdsExporter¶ A class exporting CSV-like tables in PDF format.
Methods¶
exportPdf¶
-
public long
exportPdf
(long entityId, OutputStream outputStream)¶ Exports entity instances to a PDF file.
Parameters: - entityId – id of the entity for which the instances will be exported
- outputStream – the output stream that will be used for writing the file
Returns: number of exported instances
exportPdf¶
-
public long
exportPdf
(String entityClassName, OutputStream outputStream)¶ Exports entity instances to a PDF file.
Parameters: - entityClassName – the class name of the entity for which instances will be exported
- outputStream – the output stream that will be used for writing the file
Returns: number of exported instances
exportPdf¶
-
public long
exportPdf
(long entityId, OutputStream outputStream, CsvExportCustomizer exportCustomizer)¶ Exports entity instances to a PDF file.
Parameters: - entityId – id of the entity for which the instances will be exported
- outputStream – the output stream that will be used for writing the file
- exportCustomizer – the customizer that will be used during export
Returns: number of exported instances
exportPdf¶
-
public long
exportPdf
(String entityClassName, OutputStream outputStream, CsvExportCustomizer exportCustomizer)¶ Exports entity instances to a PDF file.
Parameters: - entityClassName – the class name of the entity for which instances will be exported
- outputStream – the output stream that will be used for writing the file
- exportCustomizer – the customizer that will be used during export
Returns: number of exported instances
exportPdf¶
-
public long
exportPdf
(long entityId, OutputStream outputStream, String lookupName, QueryParams params, List<String> headers, Map<String, Object> lookupFields)¶ Exports entity instances to a PDF file.
Parameters: - entityId – id of the entity for which the instances will be exported
- outputStream – the output stream that will be used for writing the file
- lookupName – the name of lookup
- params – query parameters to be used retrieving instances
- headers – the headers of exported file
- lookupFields – the lookupFields used in the lookup
Returns: number of exported instances
exportPdf¶
-
public long
exportPdf
(String entityClassName, OutputStream outputStream, String lookupName, QueryParams params, List<String> headers, Map<String, Object> lookupFields)¶ Exports entity instances to a PDF file.
Parameters: - entityClassName – the class name of the entity for which instances will be exported
- outputStream – the output stream that will be used for writing the file
- lookupName – the name of lookup
- params – query parameters to be used retrieving instances
- headers – the headers of exported file
- lookupFields – the lookupFields used in the lookup
Returns: number of exported instances
exportPdf¶
-
public long
exportPdf
(long entityId, OutputStream outputStream, String lookupName, QueryParams params, List<String> headers, Map<String, Object> lookupFields, CsvExportCustomizer exportCustomizer)¶ Exports entity instances to a PDF file.
Parameters: - entityId – id of the entity for which the instances will be exported
- outputStream – the output stream that will be used for writing the file
- lookupName – the name of lookup
- params – query parameters to be used retrieving instances
- headers – the headers of exported file
- lookupFields – the lookupFields used in the lookup
- exportCustomizer – the customizer that will be used during export
Returns: number of exported instances
exportPdf¶
-
public long
exportPdf
(String entityClassName, OutputStream outputStream, String lookupName, QueryParams params, List<String> headers, Map<String, Object> lookupFields, CsvExportCustomizer exportCustomizer)¶ Exports entity instances to a PDF file.
Parameters: - entityClassName – the class name of the entity for which instances will be exported
- outputStream – the output stream that will be used for writing the file
- lookupName – the name of lookup
- params – query parameters to be used retrieving instances
- headers – the headers of exported file
- lookupFields – the lookupFields used in the lookup
- exportCustomizer – the customizer that will be used during export
Returns: number of exported instances