org.opends.dsml.protocol
Class DSMLSearchOperation

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

public class DSMLSearchOperation
extends java.lang.Object

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


Constructor Summary
DSMLSearchOperation(LDAPConnection connection)
          Create the instance with the specified connection.
 
Method Summary
 org.opends.dsml.protocol.SearchResponse doSearch(org.opends.dsml.protocol.ObjectFactory objFactory, org.opends.dsml.protocol.SearchRequest searchRequest)
          Perform the LDAP SEARCH 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

DSMLSearchOperation

public DSMLSearchOperation(LDAPConnection connection)
Create the instance with the specified connection.

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

doSearch

public org.opends.dsml.protocol.SearchResponse doSearch(org.opends.dsml.protocol.ObjectFactory objFactory,
                                                        org.opends.dsml.protocol.SearchRequest searchRequest)
                                                 throws java.io.IOException,
                                                        LDAPException
Perform the LDAP SEARCH operation and send the result back to the client.

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