|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.common.IntKey
org.eclipse.stardust.engine.api.runtime.PermissionState
public class PermissionState
A representation of the state of a permission. This class also provides human readable values for the permission states.
| Field Summary | |
|---|---|
static PermissionState |
Denied
The permission is denied to the current user. |
static int |
DENIED
The permission is denied to the current user. |
static PermissionState |
Granted
The permission is granted to the current user. |
static int |
GRANTED
The permission is granted to the current user. |
static PermissionState |
Unknown
The permission state is unknown. |
static int |
UNKNOWN
The permission state is unknown. |
| Method Summary | |
|---|---|
static PermissionState |
getState(int value)
Factory method to get the PermissionState corresponding to the given code. |
static String |
getString(int value)
Gets the name of the PermissionState corresponding to the given code. |
| Methods inherited from class org.eclipse.stardust.common.IntKey |
|---|
compareTo, equals, getKey, getKeys, getName, getValue, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN
public static final int GRANTED
public static final int DENIED
public static final PermissionState Unknown
public static final PermissionState Granted
public static final PermissionState Denied
| Method Detail |
|---|
public static String getString(int value)
value - one of the PermissionState codes.
public static PermissionState getState(int value)
value - one of the PermissionState codes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||