@UESComponent @WebServiceAccessible(wspHandlerChain="ues/platform/concurrent/UESLockManagerHandlerChain.xml") public interface UESLockManager
Modifier and Type | Method and Description |
---|---|
UESURI |
create(UESURI resourceUri,
Creates new lock for given resource.
|
UESLockAttributes |
getAttributes(UESURI lockUri)
Returns attributes of given lock.
|
UESResultList<UESLockAttributes,UESLockGetList> |
getLockList(UESURI resourceUri,
Returns list of all locks on given resource.
|
boolean |
isValid(UESURI lockUri,
Checks if lock is valid (was not deleted and is not expired).
|
void |
reallocate(UESURI lockUri,
Reallocates lock and thus allows prolonging (or shortening)
its expiration time.
|
void |
unlock(UESURI lockUri,
Unlocks lock with given UESURI.
|
resourceUri
- UESURI of locked resourcelock
- Additional lock attributesUESLockManagerRTException
- In case creating of lock failedresourceUri
- UESURI of resourceUESLockManagerRTException
- In case listing of locks failedlockUri
- UESURI of lock to be readUESLockManagerRTException
- In case reading of lock failedlockUri
- UESURI of lock to be refreshedownerId
- Optional ID of lock owner (owner is checked only if value is given)lockTimeout
- New value of lock timeoutUESLockManagerRTException
- In case refreshing of lock failedlockUri
- UESURI of lockownerId
- Optional ID of lock owner (owner is checked only if value is given)UESLockManagerRTException
- In case checking of lock validity failedlockUri
- UESURI of lock to be unlockedownerId
- Only proper owner of lock can unlock itUESLockManagerRTException
- In case unlocking of lock failed