com.ibm.di.connector.maximo.core
Class MxConnUpdate
java.lang.Object
com.ibm.di.connector.maximo.core.AbstractMxConnMode
com.ibm.di.connector.maximo.core.MxConnUpdate
public final class MxConnUpdate
- extends AbstractMxConnMode
Connector support for Update mode.
- Since:
- 7.1
- See Also:
AbstractMxConnMode
Method Summary |
void |
update(Entry newEntry,
Entry oldEntry)
Updates the specified entry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MxConnUpdate
public MxConnUpdate(MxConnConfiguration cfg,
Log log)
- Constructs a
MxConnUpdate
.
- Parameters:
cfg
- the connector configuration objectlog
- logger of the connector
MxConnUpdate
public MxConnUpdate(MxConnConfiguration cfg,
Log log,
boolean isHierEntriesUsed)
- Constructs a
MxConnUpdate
.
- Parameters:
cfg
- the connector configuration objectlog
- logger of the connectorisHierEntriesUsed
- if true
hierarchical entries will be used
update
public void update(Entry newEntry,
Entry oldEntry)
throws MxConnectorException
- Updates the specified entry.
- Parameters:
newEntry
- entry to be updatedoldEntry
- old version of the entry to be updated
- Throws:
MxConnectorException
- if any of the required parameters (update enterprise service)
is missing
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()