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
Method Summary |
void |
create(Entry newEntry)
Creates the specified entry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MxConnAddOnly
public MxConnAddOnly(MxConnConfiguration cfg,
Log log)
- Constructs a
MxConnAddOnly
.
- Parameters:
cfg
- the connector configuration objectlog
- logger of the connector
MxConnAddOnly
public MxConnAddOnly(MxConnConfiguration cfg,
Log log,
boolean isHierEntriesUsed)
- Constructs a
MxConnAddOnly
.
- Parameters:
cfg
- the connector configuration objectlog
- logger of the connectorisHierEntriesUsed
- if true
hierarchical entries will be used
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 missing
MxConnectorException
- if the entry to be created does not comply with the XML
schema descriptor
MxConnectorException
- if any sort of communication problem occurs- See Also:
MxConnConfiguration.checkAddOnly()