public interface VisionInterface extends CommonInterface
COMPANY, CORPORATE, DELETE_ACTION, INSERT_ACTION, PLANT, UPDATE_ACTION
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNewRecordsWhereConditon(java.lang.String childTableAlias,
java.util.ArrayList<java.lang.String> tablePrimaryKeyIds)
invoke this method to get extra WHERE condition you can use to figure out which records
current synch process tried to send ( including records that failed with errors ) as new to
the Vision CRM system .
|
IntRowRead |
getSettings()
invoke this method to get data from GetCMConnectorConfig Vision CRM method;
all settings will be returned as Strings so application should use getString()
method to get them from IntRowRead and do extra data formatting if necessary
|
void |
initSynchProcess()
call this method once at the beginning of the synch process to clear system table that
keeps track of new records we submit to the Vision CRM system
|
void |
submitNow()
call this method to flush internal buffer by submitting all rows to the target system regardless of whether
row buffer is full or not ( see maxRowsPerCall in enterprise.properties).
|
addRow, addRow, changeLocationToCompany, changeLocationToCorporate, changeLocationToPlant, close, getInterfaceScope, getLastSyncDate, getLocations, setDefaultErrorMessage, setErrorHandler
addChildRS, addRow, addRow
setBoolean, setDate, setDouble, setInteger, setLong, setString
IntRowRead getSettings() throws DEException
DEException
java.lang.String getNewRecordsWhereConditon(java.lang.String childTableAlias, java.util.ArrayList<java.lang.String> tablePrimaryKeyIds)
childTableAlias
- table alias ( if alias is not used pass table name) of the source Costpoint table
that contains child records to the current table we try to synchronizetablePrimaryKeyIds
- ArrayList<String> list of columns from the current table that used as primary keys
to uniquely identify records we tried to send to the Vision CRM system ; they should be passed in the same order
as pkColumns used to get getVisionInterface() interface , we assume that current table and child table have same
common primary column namesvoid initSynchProcess() throws DEException
DEException
void submitNow() throws DEException
DEException