public class PurchaseImportPlugin extends java.lang.Object implements ImportPluginProcessLine, ImportPluginBaseData
Constructor and Description |
---|
PurchaseImportPlugin() |
Modifier and Type | Method and Description |
---|---|
DBObject |
getBaseData(Importer importer,
MutableDataSource ds,
java.util.ArrayList fldList,
java.util.ArrayList fieldValues)
getBaseData returns the base object for the importer base class
The importer will then update that returned target record with the
values supplied in the fieldValues vector
|
void |
postProcessLine(Importer importer,
DBObject baseData,
MutableDataSource ds,
java.util.ArrayList pathList,
java.util.Map<java.lang.String,java.util.ArrayList> fieldMaps,
java.util.ArrayList fieldValues,
ValidationList vl)
postProcessLine is called after the base data has been retrieved and all objects have been updated
|
void |
preProcessLine(Importer importer,
MutableDataSource ds,
java.util.ArrayList pathList,
java.util.Map<java.lang.String,java.util.ArrayList> fieldMaps,
java.util.ArrayList fieldValues,
ValidationList vl)
preProcessLine is called after the field values have been read from the
input source and before the values are processed
|
public DBObject getBaseData(Importer importer, MutableDataSource ds, java.util.ArrayList fldList, java.util.ArrayList fieldValues) throws java.lang.Exception
ImportPluginBaseData
getBaseData
in interface ImportPluginBaseData
importer
- importerds
- the mutable data sourcefldList
- fldListfieldValues
- fieldValuesjava.lang.Exception
- Exception A serious problempublic void preProcessLine(Importer importer, MutableDataSource ds, java.util.ArrayList pathList, java.util.Map<java.lang.String,java.util.ArrayList> fieldMaps, java.util.ArrayList fieldValues, ValidationList vl) throws java.lang.Exception
ImportPluginProcessLine
preProcessLine
in interface ImportPluginProcessLine
ds
- the data sourcejava.lang.Exception
- a serious problempublic void postProcessLine(Importer importer, DBObject baseData, MutableDataSource ds, java.util.ArrayList pathList, java.util.Map<java.lang.String,java.util.ArrayList> fieldMaps, java.util.ArrayList fieldValues, ValidationList vl) throws java.lang.Exception
ImportPluginProcessLine
postProcessLine
in interface ImportPluginProcessLine
ds
- the data sourcejava.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.