Enum BatchPermissions
- java.lang.Object
- 
- java.lang.Enum<BatchPermissions>
- 
- org.camunda.bpm.engine.authorization.BatchPermissions
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<BatchPermissions>,- Permission
 
 public enum BatchPermissions extends Enum<BatchPermissions> implements Permission The set of built-inPermissionsforBatch operationsin Camunda Platform.- Author:
- Yana Vasileva
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALLIndicates that all interactions are permitted.CREATEIndicates that CREATE interactions are permitted.CREATE_BATCH_CORRELATE_MESSAGEIndicates that CREATE_BATCH_CORRELATE_MESSAGE interactions are permittedCREATE_BATCH_DELETE_DECISION_INSTANCESIndicates that CREATE_BATCH_DELETE_DECISION_INSTANCES interactions are permittedCREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCESIndicates that CREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCES interactions are permitted.CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCESIndicates that CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCES interactions are permittedCREATE_BATCH_MIGRATE_PROCESS_INSTANCESIndicates that CREATE_BATCH_MIGRATE_PROCESS_INSTANCES interactions are permitted.CREATE_BATCH_MODIFY_PROCESS_INSTANCESIndicates that CREATE_BATCH_MODIFY_PROCESS_INSTANCES interactions are permittedCREATE_BATCH_RESTART_PROCESS_INSTANCESIndicates that CREATE_BATCH_RESTART_PROCESS_INSTANCES interactions are permittedCREATE_BATCH_SET_EXTERNAL_TASK_RETRIESIndicates that CREATE_BATCH_SET_EXTERNAL_TASK_RETRIES interactions are permittedCREATE_BATCH_SET_JOB_RETRIESIndicates that CREATE_BATCH_SET_JOB_RETRIES interactions are permittedCREATE_BATCH_SET_REMOVAL_TIMEIndicates that CREATE_BATCH_SET_REMOVAL_TIME interactions are permittedCREATE_BATCH_SET_VARIABLESIndicates that CREATE_BATCH_SET_VARIABLES interactions are permittedCREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPENDIndicates that CREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPEND interactions are permittedDELETEIndicates that DELETE interactions are permitted.DELETE_HISTORYIndicates that DELETE_HISTORY interactions are permitted.NONEThe none permission means 'no action', 'doing nothing'.READIndicates that READ interactions are permitted.READ_HISTORYIndicates that READ_HISTORY interactions are permitted.UPDATEIndicates that UPDATE interactions are permitted.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PermissionforName(String name)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 BatchPermissionsvalueOf(String name)Returns the enum constant of this type with the specified name.static BatchPermissions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final BatchPermissions NONE The none permission means 'no action', 'doing nothing'. It does not mean that no permissions are granted.
 - 
ALLpublic static final BatchPermissions 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 BatchPermissions READ Indicates that READ interactions are permitted.
 - 
UPDATEpublic static final BatchPermissions UPDATE Indicates that UPDATE interactions are permitted.
 - 
CREATEpublic static final BatchPermissions CREATE Indicates that CREATE interactions are permitted.
 - 
DELETEpublic static final BatchPermissions DELETE Indicates that DELETE interactions are permitted.
 - 
READ_HISTORYpublic static final BatchPermissions READ_HISTORY Indicates that READ_HISTORY interactions are permitted.
 - 
DELETE_HISTORYpublic static final BatchPermissions DELETE_HISTORY Indicates that DELETE_HISTORY interactions are permitted.
 - 
CREATE_BATCH_MIGRATE_PROCESS_INSTANCESpublic static final BatchPermissions CREATE_BATCH_MIGRATE_PROCESS_INSTANCES Indicates that CREATE_BATCH_MIGRATE_PROCESS_INSTANCES interactions are permitted.
 - 
CREATE_BATCH_MODIFY_PROCESS_INSTANCESpublic static final BatchPermissions CREATE_BATCH_MODIFY_PROCESS_INSTANCES Indicates that CREATE_BATCH_MODIFY_PROCESS_INSTANCES interactions are permitted
 - 
CREATE_BATCH_RESTART_PROCESS_INSTANCESpublic static final BatchPermissions CREATE_BATCH_RESTART_PROCESS_INSTANCES Indicates that CREATE_BATCH_RESTART_PROCESS_INSTANCES interactions are permitted
 - 
CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCESpublic static final BatchPermissions CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCES Indicates that CREATE_BATCH_DELETE_RUNNING_PROCESS_INSTANCES interactions are permitted
 - 
CREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCESpublic static final BatchPermissions CREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCES Indicates that CREATE_BATCH_DELETE_FINISHED_PROCESS_INSTANCES interactions are permitted.
 - 
CREATE_BATCH_DELETE_DECISION_INSTANCESpublic static final BatchPermissions CREATE_BATCH_DELETE_DECISION_INSTANCES Indicates that CREATE_BATCH_DELETE_DECISION_INSTANCES interactions are permitted
 - 
CREATE_BATCH_SET_JOB_RETRIESpublic static final BatchPermissions CREATE_BATCH_SET_JOB_RETRIES Indicates that CREATE_BATCH_SET_JOB_RETRIES interactions are permitted
 - 
CREATE_BATCH_SET_EXTERNAL_TASK_RETRIESpublic static final BatchPermissions CREATE_BATCH_SET_EXTERNAL_TASK_RETRIES Indicates that CREATE_BATCH_SET_EXTERNAL_TASK_RETRIES interactions are permitted
 - 
CREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPENDpublic static final BatchPermissions CREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPEND Indicates that CREATE_BATCH_UPDATE_PROCESS_INSTANCES_SUSPEND interactions are permitted
 - 
CREATE_BATCH_SET_REMOVAL_TIMEpublic static final BatchPermissions CREATE_BATCH_SET_REMOVAL_TIME Indicates that CREATE_BATCH_SET_REMOVAL_TIME interactions are permitted
 - 
CREATE_BATCH_SET_VARIABLESpublic static final BatchPermissions CREATE_BATCH_SET_VARIABLES Indicates that CREATE_BATCH_SET_VARIABLES interactions are permitted
 - 
CREATE_BATCH_CORRELATE_MESSAGEpublic static final BatchPermissions CREATE_BATCH_CORRELATE_MESSAGE Indicates that CREATE_BATCH_CORRELATE_MESSAGE interactions are permitted
 
- 
 - 
Method Detail- 
valuespublic static BatchPermissions[] 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 (BatchPermissions c : BatchPermissions.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static BatchPermissions valueOf(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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getNamepublic 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
 
 - 
forNamepublic static Permission forName(String name) 
 
- 
 
-