Package com.ibm.di.connector.maximo.core
Class MxConnAddOnly
- java.lang.Object
-
- com.ibm.di.connector.maximo.core.AbstractMxConnMode
-
- com.ibm.di.connector.maximo.core.MxConnAddOnly
-
public final class MxConnAddOnly extends AbstractMxConnMode
Connector support for AddOnly 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 MxConnAddOnly(MxConnConfiguration cfg, Log log)Constructs aMxConnAddOnly.MxConnAddOnly(MxConnConfiguration cfg, Log log, boolean isHierEntriesUsed)Constructs aMxConnAddOnly.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(Entry newEntry)Creates the specified entry.-
Methods inherited from class com.ibm.di.connector.maximo.core.AbstractMxConnMode
getCfg, post, setCreation, setMessageId
-
-
-
-
Constructor Detail
-
MxConnAddOnly
public MxConnAddOnly(MxConnConfiguration cfg, Log log)
Constructs aMxConnAddOnly.- Parameters:
cfg- the connector configuration objectlog- logger of the connector
-
MxConnAddOnly
public MxConnAddOnly(MxConnConfiguration cfg, Log log, boolean isHierEntriesUsed)
Constructs aMxConnAddOnly.- Parameters:
cfg- the connector configuration objectlog- logger of the connectorisHierEntriesUsed- iftruehierarchical entries will be used
-
-
Method Detail
-
create
public void create(Entry newEntry) throws MxConnectorException
Creates the specified entry.- Parameters:
newEntry- entry to be created- Throws:
MxConnectorException- if any of the required parameters (create enterprise service and update enterprise service) is missingMxConnectorException- if the entry to be created does not comply with the XML schema descriptorMxConnectorException- if any sort of communication problem occurs- See Also:
MxConnConfiguration.checkAddOnly()
-
-