public class STLockManager
extends java.lang.Object
| Constructor and Description |
|---|
STLockManager() |
| Modifier and Type | Method and Description |
|---|---|
ActiveLock |
createLock(LockInfo li,
DavResource dr) |
ActiveLock |
getLock(Type type,
Scope scope,
DavResource dr) |
boolean |
hasLock(java.lang.String string,
DavResource dr) |
ActiveLock |
refreshLock(LockInfo li,
java.lang.String key,
DavResource dr) |
void |
releaseLock(java.lang.String key,
DavResource dr) |
public ActiveLock createLock(LockInfo li,
DavResource dr)
throws DavException
li - lock infodr - the resourceDavException - a problempublic ActiveLock refreshLock(LockInfo li,
java.lang.String key,
DavResource dr)
throws DavException
li - lock infodr - the resourcekey - the keyDavException - a problempublic void releaseLock(java.lang.String key,
DavResource dr)
throws DavException
dr - the resourcekey - the keyDavException - a problempublic ActiveLock getLock(Type type,
Scope scope,
DavResource dr)
type - the typescope - the scopedr - the resourcepublic boolean hasLock(java.lang.String string,
DavResource dr)
string - the stringdr - the resourcestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.