Enum Class ProcessInstancePermissions
java.lang.Object
java.lang.Enum<ProcessInstancePermissions>
org.camunda.bpm.engine.authorization.ProcessInstancePermissions
- All Implemented Interfaces:
- Serializable,- Comparable<ProcessInstancePermissions>,- Constable,- Permission
public enum ProcessInstancePermissions
extends Enum<ProcessInstancePermissions>
implements Permission
The set of built-in 
Permissions for Process instances in Camunda Platform.- Author:
- Yana Vasileva
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionIndicates that all interactions are permitted.Indicates that CREATE interactions are permitted.Indicates that DELETE interactions are permitted.The none permission means 'no action', 'doing nothing'.Indicates that READ interactions are permitted.Indicates that RETRY_JOB interactions are permitted.Indicates that SUSPEND interactions are permitted.Indicates that UPDATE interactions are permitted.Indicates that UPDATE_VARIABLE interactions are permitted.
- 
Method SummaryModifier and TypeMethodDescriptiongetName()returns the name of the permission, ie.Resource[]getTypes()returns the resource types which are allowed for this permissionintgetValue()returns the unique numeric value of the permission.static ProcessInstancePermissionsReturns the enum constant of this class with the specified name.static ProcessInstancePermissions[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
NONEThe none permission means 'no action', 'doing nothing'. It does not mean that no permissions are granted.
- 
ALLIndicates that all interactions are permitted. If ALL is revoked it means that the user is not permitted to do everything, which means that at least one permission is revoked. This does not implicate that all individual permissions are revoked. Example: If the UPDATE permission is revoked then the ALL permission is revoked as well, because the user is not authorized to execute all actions anymore.
- 
READIndicates that READ interactions are permitted.
- 
UPDATEIndicates that UPDATE interactions are permitted.
- 
CREATEIndicates that CREATE interactions are permitted.
- 
DELETEIndicates that DELETE interactions are permitted.
- 
RETRY_JOBIndicates that RETRY_JOB interactions are permitted.
- 
SUSPENDIndicates that SUSPEND interactions are permitted.
- 
UPDATE_VARIABLEIndicates that UPDATE_VARIABLE interactions are permitted.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getNameDescription copied from interface:Permissionreturns the name of the permission, ie. 'UPDATE'- Specified by:
- getNamein interface- Permission
 
- 
getValuepublic int getValue()Description copied from interface:Permissionreturns the unique numeric value of the permission. Must be a power of 2. ie 2^0, 2^1, 2^2, 2^3, 2^4 ...- Specified by:
- getValuein interface- Permission
 
- 
getTypesDescription copied from interface:Permissionreturns the resource types which are allowed for this permission- Specified by:
- getTypesin interface- Permission
 
 
-