public interface ExportUpdatePlugin
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTransGroupCode(ExporterWithUpdate exporter,
java.lang.String cd)
This method is called to retrieve the code that will be used on the
transaction group record which will group together all transactions for
this process
If an null or empty code is returned then it is assumed that no
transaction group will be created
|
void |
postSave(ExporterWithUpdate exporter,
MutableDataSource mds,
long transId)
This method is called after changes have been applied
|
void |
preSave(ExporterWithUpdate exporter,
MutableDataSource mds)
This method is called to allow final changes before datasource is saved.
|
void |
preUpdate(ExporterWithUpdate exporter,
MutableDataSource mds,
DBObject mdbObj,
java.util.Map fldMap)
This method is called before the current dbobject is updated with the
list of changes provided in the fldMap
Entries can be added or removed from the fldMap which will then be applied
by the exporter
Changes can also be made directly to the mdbObj supplied
|
void preSave(ExporterWithUpdate exporter, MutableDataSource mds) throws java.lang.Exception
exporter
- - current exporter that called this methodmds
- - Current mutable data source containing changes for current batchjava.lang.Exception
- - Exceptionvoid postSave(ExporterWithUpdate exporter, MutableDataSource mds, long transId) throws java.lang.Exception
transId
- transaction id returned from save of datasourceexporter
- - current exporter that called this methodmds
- - Current mutable data source containing changes for current batchjava.lang.Exception
- - Exceptionvoid preUpdate(ExporterWithUpdate exporter, MutableDataSource mds, DBObject mdbObj, @Nonnull java.util.Map fldMap) throws java.lang.Exception
exporter
- - current exporter that called this methodmds
- - Current mutable data source containing changes for current batchmdbObj
- - A mutable version of the current dbobjectfldMap
- - Hashtable of Path/Value pairsjava.lang.Exception
- - Exceptionjava.lang.String getTransGroupCode(ExporterWithUpdate exporter, java.lang.String cd)
exporter
- - current exporter that called this methodcd
- - Default codestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.