Enum TaskPermissions
- java.lang.Object
- 
- java.lang.Enum<TaskPermissions>
- 
- org.camunda.bpm.engine.authorization.TaskPermissions
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<TaskPermissions>,- Permission
 
 public enum TaskPermissions extends java.lang.Enum<TaskPermissions> implements Permission The set of built-inPermissionsforTaskin Camunda Platform.- Author:
- Yana Vasileva
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALLIndicates that all interactions are permitted.CREATEIndicates that CREATE interactions are permitted.DELETEIndicates that DELETE interactions are permitted.NONEThe none permission means 'no action', 'doing nothing'.READIndicates that READ interactions are permitted.READ_HISTORYDeprecated.since the permission is not used by any built-in functionality of Camunda PlatformREAD_VARIABLEIndicates that READ_VARIABLE interactions are permitted.TASK_ASSIGNIndicates that TASK_ASSIGN interactions are permittedTASK_WORKIndicates that TASK_WORK interactions are permittedUPDATEIndicates that UPDATE interactions are permitted.UPDATE_VARIABLEIndicates that UPDATE_VARIABLE interactions are permitted.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()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 TaskPermissionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TaskPermissions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final TaskPermissions NONE The none permission means 'no action', 'doing nothing'. It does not mean that no permissions are granted.
 - 
ALLpublic static final TaskPermissions ALL Indicates 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.
 - 
READpublic static final TaskPermissions READ Indicates that READ interactions are permitted.
 - 
UPDATEpublic static final TaskPermissions UPDATE Indicates that UPDATE interactions are permitted.
 - 
CREATEpublic static final TaskPermissions CREATE Indicates that CREATE interactions are permitted.
 - 
DELETEpublic static final TaskPermissions DELETE Indicates that DELETE interactions are permitted.
 - 
READ_HISTORY@Deprecated public static final TaskPermissions READ_HISTORY Deprecated.since the permission is not used by any built-in functionality of Camunda PlatformIndicates that READ_HISTORY interactions are permitted. 
 - 
TASK_WORKpublic static final TaskPermissions TASK_WORK Indicates that TASK_WORK interactions are permitted
 - 
TASK_ASSIGNpublic static final TaskPermissions TASK_ASSIGN Indicates that TASK_ASSIGN interactions are permitted
 - 
UPDATE_VARIABLEpublic static final TaskPermissions UPDATE_VARIABLE Indicates that UPDATE_VARIABLE interactions are permitted.
 - 
READ_VARIABLEpublic static final TaskPermissions READ_VARIABLE Indicates that READ_VARIABLE interactions are permitted.
 
- 
 - 
Method Detail- 
valuespublic static TaskPermissions[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TaskPermissions c : TaskPermissions.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static TaskPermissions valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getNamepublic java.lang.String getName() Description 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
 
 - 
getTypespublic Resource[] getTypes() Description copied from interface:Permissionreturns the resource types which are allowed for this permission- Specified by:
- getTypesin interface- Permission
 
 
- 
 
-