|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AccessMode>
org.jboss.portal.portlet.state.AccessMode
public enum AccessMode
Type safe enumeration for the access mode to a portlet.
| Enum Constant Summary | |
|---|---|
CLONE_BEFORE_WRITE
Clone before write access mode. |
|
READ_ONLY
Read only access mode. |
|
READ_WRITE
Read write access mode. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
static AccessMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AccessMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AccessMode READ_ONLY
public static final AccessMode READ_WRITE
public static final AccessMode CLONE_BEFORE_WRITE
| Method Detail |
|---|
public static final AccessMode[] values()
for(AccessMode c : AccessMode.values())
System.out.println(c);
public static AccessMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString in class java.lang.Enum<AccessMode>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||