public class PermissionState
extends org.eclipse.stardust.common.IntKey
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
public static String getString(int value)
value - one of the PermissionState codes.public static PermissionState getState(int value)
value - one of the PermissionState codes.Copyright © 2016 Eclipse Stardust. All Rights Reserved.