Interface ReportViewConverterStrategy
- All Known Implementing Classes:
AbstractTemplateViewConverterStrategy,DefaultReportViewConverterStrategy,JsonReportViewConverterStrategy
public interface ReportViewConverterStrategy
This interface defines API of strategies used to generate binary representation of the report. The binary content is
intended to be saved as a file (PDF, HTML, JSON).
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.since 1811default List<ReportConversionData>Converts the given reports to list of generated binary representation of the reports.
-
Method Details
-
convert
@Deprecated(since="1811", forRemoval=true) List<ReportConversionData> convert(List<ReportView> reports, Map<String, Object> context) Deprecated, for removal: This API element is subject to removal in a future version.since 1811Converts the given reports to list of generated binary representation of the reports.- Parameters:
reports- the list with reports to convert.context- a map used to pass in additional data needed by the strategy.- Returns:
- a list of objects representing the generated files.
-
convert
Converts the given reports to list of generated binary representation of the reports.- Parameters:
reports- the list with reports to convert.context- a map used to pass in additional data needed by the strategy.- Returns:
- a list of objects representing the generated files.
-