|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CmsLockInfo.State>
org.opencms.gwt.shared.CmsLockInfo.State
public static enum CmsLockInfo.State
An enum indicating the success or type of failure of a locking operation.
Enum Constant Summary | |
---|---|
changed
The resource has changed in the meantime. |
|
locked
The resource was already locked by another user. |
|
other
Some other error occurred. |
|
success
The resource was successfully locked. |
Method Summary | |
---|---|
static CmsLockInfo.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CmsLockInfo.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CmsLockInfo.State locked
public static final CmsLockInfo.State changed
public static final CmsLockInfo.State success
public static final CmsLockInfo.State other
Method Detail |
---|
public static CmsLockInfo.State[] values()
for (CmsLockInfo.State c : CmsLockInfo.State.values()) System.out.println(c);
public static CmsLockInfo.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |