com.ibm.di.connector.maximo.core
Class MxConnSync

java.lang.Object
  extended by com.ibm.di.connector.maximo.core.AbstractMxConnMode
      extended by com.ibm.di.connector.maximo.core.MxConnSync

public final class MxConnSync
extends AbstractMxConnMode

Connector support for AddOnly, Update and Delete mode. Used only by the TpaeIFConnector.

Since:
7.2
See Also:
AbstractMxConnMode

Field Summary
 
Fields inherited from class com.ibm.di.connector.maximo.core.AbstractMxConnMode
ACTION_ATTR, ACTION_ATTR_PREFIXED, ADD_ACTION, ADDCHANGE_ACTION, CHANGE_ACTION, CHANGED_ATTR, DELETE_ACTION, logger, REPLACE_ACTION
 
Constructor Summary
MxConnSync(MxConnConfiguration cfg, Log log)
           
 
Method Summary
 void sync(Entry newEntry, Entry oldEntry)
          Syncronizes the newEntry with the target system.
 
Methods inherited from class com.ibm.di.connector.maximo.core.AbstractMxConnMode
getCfg, post, setCreation, setMessageId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MxConnSync

public MxConnSync(MxConnConfiguration cfg,
                  Log log)
Method Detail

sync

public void sync(Entry newEntry,
                 Entry oldEntry)
          throws MxConnectorException
Syncronizes the newEntry with the target system. This function handles both create, update and delete operations.

Parameters:
newEntry - entry to be added, updated or deleted
oldEntry - old version of the entry when updating
Throws:
MxConnectorException - if the entry to be updated does not comply with the XML schema descriptor
MxConnectorException - if any sort of communication problem occurs
See Also:
MxConnConfiguration.checkUpdate()