Class CustomerNameDecorator
java.lang.Object
de.hybris.platform.impex.jalo.header.AbstractImpExCSVCellDecorator
de.hybris.platform.acceleratorservices.dataimport.batch.decorator.CustomerNameDecorator
- All Implemented Interfaces:
CSVCellDecorator
Decorator which fill name of customer in case it is blank. Name for customer is taken from email address. It assume
that email address is in the column previous to customer name column
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.impex.jalo.header.AbstractImpExCSVCellDecorator
getColumnDescriptor, init
-
Constructor Details
-
CustomerNameDecorator
public CustomerNameDecorator()
-
-
Method Details
-
decorate
Description copied from interface:CSVCellDecoratorDecorates and returns the parsed attribute value. The value can be gathered from givensrcLinemap by accessing element with givenpositionkey.- Parameters:
position- element key for given map where the parsed value to decorate is locatedsrcLine- map containing whole parsed value line- Returns:
- decorated attribute value
-