Class ExternalImportKeyCellDecorator

java.lang.Object
de.hybris.platform.impex.jalo.header.AbstractImpExCSVCellDecorator
de.hybris.platform.impex.jalo.header.ExternalImportKeyCellDecorator
All Implemented Interfaces:
CSVCellDecorator

public class ExternalImportKeyCellDecorator extends AbstractImpExCSVCellDecorator
Replaces given PK with one from ExternalImportKey or ignores column if ExternalImportKey for given PK does not exist.
  • Constructor Details

    • ExternalImportKeyCellDecorator

      public ExternalImportKeyCellDecorator()
  • Method Details

    • decorate

      public String decorate(int position, Map<Integer,String> srcLine)
      Description copied from interface: CSVCellDecorator
      Decorates and returns the parsed attribute value. The value can be gathered from given srcLine map by accessing element with given position key.
      Parameters:
      position - element key for given map where the parsed value to decorate is located
      srcLine - map containing whole parsed value line
      Returns:
      decorated attribute value