org.apache.ldap.server.invocation
Class Add

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

public class Add
extends Invocation

Represents an Invocation on BackingStore.add(String, Name, Attributes).

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
Add(java.lang.String userProvidedName, javax.naming.Name normalizedName, javax.naming.directory.Attributes attributes)
           
 
Method Summary
protected  java.lang.Object doExecute(BackingStore store)
          Implement this method to invoke the appropriate operation on the specified store.
 javax.naming.directory.Attributes getAttributes()
           
 javax.naming.Name getNormalizedName()
           
 java.lang.String getUserProvidedName()
           
 void setNormalizedName(javax.naming.Name normalizedName)
           
 
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

Add

public Add(java.lang.String userProvidedName,
           javax.naming.Name normalizedName,
           javax.naming.directory.Attributes attributes)
Method Detail

getAttributes

public javax.naming.directory.Attributes getAttributes()

getNormalizedName

public javax.naming.Name getNormalizedName()

setNormalizedName

public void setNormalizedName(javax.naming.Name normalizedName)

getUserProvidedName

public java.lang.String getUserProvidedName()

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


Copyright © 2002-2005 . All Rights Reserved.