org.opends.dsml.protocol
Class DSMLDeleteOperation

java.lang.Object
  extended by org.opends.dsml.protocol.DSMLDeleteOperation

public class DSMLDeleteOperation
extends java.lang.Object

This class provides the functionality for the performing an LDAP DELETE operation based on the specified DSML request.

Author:
Vivek Nagar

Constructor Summary
DSMLDeleteOperation(LDAPConnection connection)
          Create an instance with the specified LDAP connection.
 
Method Summary
 org.opends.dsml.protocol.LDAPResult doOperation(org.opends.dsml.protocol.ObjectFactory objFactory, org.opends.dsml.protocol.DelRequest deleteRequest)
          Perform the LDAP DELETE operation and send the result back to the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSMLDeleteOperation

public DSMLDeleteOperation(LDAPConnection connection)
Create an instance with the specified LDAP connection.

Parameters:
connection - The LDAP connection to send the request on.
Method Detail

doOperation

public org.opends.dsml.protocol.LDAPResult doOperation(org.opends.dsml.protocol.ObjectFactory objFactory,
                                                       org.opends.dsml.protocol.DelRequest deleteRequest)
                                                throws java.io.IOException,
                                                       LDAPException,
                                                       ASN1Exception
Perform the LDAP DELETE operation and send the result back to the client.

Parameters:
objFactory - The object factory for this operation.
deleteRequest - The delete request for this operation.
Returns:
The result of the delete operation.
Throws:
java.io.IOException - If an I/O problem occurs.
LDAPException - If an error occurs while interacting with an LDAP element.
ASN1Exception - If an error occurs while interacting with an ASN.1 element.