|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lockable
API for objects that can be locked by a user.
Method Summary | |
---|---|
void |
confirmLock(UserEntity user)
Confirm this resource is locked by the specified user. |
void |
lock(UserEntity u)
Lock a resource. |
void |
unlock(UserEntity user)
Unlock the resource. |
Method Detail |
---|
void lock(UserEntity u)
u
- The user who is locking the resource.void unlock(UserEntity user)
user
- The user releasing the lock.void confirmLock(UserEntity user)
user
- The user who should have the lock.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |