org.apache.jackrabbit.standalone.cli.lock
Class Lock

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

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

Lock the given Node


Constructor Summary
Lock()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getDeepKey()
           
 String getPathKey()
           
 String getSessionScopedKey()
           
 void setDeepKey(String deepKey)
           
 void setPathKey(String srcPathKey)
           
 void setSessionScopedKey(String sessionScopedKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lock

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

getDeepKey

public String getDeepKey()
Returns:
deep key

setDeepKey

public void setDeepKey(String deepKey)
Parameters:
deepKey - deep key to set

getSessionScopedKey

public String getSessionScopedKey()
Returns:
the session scoped key

setSessionScopedKey

public void setSessionScopedKey(String sessionScopedKey)
Parameters:
sessionScopedKey - the session scoped key to set

getPathKey

public String getPathKey()
Returns:
the source path key

setPathKey

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


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