public class CatWebdavLock extends WebdavLock
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
FILEDOC_UPDATE_COUNTER_EXTRA_DATA
FileDocument's ExtraData (for JStore) or ExtraDBData (for DBData) attribute used
 to store number of webdav update and to force a JStore update when the File is detected
 as modified during the "unlock" operation. 
 | 
static java.lang.String | 
REVISION  | 
DEFAULT_TIMEOUT, depth, id, lastMod, MAX_TIMEOUT, md5Digest, owner, scope, secret, timeout, tokens, type, uri| Constructor and Description | 
|---|
CatWebdavLock(java.lang.String uri,
             WebdavContext ctxt)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
acquire(WebdavResource resource,
       WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
 that need to be notified by lock 
 | 
void | 
refresh(WebdavResource resource,
       WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
 that need to be notified by unlock 
 | 
void | 
release(WebdavResource resource,
       WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
 that need to be notified by unlock 
 | 
void | 
setOwner(java.lang.String owner)
This method set the Owner of the Lock 
 | 
encode, generateId, getDepth, getExpiredTime, getId, getLastModified, getOwner, getScope, getTimeout, getTokens, getType, hasExpired, isExclusive, setDepth, setScope, setTimeout, setType, toStringpublic static final java.lang.String REVISION
public static final java.lang.String FILEDOC_UPDATE_COUNTER_EXTRA_DATA
public CatWebdavLock(java.lang.String uri,
                     WebdavContext ctxt)
public void setOwner(java.lang.String owner)
WebdavLocksetOwner in class WebdavLockowner - the owner of the lockpublic void acquire(WebdavResource resource, WebdavContext ctxt)
acquire in class WebdavLockctxt - the Webdav ContextWebdavLock.acquire(WebdavResource, WebdavContext)public void release(WebdavResource resource, WebdavContext ctxt)
release in class WebdavLockctxt - the Webdav ContextWebdavLock.release(WebdavResource, WebdavContext)public void refresh(WebdavResource resource, WebdavContext ctxt)
refresh in class WebdavLockctxt - the Webdav ContextWebdavLock.refresh(WebdavResource, WebdavContext)Copyright © 2001-2018 Jalios SA. All Rights Reserved.