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

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

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

Refresh the Item if specified or the Session to reflect the current saved state.


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

Constructor Detail

Refresh

public Refresh()
Method Detail

getKeepChangesKey

public String getKeepChangesKey()
Returns:
the keep changes key

setKeepChangesKey

public void setKeepChangesKey(String keepChangesKey)
Parameters:
keepChangesKey - the keep changes key to set

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


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