| Modifier and Type | Method and Description |
|---|---|
Date |
getLockedAt()
Get date/time when the lock was set.
|
CommonUser |
getLockedBy()
Get id of user who set the lock.
|
boolean |
isLocked() |
void |
lock(CommonUser user) |
void |
unlock(CommonUser user) |
static final RLock NO_LOCK
Date getLockedAt()
LockInfogetLockedAt in interface LockInfoCommonUser getLockedBy()
LockInfogetLockedBy in interface LockInfovoid lock(CommonUser user) throws RRepositoryException
RRepositoryExceptionvoid unlock(CommonUser user) throws RRepositoryException
RRepositoryExceptionCopyright © 2018. All rights reserved.