org.apache.ldap.server.invocation
Class MoveAndModifyRN

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

public class MoveAndModifyRN
extends Invocation

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

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
MoveAndModifyRN(javax.naming.Name name, javax.naming.Name newParentName, java.lang.String newRelativeName, boolean deleteOldName)
           
 
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()
           
 java.lang.String getNewRelativeName()
           
 boolean isDeleteOldName()
           
 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

MoveAndModifyRN

public MoveAndModifyRN(javax.naming.Name name,
                       javax.naming.Name newParentName,
                       java.lang.String newRelativeName,
                       boolean deleteOldName)
Method Detail

getName

public javax.naming.Name getName()

getNewParentName

public javax.naming.Name getNewParentName()

getNewRelativeName

public java.lang.String getNewRelativeName()

isDeleteOldName

public boolean isDeleteOldName()

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)