com.jalios.jcms.webdav.cat
Class CatWebdavLock

java.lang.Object
  extended by com.jalios.jcms.webdav.WebdavLock
      extended by com.jalios.jcms.webdav.cat.CatWebdavLock

public class CatWebdavLock
extends WebdavLock

A JCMS Representation of a Webdav Lock

Since:
jcms-5.5.0
Version:
$Revision: 16631 $
Author:
Jean-Philippe Encausse

Field Summary
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(WebdavContext ctxt)
          This method is called for other mecanism outside of Webdav that need to be notified by lock
 void refresh(WebdavContext ctxt)
          This method is called for other mecanism outside of Webdav that need to be notified by unlock
 void release(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

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

CatWebdavLock

public CatWebdavLock(String uri,
                     WebdavContext ctxt)
See Also:
WebdavLock.WebdavLock(String, WebdavContext)
Method Detail

setOwner

public void setOwner(String owner)
Description copied from class: WebdavLock
This method set the Owner of the Lock

Overrides:
setOwner in class WebdavLock
Parameters:
owner - the owner of the lock

acquire

public void acquire(WebdavContext ctxt)
This method is called for other mecanism outside of Webdav that need to be notified by lock

Overrides:
acquire in class WebdavLock
Parameters:
ctxt - the Webdav Context
See Also:
WebdavLock.acquire(WebdavContext)

release

public void release(WebdavContext ctxt)
This method is called for other mecanism outside of Webdav that need to be notified by unlock

Overrides:
release in class WebdavLock
Parameters:
ctxt - the Webdav Context
See Also:
WebdavLock.release(WebdavContext)

refresh

public void refresh(WebdavContext ctxt)
This method is called for other mecanism outside of Webdav that need to be notified by unlock

Overrides:
refresh in class WebdavLock
Parameters:
ctxt - the Webdav Context
See Also:
WebdavLock.refresh(WebdavContext)


Copyright © 2001-2007 Jalios SA. All Rights Reserved.