|
Project: stp | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<StpAccessControlEntry.AccessRight>
com.ibm.rational.wvcm.stp.StpAccessControlEntry.AccessRight
public static enum StpAccessControlEntry.AccessRight
An enumeration of the possible access rights that can be applied to a controlled resource. Not all resources will support all access rights.
Enum Constant Summary | |
---|---|
CHANGE_PERMISSION
Principal can change access rights to the controlled resource |
|
NO_ACCESS
Principal has no access to the controlled resource |
|
READ_LIMITED
Principal has limited read access to the controlled resource |
|
READ_ONLY
Principal can only read the controlled resource |
|
READ_WRITE
Principal can read and write the controlled resource |
Method Summary | |
---|---|
String |
toString()
The name of the access right for display purposes |
static StpAccessControlEntry.AccessRight |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StpAccessControlEntry.AccessRight[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StpAccessControlEntry.AccessRight CHANGE_PERMISSION
public static final StpAccessControlEntry.AccessRight NO_ACCESS
public static final StpAccessControlEntry.AccessRight READ_LIMITED
public static final StpAccessControlEntry.AccessRight READ_ONLY
public static final StpAccessControlEntry.AccessRight READ_WRITE
Method Detail |
---|
public String toString()
toString
in class Enum<StpAccessControlEntry.AccessRight>
public static StpAccessControlEntry.AccessRight 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 nullpublic static StpAccessControlEntry.AccessRight[] values()
for (StpAccessControlEntry.AccessRight c : StpAccessControlEntry.AccessRight.values()) System.out.println(c);
|
Generated Tue 26-Jul-2016 01:02 AM | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |