@Component(value="blDefaultSkuHeaderMapper") public class DefaultSkuHeaderMapper extends Object implements HeaderNameMapper
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SKU_PREFIX |
protected DynamicEntityDaoProvider |
entityDaoProvider |
protected org.springframework.context.MessageSource |
messageSource |
Constructor and Description |
---|
DefaultSkuHeaderMapper() |
Modifier and Type | Method and Description |
---|---|
String |
transformHeader(String header,
ImportType importType)
Transform the given original header from the CSV file import into the system representation of that header.
|
protected DynamicEntityDaoProvider entityDaoProvider
protected org.springframework.context.MessageSource messageSource
public static final String DEFAULT_SKU_PREFIX
public String transformHeader(String header, ImportType importType)
HeaderNameMapper
transformHeader
in interface HeaderNameMapper
header
- the header parsed directly from the CSV fileimportType
- the type of import that is being performedHeaderNameMapper
Copyright © 2020. All rights reserved.