DefaultCsvImportCustomizer

public class DefaultCsvImportCustomizer implements CsvImportCustomizer

This is a basic implementation of org.motechproject.mds.service.CsvImportCustomizer.

Methods

doCreate

public Object doCreate(Object instance, MotechDataService dataService)

doUpdate

public Object doUpdate(Object instance, MotechDataService dataService)

findExistingInstance

public Object findExistingInstance(Map<String, String> row, MotechDataService dataService)

findField

public Field findField(String headerName, List<Field> entityFields)