- <init>
Default constructor, creates a new lock manager.
- addResource
Adds a resource to the lock manager.
- checkLockable
Checks if the given resource is lockable by the given user/project/lock type.
- countExclusiveLocksInProject
Counts the exclusive locked resources in a project.
- getDirectLock
Returns the direct lock of a resource.
- getLock
Returns the lock state of the given resource. In case no lock is set, the null lock which can be obt
- getLocks
Returns all exclusive locked resources matching the given resource name and
filter.
- getParentFolderLock
Returns the lock of a possible locked parent folder of a resource, system locks
are ignored.
- getParentLock
Returns the inherited lock of a resource.
- getSiblingsLock
Returns the indirect lock of a resource depending on siblings lock state.
- hasSystemLocks
Returns true if the given resource contains a resource that has a system lock.
This check is requir
- internalLockResource
Finally set the given lock.