Package com.ibm.di.connector.maximo.core
Class MxConnSync
- java.lang.Object
-
- com.ibm.di.connector.maximo.core.AbstractMxConnMode
-
- com.ibm.di.connector.maximo.core.MxConnSync
-
public final class MxConnSync extends AbstractMxConnMode
Connector support for AddOnly, Update and Delete mode. Used only by theTpaeIFConnector
.- 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
Constructors Constructor Description MxConnSync(MxConnConfiguration cfg, Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sync(Entry newEntry, Entry oldEntry)
Syncronizes thenewEntry
with the target system.-
Methods inherited from class com.ibm.di.connector.maximo.core.AbstractMxConnMode
getCfg, post, setCreation, setMessageId
-
-
-
-
Constructor Detail
-
MxConnSync
public MxConnSync(MxConnConfiguration cfg, Log log)
-
-
Method Detail
-
sync
public void sync(Entry newEntry, Entry oldEntry) throws MxConnectorException
Syncronizes thenewEntry
with the target system. This function handles both create, update and delete operations.- Parameters:
newEntry
- entry to be added, updated or deletedoldEntry
- old version of the entry when updating- Throws:
MxConnectorException
- if the entry to be updated does not comply with the XML schema descriptorMxConnectorException
- if any sort of communication problem occurs- See Also:
MxConnConfiguration.checkUpdate()
-
-