org.apache.jackrabbit.command.core
Class Rename

java.lang.Object
  extended byorg.apache.jackrabbit.command.core.Rename
All Implemented Interfaces:
org.apache.commons.chain.Command

public class Rename
extends Object
implements org.apache.commons.chain.Command

Rename a Node


Constructor Summary
Rename()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getDestPathKey()
           
 String getSrcPathKey()
           
 void setDestPathKey(String destPathKey)
           
 void setSrcPathKey(String srcPathKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rename

public Rename()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
Exception

getDestPathKey

public String getDestPathKey()
Returns:
the destination path key

setDestPathKey

public void setDestPathKey(String destPathKey)
Parameters:
destPathKey - the destination path key to set

getSrcPathKey

public String getSrcPathKey()
Returns:
the source path key

setSrcPathKey

public void setSrcPathKey(String srcPathKey)
Parameters:
srcPathKey - the source path key to set


Copyright © 2005 . All Rights Reserved.