Class DefaultExcelExportPreProcessor
- java.lang.Object
-
- com.hybris.backoffice.excel.exporting.DefaultExcelExportPreProcessor
-
- All Implemented Interfaces:
ExcelExportPreProcessor
public class DefaultExcelExportPreProcessor extends java.lang.Object implements ExcelExportPreProcessor
DefaultExcelExportPreProcessorthat uses decorators injected viasetDecorators(List). The decorators are used by order parameter. The results of all decorators are being aggregated meaning the output of a previous decorator will be an input for the next decorator.- See Also:
ExcelExportPreProcessor,Ordered
-
-
Constructor Summary
Constructors Constructor Description DefaultExcelExportPreProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ExcelExportParamsDecorator>getDecorators()ExcelExportParamsprocess(ExcelExportParams excelExportParams)Allows to modify input for exportExcelExportParamsby adding new content or removing it.voidsetDecorators(java.util.List<ExcelExportParamsDecorator> decorators)
-
-
-
Method Detail
-
process
@Nonnull public ExcelExportParams process(@Nonnull ExcelExportParams excelExportParams)
Description copied from interface:ExcelExportPreProcessorAllows to modify input for exportExcelExportParamsby adding new content or removing it.- Specified by:
processin interfaceExcelExportPreProcessor- Parameters:
excelExportParams- - object that will be used at the beginning of export process
-
setDecorators
public void setDecorators(java.util.List<ExcelExportParamsDecorator> decorators)
-
getDecorators
public java.util.List<ExcelExportParamsDecorator> getDecorators()
-
-