Class AbstractTemplateViewConverterStrategy
java.lang.Object
de.hybris.platform.auditreport.service.impl.AbstractTemplateViewConverterStrategy
- All Implemented Interfaces:
ReportViewConverterStrategy
- Direct Known Subclasses:
DefaultReportViewConverterStrategy
public abstract class AbstractTemplateViewConverterStrategy
extends Object
implements ReportViewConverterStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<ReportConversionData>convert(List<ReportView> reports, RendererTemplateModel template, Map<String, Object> context) Deprecated, for removal: This API element is subject to removal in a future version.since 1811Deprecated, for removal: This API element is subject to removal in a future version.since 1811protected List<ReportConversionData>convert(Stream<ReportView> reports, RendererTemplateModel template, Map<String, Object> context) Converts the given reports to list of generated binary representation of the reports.
-
Field Details
-
CTX_CURRENT_USER
- See Also:
-
CTX_REPORT_ID
- See Also:
-
CTX_CONFIG_NAME
- See Also:
-
CTX_ROOT_ITEM
- See Also:
-
CTX_TEMPLATE
- See Also:
-
-
Constructor Details
-
AbstractTemplateViewConverterStrategy
public AbstractTemplateViewConverterStrategy()
-
-
Method Details
-
convert
@Deprecated(since="1811", forRemoval=true) public 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 1811Description copied from interface:ReportViewConverterStrategyConverts the given reports to list of generated binary representation of the reports.- Specified by:
convertin interfaceReportViewConverterStrategy- 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
Description copied from interface:ReportViewConverterStrategyConverts the given reports to list of generated binary representation of the reports.- Specified by:
convertin interfaceReportViewConverterStrategy- 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
@Deprecated(since="1811", forRemoval=true) protected abstract List<ReportConversionData> convert(List<ReportView> reports, RendererTemplateModel template, Map<String, Object> context) Deprecated, for removal: This API element is subject to removal in a future version.since 1811Caution: as this method will be removedconvert(java.util.stream.Stream, de.hybris.platform.commons.model.renderer.RendererTemplateModel, java.util.Map)will become abstract. -
convert
protected List<ReportConversionData> convert(Stream<ReportView> reports, RendererTemplateModel template, Map<String, Object> context)
-