public abstract static class MgnlContext.LockingOp extends MgnlContext.RepositoryOp
Constructor and Description |
---|
LockingOp(String workspaceName,
String lockPath)
Performs operation only if shallow lock can be obtained within reasonable time on a path specified by params.
|
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.
|
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
doExec
public LockingOp(String workspaceName, String lockPath)
public LockingOp(String workspaceName, String lockPath, boolean deepLock)
public LockingOp(String workspaceName, String lockPath, String nodeType)
public LockingOp(String workspaceName, String lockPath, boolean deepLock, String nodeType)
public 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–2020 Magnolia International Ltd.. All rights reserved.