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

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.core.RemoveItems
All Implemented Interfaces:
org.apache.commons.chain.Command

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

Remove any Item under the given Node that match the given name pattern.


Constructor Summary
RemoveItems()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getPathKey()
           
 String getPatternKey()
           
 void setPathKey(String pathKey)
           
 void setPatternKey(String patternKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveItems

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

getPatternKey

public String getPatternKey()
Returns:
the pattern key

setPatternKey

public void setPatternKey(String patternKey)
Parameters:
patternKey - the pattern key to set

getPathKey

public String getPathKey()
Returns:
the path key

setPathKey

public void setPathKey(String pathKey)
Parameters:
pathKey - the path key to set


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.