|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Permissions>
org.camunda.bpm.engine.authorization.Permissions
public enum Permissions
The set of built-in Permissions for camunda BPM.
| Enum Constant Summary | |
|---|---|
ACCESS
Indicates that ACCESS interactions are permitted. |
|
ALL
Indicates that all interactions are permitted. |
|
CREATE
Indicates that CREATE interactions are permitted. |
|
CREATE_INSTANCE
Indicates that CREATE_INSTANCE interactions are permitted. |
|
DELETE
Indicates that DELETE interactions are permitted. |
|
DELETE_HISTORY
Indicates that DELETE_INSTANCE interactions are permitted. |
|
DELETE_INSTANCE
Indicates that DELETE_INSTANCE interactions are permitted. |
|
MIGRATE_INSTANCE
Indicates that MIGRATE_INSTANCE interactions are permitted |
|
NONE
The none permission means 'no action', 'doing nothing'. |
|
READ
Indicates that READ interactions are permitted. |
|
READ_HISTORY
Indicates that UPDATE_INSTANCE interactions are permitted. |
|
READ_INSTANCE
Indicates that READ_INSTANCE interactions are permitted. |
|
READ_TASK
Indicates that READ_TASK interactions are permitted. |
|
TASK_ASSIGN
Indicates that TASK_ASSIGN interactions are permitted |
|
TASK_WORK
Indicates that TASK_WORK interactions are permitted |
|
UPDATE
Indicates that UPDATE interactions are permitted. |
|
UPDATE_INSTANCE
Indicates that UPDATE_INSTANCE interactions are permitted. |
|
UPDATE_TASK
Indicates that UPDATE_TASK interactions are permitted. |
|
| Method Summary | |
|---|---|
static Permission |
forName(String name)
|
String |
getName()
returns the name of the perwission, ie. |
int |
getValue()
returns the unique numeric value of the permission. |
String |
toString()
|
static Permissions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Permissions[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Permissions NONE
public static final Permissions ALL
public static final Permissions READ
public static final Permissions UPDATE
public static final Permissions CREATE
public static final Permissions DELETE
public static final Permissions ACCESS
public static final Permissions READ_TASK
public static final Permissions UPDATE_TASK
public static final Permissions CREATE_INSTANCE
public static final Permissions READ_INSTANCE
public static final Permissions UPDATE_INSTANCE
public static final Permissions DELETE_INSTANCE
public static final Permissions READ_HISTORY
public static final Permissions DELETE_HISTORY
public static final Permissions TASK_WORK
public static final Permissions TASK_ASSIGN
public static final Permissions MIGRATE_INSTANCE
| Method Detail |
|---|
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Permissions>public String getName()
Permission
getName in interface Permissionpublic int getValue()
Permission
getValue in interface Permissionpublic static Permission forName(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||