org.apache.ldap.server.invocation
Class Move

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

public class Move
extends Invocation

Represents an Invocation on BackingStore.move(Name, Name).

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
Move(javax.naming.Name name, javax.naming.Name newParentName)
           
 
Method Summary
protected  java.lang.Object doExecute(BackingStore store)
          Implement this method to invoke the appropriate operation on the specified store.
 javax.naming.Name getName()
           
 javax.naming.Name getNewParentName()
           
 void setName(javax.naming.Name name)
           
 void setNewParentName(javax.naming.Name newParentName)
           
 
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

Move

public Move(javax.naming.Name name,
            javax.naming.Name newParentName)
Method Detail

getName

public javax.naming.Name getName()

getNewParentName

public javax.naming.Name getNewParentName()

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

setName

public void setName(javax.naming.Name name)

setNewParentName

public void setNewParentName(javax.naming.Name newParentName)