org.apache.ldap.server.invocation
Class Search

java.lang.Object
  extended byorg.apache.ldap.server.invocation.Invocation
      extended byorg.apache.ldap.server.invocation.Search
All Implemented Interfaces:
java.io.Serializable

public class Search
extends Invocation

Represents an Invocation on BackingStore.search(Name, Map, ExprNode, SearchControls).

Version:
$Rev: 159467 $, $Date: 2005-03-30 02:38:30 -0500 (Wed, 30 Mar 2005) $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ldap.server.invocation.Invocation
contextStack, returnValue
 
Constructor Summary
Search(javax.naming.Name baseName, java.util.Map environment, org.apache.ldap.common.filter.ExprNode filters, javax.naming.directory.SearchControls controls)
           
 
Method Summary
protected  java.lang.Object doExecute(BackingStore store)
          Implement this method to invoke the appropriate operation on the specified store.
 javax.naming.Name getBaseName()
           
 javax.naming.directory.SearchControls getControls()
           
 java.util.Map getEnvironment()
           
 org.apache.ldap.common.filter.ExprNode getFilter()
           
 void setBaseName(javax.naming.Name baseName)
           
 
Methods inherited from class org.apache.ldap.server.invocation.Invocation
execute, getContextStack, getReturnValue, setContextStack, setReturnValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Search

public Search(javax.naming.Name baseName,
              java.util.Map environment,
              org.apache.ldap.common.filter.ExprNode filters,
              javax.naming.directory.SearchControls controls)
Method Detail

getBaseName

public javax.naming.Name getBaseName()

getEnvironment

public java.util.Map getEnvironment()

getFilter

public org.apache.ldap.common.filter.ExprNode getFilter()

getControls

public javax.naming.directory.SearchControls getControls()

doExecute

protected java.lang.Object doExecute(BackingStore store)
                              throws javax.naming.NamingException
Description copied from class: Invocation
Implement this method to invoke the appropriate operation on the specified store. Returned value will be set as the returnValue proeprty of this invocation.

Specified by:
doExecute in class Invocation
Throws:
javax.naming.NamingException - if the operation failed

setBaseName

public void setBaseName(javax.naming.Name baseName)


Copyright © 2002-2005 . All Rights Reserved.