Class Rename
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.core.Rename
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class Rename extends Object implements org.apache.commons.chain.Command
Rename aNode
The persistent flag indicates whether to use the session or the workspace to perform the move command
-
-
Constructor Summary
Constructors Constructor Description Rename()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getDestPathKey()
String
getPersistentKey()
String
getSrcPathKey()
void
setDestPathKey(String destPathKey)
void
setPersistentKey(String persistentKey)
void
setSrcPathKey(String srcPathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in interfaceorg.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
-
getPersistentKey
public String getPersistentKey()
-
setPersistentKey
public void setPersistentKey(String persistentKey)
-
-