public class LockingRestlet extends BaseStatelessNuxeoRestlet
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCK |
static String |
SC_ALREADY_LOCKED_KO |
static String |
SC_ALREADY_LOCKED_OK |
static String |
SC_ALREADY_UNLOCKED_OK |
static String |
SC_LOCKED_OK |
static String |
SC_LOCKINFO_LOCKED |
static String |
SC_LOCKINFO_NOT_LOCKED |
static String |
SC_UNLOCKED_OK |
static String |
STATE |
static String |
STATUS |
static String |
UNLOCK |
session, targetDocRef, targetDocument| Constructor and Description |
|---|
LockingRestlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHandleStatelessRequest(org.restlet.data.Request req,
org.restlet.data.Response res) |
protected String |
oldLockKey(Lock lock) |
cleanUp, handle, initRepository, initRepositoryAndTargetDocumentgetHttpRequest, getHttpResponse, getQueryParamValue, getRestletFullUrl, getUserPrincipal, handleError, handleError, handleError, handleError, setEntityToBlobOutputgetContext, getLogger, init, isStarted, isStopped, setContext, start, stoppublic static final String LOCK
public static final String UNLOCK
public static final String STATUS
public static final String STATE
public static final String SC_LOCKINFO_LOCKED
public static final String SC_LOCKINFO_NOT_LOCKED
public static final String SC_LOCKED_OK
public static final String SC_ALREADY_LOCKED_KO
public static final String SC_ALREADY_LOCKED_OK
public static final String SC_UNLOCKED_OK
public static final String SC_ALREADY_UNLOCKED_OK
public LockingRestlet()
protected void doHandleStatelessRequest(org.restlet.data.Request req, org.restlet.data.Response res)
doHandleStatelessRequest in class BaseStatelessNuxeoRestletprotected String oldLockKey(Lock lock)
Copyright © 2017 Nuxeo. All rights reserved.