Package 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
-
-
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 MxConnUpdate(MxConnConfiguration cfg, Log log)
Constructs aMxConnUpdate
.MxConnUpdate(MxConnConfiguration cfg, Log log, boolean isHierEntriesUsed)
Constructs aMxConnUpdate
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
update(Entry newEntry, Entry oldEntry)
Updates the specified entry.-
Methods inherited from class com.ibm.di.connector.maximo.core.AbstractMxConnMode
getCfg, post, setCreation, setMessageId
-
-
-
-
Constructor Detail
-
MxConnUpdate
public MxConnUpdate(MxConnConfiguration cfg, Log log)
Constructs aMxConnUpdate
.- Parameters:
cfg
- the connector configuration objectlog
- logger of the connector
-
MxConnUpdate
public MxConnUpdate(MxConnConfiguration cfg, Log log, boolean isHierEntriesUsed)
Constructs aMxConnUpdate
.- Parameters:
cfg
- the connector configuration objectlog
- logger of the connectorisHierEntriesUsed
- iftrue
hierarchical entries will be used
-
-
Method Detail
-
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 missingMxConnectorException
- 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()
-
-