|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.maximo.core.AbstractMxConnMode
com.ibm.di.connector.maximo.core.MxConnUpdate
public final class MxConnUpdate
Connector support for Update mode.
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 | |
---|---|
MxConnUpdate(MxConnConfiguration cfg,
Log log)
Constructs a MxConnUpdate . |
|
MxConnUpdate(MxConnConfiguration cfg,
Log log,
boolean isHierEntriesUsed)
Constructs a MxConnUpdate . |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MxConnUpdate(MxConnConfiguration cfg, Log log)
MxConnUpdate
.
cfg
- the connector configuration objectlog
- logger of the connectorpublic MxConnUpdate(MxConnConfiguration cfg, Log log, boolean isHierEntriesUsed)
MxConnUpdate
.
cfg
- the connector configuration objectlog
- logger of the connectorisHierEntriesUsed
- if true
hierarchical entries will be usedMethod Detail |
---|
public void update(Entry newEntry, Entry oldEntry) throws MxConnectorException
newEntry
- entry to be updatedoldEntry
- old version of the entry to be updated
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 occursMxConnConfiguration.checkUpdate()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |