org.apache.jackrabbit.standalone.cli.core
Class AddNode

java.lang.Object
  extended by 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


Constructor Summary
AddNode()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getRelPathKey()
           
 String getTypeKey()
           
 void setRelPathKey(String relPathKey)
           
 void setTypeKey(String nodeTypeKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddNode

public AddNode()
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

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.