com.ibm.di.connector.maximo.core
Class MxConnDelete

java.lang.Object
  extended by com.ibm.di.connector.maximo.core.AbstractMxConnMode
      extended by com.ibm.di.connector.maximo.core.MxConnDelete

public final class MxConnDelete
extends AbstractMxConnMode

Connector support for Delete 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
MxConnDelete(MxConnConfiguration cfg, Log log)
          Constructs a MxConnDelete.
MxConnDelete(MxConnConfiguration cfg, Log log, boolean isHierEntriesUsed)
          Constructs a MxConnDelete.
 
Method Summary
 void delete(Entry entry)
          Deletes 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

MxConnDelete

public MxConnDelete(MxConnConfiguration cfg,
                    Log log)
Constructs a MxConnDelete.

Parameters:
cfg - the connector configuration object
log - logger of the connector

MxConnDelete

public MxConnDelete(MxConnConfiguration cfg,
                    Log log,
                    boolean isHierEntriesUsed)
Constructs a MxConnDelete.

Parameters:
cfg - the connector configuration object
log - logger of the connector
isHierEntriesUsed - if true hierarchical entries will be used
Method Detail

delete

public void delete(Entry entry)
            throws MxConnectorException
Deletes the specified entry.

Parameters:
entry - entry to be deleted
Throws:
MxConnectorException - if any of the required parameters (delete enterprise service and update enterprise service) is missing
MxConnectorException - if the entry to be deleted does not comply with the XML schema descriptor
MxConnectorException - if any sort of communication problem occurs
See Also:
MxConnConfiguration.checkDelete()