public final class LockHelper extends Object
LockAwareAmetysObject
Modifier | Constructor and Description |
---|---|
private |
LockHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isLockOwner(LockAwareAmetysObject object,
UserIdentity user)
Determines if the login is the same as the owner of the lock
|
private LockHelper()
public static boolean isLockOwner(LockAwareAmetysObject object, UserIdentity user) throws AmetysRepositoryException
object
- The lockable Ametys objectuser
- The user to testAmetysRepositoryException
- if a problem occurs