public static enum StpAccessControlEntry.AccessRight extends Enum<StpAccessControlEntry.AccessRight> implements com.ibm.rational.wvcm.stpex.StpExEnumeration
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static StpAccessControlEntry.AccessRight[] values()
for (StpAccessControlEntry.AccessRight c : StpAccessControlEntry.AccessRight.values()) System.out.println(c);
Copyright © IBM 2017. All rights reserved.