org.ldaptive
Class CompareOperation

java.lang.Object
  extended by org.ldaptive.AbstractOperation<CompareRequest,Boolean>
      extended by org.ldaptive.CompareOperation
All Implemented Interfaces:
Operation<CompareRequest,Boolean>

public class CompareOperation
extends AbstractOperation<CompareRequest,Boolean>

Executes an ldap compare operation.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ldaptive.AbstractOperation
AbstractOperation.ReopenOperationExceptionHandler
 
Field Summary
 
Fields inherited from class org.ldaptive.AbstractOperation
logger
 
Constructor Summary
CompareOperation(Connection conn)
          Creates a new compare operation.
 
Method Summary
protected  Response<Boolean> invoke(CompareRequest request)
          Call the provider specific implementation of this ldap operation.
 
Methods inherited from class org.ldaptive.AbstractOperation
execute, executeHandlers, getConnection, getOperationExceptionHandler, getOperationResponseHandlers, setOperationExceptionHandler, setOperationResponseHandlers, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompareOperation

public CompareOperation(Connection conn)
Creates a new compare operation.

Parameters:
conn - connection
Method Detail

invoke

protected Response<Boolean> invoke(CompareRequest request)
                            throws LdapException
Call the provider specific implementation of this ldap operation.

Specified by:
invoke in class AbstractOperation<CompareRequest,Boolean>
Parameters:
request - ldap request
Returns:
ldap response
Throws:
LdapException - if the invocation fails


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.