public abstract static class MgnlContext.LockingOp extends MgnlContext.RepositoryOp
Constructor and Description |
---|
MgnlContext.LockingOp(String workspaceName,
String lockPath)
Performs operation only if shallow lock can be obtained within reasonable time on a path specified by params.
|
MgnlContext.LockingOp(String workspaceName,
String lockPath,
boolean deepLock)
Performs operation only if shallow or deep lock can be obtained within reasonable time on a path specified by params.
|
MgnlContext.LockingOp(String workspaceName,
String lockPath,
boolean deepLock,
String nodeType)
Performs operation only if shallow or deep lock can be obtained within reasonable time on a path specified by params.
|
MgnlContext.LockingOp(String workspaceName,
String lockPath,
boolean deepLock,
String lockedNodeType,
String userName)
Performs operation only if shallow or deep lock can be obtained within reasonable time on a path specified by params.
|
MgnlContext.LockingOp(String workspaceName,
String lockPath,
String nodeType)
Performs operation only if shallow lock can be obtained within reasonable time on a path specified by params.
|
public MgnlContext.LockingOp(String workspaceName, String lockPath)
public MgnlContext.LockingOp(String workspaceName, String lockPath, boolean deepLock)
public MgnlContext.LockingOp(String workspaceName, String lockPath, String nodeType)
public MgnlContext.LockingOp(String workspaceName, String lockPath, boolean deepLock, String nodeType)
public MgnlContext.LockingOp(String workspaceName, String lockPath, boolean deepLock, String lockedNodeType, String userName)
public Void exec() throws javax.jcr.RepositoryException
exec
in interface MgnlContext.Op<Void,javax.jcr.RepositoryException>
exec
in class MgnlContext.RepositoryOp
javax.jcr.RepositoryException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.