LockHandler.php
updateLock(ObjectId $oid, PersistentObject $object)
Update the current state of the lock belonging to the given object if existing and owned by the curre...
getLock(ObjectId $oid)
Get the lock for an object id.
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
LockHandler defines the interface for LockHandler implementations.
Definition: LockHandler.php:21
aquireLock(ObjectId $oid, $type, PersistentObject $currentState=null)
Aquire a lock on an object id for the current user and throw an exception, if another user already ow...
releaseLock(ObjectId $oid, $type=null)
Release the lock the current user owns on an object id.
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:23
releaseAllLocks()
Release all locks owned by the current user.
releaseLocks(ObjectId $oid)
Release all locks on an object id regardless of the user.