public interface LockAwareAmetysObject extends AmetysObject
AmetysObject
that knows about its lock status.Modifier and Type | Method and Description |
---|---|
UserIdentity |
getLockOwner()
Returns the owner of the lock, or null if none
|
boolean |
isLocked()
Returns true if this
AmetysObject is locked |
equals, getId, getName, getParent, getParentPath, getPath, hashCode
boolean isLocked() throws AmetysRepositoryException
AmetysObject
is lockedAmetysObject
is lockedAmetysRepositoryException
- if a problem occursUserIdentity getLockOwner() throws AmetysRepositoryException
AmetysRepositoryException
- if a problem occurs