|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines the constants representing the valid lock operations on items. An Item can have only one exclusive locker and multiple non-exclusive lockers. The lock state of an Item for a given user can only be one of three states: no locks of any type, exclusively locked, or non-exclusively locked.
| Field Summary | |
static int |
BREAK_FLAG
Combine this value with either the UNLOCKED or EXCLUSIVE lock flags to break a lock. |
static int |
EXCLUSIVE
Used to lock an Item exclusively for the currently logged in user. |
static int |
NONEXCLUSIVE
Used to change a user's lock state to non-exclusively locked. |
static int |
UNCHANGED
Used to specify no change in lock state. |
static int |
UNLOCKED
Used to change the currently logged in user's lock state to unlocked. |
| Field Detail |
public static final int UNLOCKED
public static final int EXCLUSIVE
public static final int NONEXCLUSIVE
public static final int UNCHANGED
public static final int BREAK_FLAG
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||