Class ChainMapper<INPUT,ATTRIBUTE extends ExcelAttribute>

java.lang.Object
com.hybris.backoffice.excel.template.mapper.ChainMapper<INPUT,ATTRIBUTE>
Type Parameters:
INPUT - type of the input value
ATTRIBUTE - type of the output. It has to extend ExcelAttribute
All Implemented Interfaces:
ExcelMapper<INPUT,ATTRIBUTE>, Function<INPUT,Collection<ATTRIBUTE>>

public class ChainMapper<INPUT,ATTRIBUTE extends ExcelAttribute> extends Object implements ExcelMapper<INPUT,ATTRIBUTE>
Allows to chain two ExcelMappers. The result of the first ExcelMapper is then mapped to result of ExcelMapper. You can specify two collection of ExcelFilters - one for first mapping operation and another for second mapping operation. Use setFilters1(Collection) to filter result of mapper1 and setFilters2(Collection) to filter result of mapper2.