Class Lock
- java.lang.Object
-
- 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 givenNode
-
-
Constructor Summary
Constructors Constructor Description Lock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetDeepKey()StringgetPathKey()StringgetSessionScopedKey()voidsetDeepKey(String deepKey)voidsetPathKey(String srcPathKey)voidsetSessionScopedKey(String sessionScopedKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.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
-
-