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 java.lang.Object implements ReportViewConverterStrategy
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCTX_CONFIG_NAMEstatic java.lang.StringCTX_CURRENT_USERstatic java.lang.StringCTX_REPORT_IDstatic java.lang.StringCTX_ROOT_ITEMstatic java.lang.StringCTX_TEMPLATE
-
Constructor Summary
Constructors Constructor Description AbstractTemplateViewConverterStrategy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract java.util.List<ReportConversionData>convert(java.util.List<ReportView> reports, RendererTemplateModel template, java.util.Map<java.lang.String,java.lang.Object> context)Deprecated, for removal: This API element is subject to removal in a future version.since 1811java.util.List<ReportConversionData>convert(java.util.List<ReportView> reports, java.util.Map<java.lang.String,java.lang.Object> context)Deprecated, for removal: This API element is subject to removal in a future version.since 1811protected java.util.List<ReportConversionData>convert(java.util.stream.Stream<ReportView> reports, RendererTemplateModel template, java.util.Map<java.lang.String,java.lang.Object> context)java.util.List<ReportConversionData>convert(java.util.stream.Stream<ReportView> reports, java.util.Map<java.lang.String,java.lang.Object> context)Converts the given reports to list of generated binary representation of the reports.
-
-
-
Field Detail
-
CTX_CURRENT_USER
public static final java.lang.String CTX_CURRENT_USER
- See Also:
- Constant Field Values
-
CTX_REPORT_ID
public static final java.lang.String CTX_REPORT_ID
- See Also:
- Constant Field Values
-
CTX_CONFIG_NAME
public static final java.lang.String CTX_CONFIG_NAME
- See Also:
- Constant Field Values
-
CTX_ROOT_ITEM
public static final java.lang.String CTX_ROOT_ITEM
- See Also:
- Constant Field Values
-
CTX_TEMPLATE
public static final java.lang.String CTX_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
convert
@Deprecated(since="1811", forRemoval=true) public java.util.List<ReportConversionData> convert(java.util.List<ReportView> reports, java.util.Map<java.lang.String,java.lang.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
public java.util.List<ReportConversionData> convert(java.util.stream.Stream<ReportView> reports, java.util.Map<java.lang.String,java.lang.Object> context)
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 java.util.List<ReportConversionData> convert(java.util.List<ReportView> reports, RendererTemplateModel template, java.util.Map<java.lang.String,java.lang.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 java.util.List<ReportConversionData> convert(java.util.stream.Stream<ReportView> reports, RendererTemplateModel template, java.util.Map<java.lang.String,java.lang.Object> context)
-
-