public static enum SystemPermission.Type extends Enum<SystemPermission.Type>
Enum Constant and Description |
---|
ADMINISTER
Administer the system in general, including adding permissions
which affect the system (like user creation, connection creation,
and system administration).
|
CREATE_CONNECTION
Create connections.
|
CREATE_CONNECTION_GROUP
Create connection groups.
|
CREATE_SHARING_PROFILE
Create sharing profiles.
|
CREATE_USER
Create users.
|
Modifier and Type | Method and Description |
---|---|
static SystemPermission.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemPermission.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemPermission.Type CREATE_USER
public static final SystemPermission.Type CREATE_CONNECTION
public static final SystemPermission.Type CREATE_CONNECTION_GROUP
public static final SystemPermission.Type CREATE_SHARING_PROFILE
public static final SystemPermission.Type ADMINISTER
public static SystemPermission.Type[] values()
for (SystemPermission.Type c : SystemPermission.Type.values()) System.out.println(c);
public static SystemPermission.Type 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 nullCopyright © 2017. All rights reserved.