org.ldaptive
Class AddOperation

java.lang.Object
  extended by org.ldaptive.AbstractOperation<AddRequest,Void>
      extended by org.ldaptive.AddOperation
All Implemented Interfaces:
Operation<AddRequest,Void>

public class AddOperation
extends AbstractOperation<AddRequest,Void>

Executes an ldap add 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
AddOperation(Connection conn)
          Creates a new add operation.
 
Method Summary
protected  Response<Void> invoke(AddRequest 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

AddOperation

public AddOperation(Connection conn)
Creates a new add operation.

Parameters:
conn - connection
Method Detail

invoke

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

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


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