|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.standalone.cli.core.Copy
public class Copy
Copy a Node.
If the source Workspace
is unset it will create a copy of the
given Node
from the current working Workspace
.
If the target path ends with '/' the source node will be copied as a child of
the target node maintaining the name.
Constructor Summary | |
---|---|
Copy()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context ctx)
|
String |
getDestAbsPathKey()
|
String |
getSrcAbsPathKey()
|
String |
getSrcWorkspaceKey()
|
void |
setDestAbsPathKey(String destAbsPathKey)
sets the destination absolute path key |
void |
setSrcAbsPathKey(String srcAbsPathKey)
Sets the source absolute path key |
void |
setSrcWorkspaceKey(String srcWorkspaceKey)
Sets the source Workspace key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Copy()
Method Detail |
---|
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
execute
in interface org.apache.commons.chain.Command
Exception
public String getDestAbsPathKey()
public void setDestAbsPathKey(String destAbsPathKey)
destAbsPathKey
- the destination absolute path keypublic String getSrcAbsPathKey()
public void setSrcAbsPathKey(String srcAbsPathKey)
srcAbsPathKey
- the source absolute path keypublic String getSrcWorkspaceKey()
Workspace
keypublic void setSrcWorkspaceKey(String srcWorkspaceKey)
Workspace
key
srcWorkspaceKey
- the source Workspace
key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |