org.apache.jackrabbit.standalone.cli.core
Class AddNode
java.lang.Object
org.apache.jackrabbit.standalone.cli.core.AddNode
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class AddNode
- extends Object
- implements org.apache.commons.chain.Command
Add a node to the current working Node
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddNode
public AddNode()
execute
public boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
-
- Specified by:
execute
in interface org.apache.commons.chain.Command
- Throws:
Exception
getTypeKey
public String getTypeKey()
- Returns:
- the nodeTypeKey.
setTypeKey
public void setTypeKey(String nodeTypeKey)
- Parameters:
nodeTypeKey
- Set the context attribute key for the node type attribute.
getRelPathKey
public String getRelPathKey()
- Returns:
- the relative path.
setRelPathKey
public void setRelPathKey(String relPathKey)
- Parameters:
relPathKey
- the relative path key to set
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.