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, targetDocumentDEPRECATION_DONE| Constructor and Description |
|---|
LockingRestlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHandleStatelessRequest(org.restlet.Request req,
org.restlet.Response res) |
protected String |
oldLockKey(Lock lock) |
cleanUp, handle, initRepository, initRepositoryAndTargetDocumentgetHttpRequest, getHttpResponse, getQueryParamValue, getRestletFullUrl, handleError, handleError, handleError, handleError, logDeprecation, setEntityToBlobOutputcreateFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner, 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.Request req, org.restlet.Response res)
doHandleStatelessRequest in class BaseStatelessNuxeoRestletprotected String oldLockKey(Lock lock)
Copyright © 2019 Nuxeo. All rights reserved.