@Component(value="blDefaultCustomerAddressImportSpecification") public class DefaultCustomerAddressImportSpecification extends ImportSpecification
| Constructor and Description |
|---|
DefaultCustomerAddressImportSpecification() |
| Modifier and Type | Method and Description |
|---|---|
ImportFieldValue |
getKeyField(Map<String,ImportFieldValue> fldValueMap) |
String |
getRowType(Map<String,ImportFieldValue> fldValueMap)
Allow specifications to override to support multiple row types (e.g.
|
void |
init() |
protected void |
initializeFieldConfigMap() |
boolean |
isNewRecord(ImportContext context,
LinkedHashMap<String,ImportFieldValue> fldValueMap)
For many import files, a row represents a record.
|
getDefaultFieldConfigs, getDisplayName, getEntityType, getExampleFileName, getFieldConfigMap, getRequiredHeaders, hasHeaderRow, setDefaultFieldConfigs, setDisplayName, setEntityType, setExampleFileName, setFieldConfigMap, setHasHeaderRowpublic DefaultCustomerAddressImportSpecification()
@PostConstruct public void init()
public String getRowType(Map<String,ImportFieldValue> fldValueMap)
ImportSpecificationgetRowType in class ImportSpecificationpublic boolean isNewRecord(ImportContext context, LinkedHashMap<String,ImportFieldValue> fldValueMap)
ImportSpecificationisNewRecord in class ImportSpecificationpublic ImportFieldValue getKeyField(Map<String,ImportFieldValue> fldValueMap) throws ImportException
getKeyField in class ImportSpecificationImportExceptionprotected void initializeFieldConfigMap()
Copyright © 2020. All rights reserved.