public final class PermissionScope extends Object
AccessPermissionRule
and
ActionPermissionRule
.Modifier and Type | Field and Description |
---|---|
static PermissionScope |
DATASET
Defines the scope 'Data set'.
|
static PermissionScope |
FIELD
Defines the scope 'Field'.
|
static PermissionScope |
RECORD
Defines the scope 'Record'.
|
static PermissionScope |
SERVICE
Defines the scope 'Service'.
|
static PermissionScope |
TABLE
Defines the scope 'Table'.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isDataset()
Returns
true if this is a scope 'Data set'. |
boolean |
isField()
Returns
true if this is a scope 'Field'. |
boolean |
isRecord()
Returns
true if this is a scope 'Record'. |
boolean |
isService()
Returns
true if this is a scope 'Service'. |
boolean |
isTable()
Returns
true if this is a scope 'Table'. |
static PermissionScope |
parse(String name)
Returns the
PermissionScope instance that corresponds to the
value specified. |
String |
toString() |
public static final PermissionScope DATASET
public static final PermissionScope TABLE
public static final PermissionScope FIELD
public static final PermissionScope RECORD
public static final PermissionScope SERVICE
public static PermissionScope parse(String name)
PermissionScope
instance that corresponds to the
value specified.public boolean isDataset()
true
if this is a scope 'Data set'.public boolean isTable()
true
if this is a scope 'Table'.public boolean isField()
true
if this is a scope 'Field'.public boolean isRecord()
true
if this is a scope 'Record'.public boolean isService()
true
if this is a scope 'Service'.