| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.webdav.WebdavLock
com.jalios.jcms.webdav.cat.CatWebdavLock
public class CatWebdavLock
A JCMS Representation of a Webdav Lock
| Field Summary | |
|---|---|
| static String | FILEDOC_UPDATE_COUNTER_EXTRA_DATAFileDocument's Extra data attribute used to force a JStore update when the File is detected as modified during the "unlock" operation. | 
| static String | REVISION | 
| Fields inherited from class com.jalios.jcms.webdav.WebdavLock | 
|---|
| DEFAULT_TIMEOUT, depth, id, lastMod, MAX_TIMEOUT, md5Digest, owner, scope, secret, timeout, tokens, type, uri | 
| Constructor Summary | |
|---|---|
| CatWebdavLock(String uri,
              WebdavContext ctxt) | |
| Method Summary | |
|---|---|
|  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(String owner)This method set the Owner of the Lock | 
| Methods inherited from class com.jalios.jcms.webdav.WebdavLock | 
|---|
| encode, generateId, getDepth, getExpiredTime, getId, getLastModified, getOwner, getScope, getTimeout, getTokens, getType, hasExpired, isExclusive, setDepth, setScope, setTimeout, setType, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String REVISION
public static final String FILEDOC_UPDATE_COUNTER_EXTRA_DATA
| Constructor Detail | 
|---|
public CatWebdavLock(String uri,
                     WebdavContext ctxt)
| Method Detail | 
|---|
public void setOwner(String owner)
WebdavLock
setOwner in class WebdavLockowner - the owner of the lock
public 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)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||