org.apache.jackrabbit.standalone.cli.version
Class RemoveVersion

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

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

Remove a Version from the VersionHistory


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

Constructor Detail

RemoveVersion

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

getPathKey

public String getPathKey()
Returns:
the path key

setPathKey

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

getNameKey

public String getNameKey()
Returns:
the version name key

setNameKey

public void setNameKey(String versionNameKey)
Parameters:
versionNameKey - the version name key to set


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