Package org.camunda.bpm.engine.impl.cfg
Interface CommandChecker
- All Known Implementing Classes:
AuthorizationCommandChecker
,TenantCommandChecker
public interface CommandChecker
Is invoked while executing a command to check if the current operation is
allowed on the entity. If it is not allowed, the checker throws a
ProcessEngineException
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkActivateBatch
(BatchEntity batch) Check if it is allowed to activate a batchvoid
Checks if it is allowed to toggle telemetry collection.void
checkCreateBatch
(Permission permission) Check if it is allowed to create a batchvoid
checkCreateCaseInstance
(CaseDefinition caseDefinition) Checks if it is allowed to create an instance of the given case definition.void
Checks if it is allowed to create a deployment.void
checkCreateMigrationPlan
(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition) void
checkCreateProcessInstance
(ProcessDefinition processDefinition) Checks if it is allowed to create an instance of the given process definition.void
Check if it is allowed to create a taskvoid
checkCreateTask
(TaskEntity task) Check if it is allowed to create a taskvoid
checkDeleteBatch
(BatchEntity batch) Check if it is allowed to delete a batchvoid
checkDeleteDeployment
(String deploymentId) Checks if it is allowed to delete a deployment of the given deployment id.void
Check if it is allowed to delete a historic batchvoid
Checks if it is allowed to delete the given historic case instance.void
checkDeleteHistoricDecisionInstance
(String decisionDefinitionKey) Checks if it is allowed to delete the historic decision instance of the given decision definition key.void
Checks if it is allowed to delete the given historic decision instance.void
Checks if it is allowed to delete the given historic process instance.void
Checks if it is allowed to delete the given historic task instance.void
Checks if it is allowed to delete the given historic variable instance.void
Checks if it is allowed to delete the historic variable instances of the given process instance.void
void
void
checkDeleteProcessDefinitionById
(String processDefinitionId) Checks if it is allowed to delete a process definition, which corresponds to the given id.void
checkDeleteProcessDefinitionByKey
(String processDefinitionKey) Checks if it is allowed to delete a process definition, which corresponds to the given key.void
checkDeleteProcessInstance
(ExecutionEntity execution) Check if it is allowed to delete a process instance of the given execution.void
void
checkDeleteTask
(TaskEntity task) Check if it is allowed to delete a taskvoid
void
Check if it is allowed to delete the user operation log of the given user operation log entry.void
checkEvaluateDecision
(DecisionDefinition decisionDefinition) Checks if it is allowed to evaluate the given decision.void
checkMigrateProcessInstance
(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition) void
checkReadCaseDefinition
(CaseDefinition caseDefinition) Checks if it is allowed to read the given case definition.void
checkReadCaseInstance
(CaseExecution caseExecution) Check if it is allowed to read a case instance of the given case execution.void
checkReadDecisionDefinition
(DecisionDefinitionEntity decisionDefinition) Checks if it is allowed to read the given decision definition.void
checkReadDecisionRequirementsDefinition
(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition) Checks if it is allowed to read the given decision requirements definition.void
checkReadDeployment
(String deploymentId) Checks if it is allowed to read a deployment of the given deployment id.void
Check if it is allowed to read historic batchvoid
checkReadHistoricExternalTaskLog
(HistoricExternalTaskLogEntity historicExternalTaskLog) Checks if it is allowed to read the given historic external task log.void
checkReadHistoricJobLog
(HistoricJobLogEventEntity historicJobLog) Checks if it is allowed to read the given historic job log.void
Check if it is allowed to read the history for any process definition.void
void
checkReadHistoryProcessDefinition
(String processDefinitionId) Check if it is allowed to read the history of the given process definition.void
checkReadJob
(JobEntity job) Checks if it is allowed to read the given job.void
void
void
checkReadProcessDefinition
(ProcessDefinition processDefinition) Checks if it is allowed to read the given process definition.void
checkReadProcessInstance
(String processInstanceId) void
checkReadProcessInstance
(ExecutionEntity execution) Checks if it is allowed to read a process instance of the given execution.void
checkReadProcessInstanceVariable
(ExecutionEntity execution) Checks if it is allowed to read a process instance's variables of the given execution.void
void
void
void
void
void
void
checkReadTask
(TaskEntity task) Check if it is allowed to read a task.void
Check if it is allowed to read a task's variable.void
Checks if it is allowed to read the status (ON/OFF) of the telemetry collection.void
Checks if it is allowed to read collected telemetry data.void
void
void
void
void
checkSuspendBatch
(BatchEntity batch) Check if it is allowed to suspend a batchvoid
checkTaskAssign
(TaskEntity task) Check if it is allowed to assign a taskvoid
checkTaskWork
(TaskEntity task) Check if it is allowed to work on a taskvoid
void
void
checkUpdateCaseDefinition
(CaseDefinition caseDefinition) Checks if it is allowed to update the given case definition.void
checkUpdateCaseInstance
(CaseExecution caseExecution) Check if it is allowed to update a case instance of the given case execution.void
checkUpdateDecisionDefinitionById
(String decisionDefinitionId) Checks if it is allowed to update a decision definition with given id.void
checkUpdateJob
(JobEntity job) Checks if it is allowed to update the given job.void
checkUpdateProcessDefinitionById
(String processDefinitionId) Checks if it is allowed to update a process definition of the given process definition id.void
checkUpdateProcessDefinitionByKey
(String processDefinitionKey) Checks if it is allowed to update a process definition of the given process definition key.void
checkUpdateProcessDefinitionSuspensionStateById
(String processDefinitionId) Checks if it is allowed to update the suspension state of a process definition.void
checkUpdateProcessDefinitionSuspensionStateByKey
(String processDefinitionKey) Checks if it is allowed to update the suspension state of a process definition.void
checkUpdateProcessInstance
(ExecutionEntity execution) Checks if it is allowed to update a process instance of the given execution.void
checkUpdateProcessInstanceById
(String processInstanceId) Checks if it is allowed to update a process instance of the given process instance id.void
checkUpdateProcessInstanceByProcessDefinitionId
(String processDefinitionId) Checks if it is allowed to update a process instance of the given process definition id.void
checkUpdateProcessInstanceByProcessDefinitionKey
(String processDefinitionKey) Checks if it is allowed to update a process instance of the given process definition key.void
checkUpdateProcessInstanceSuspensionStateById
(String processInstanceId) Checks if it is allowed to update a process instance's suspension state.void
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionId
(String processDefinitionId) Checks if it is allowed to update a process instance's suspension state of the given process definition.void
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKey
(String processDefinitionKey) Checks if it is allowed to update a process instance's suspension state of the given process definition.void
Checks if it is allowed to update a process instance's variables of the given execution.void
Checks if it is allowed to update a job retries.void
checkUpdateRetriesProcessInstanceByProcessDefinitionId
(String processDefinitionId) Checks if it is allowed to update a process instance's retries of the given process definition.void
Check if it is allowed to update a task's variablevoid
Check if it is allowed to update the user operation log of the given user operation log entry.
-
Method Details
-
checkEvaluateDecision
Checks if it is allowed to evaluate the given decision. -
checkCreateProcessInstance
Checks if it is allowed to create an instance of the given process definition. -
checkReadProcessDefinition
Checks if it is allowed to read the given process definition. -
checkCreateCaseInstance
Checks if it is allowed to create an instance of the given case definition. -
checkUpdateProcessDefinitionById
Checks if it is allowed to update a process definition of the given process definition id. -
checkUpdateProcessDefinitionSuspensionStateById
Checks if it is allowed to update the suspension state of a process definition. -
checkUpdateProcessInstanceByProcessDefinitionId
Checks if it is allowed to update a process instance of the given process definition id. -
checkUpdateRetriesProcessInstanceByProcessDefinitionId
Checks if it is allowed to update a process instance's retries of the given process definition. -
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionId
Checks if it is allowed to update a process instance's suspension state of the given process definition. -
checkUpdateDecisionDefinitionById
Checks if it is allowed to update a decision definition with given id. -
checkUpdateProcessDefinitionByKey
Checks if it is allowed to update a process definition of the given process definition key. -
checkUpdateProcessDefinitionSuspensionStateByKey
Checks if it is allowed to update the suspension state of a process definition. -
checkDeleteProcessDefinitionById
Checks if it is allowed to delete a process definition, which corresponds to the given id.- Parameters:
processDefinitionId
- the id which corresponds to the process definition
-
checkDeleteProcessDefinitionByKey
Checks if it is allowed to delete a process definition, which corresponds to the given key.- Parameters:
processDefinitionKey
- the key which corresponds to the process definition
-
checkUpdateProcessInstanceByProcessDefinitionKey
Checks if it is allowed to update a process instance of the given process definition key. -
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKey
Checks if it is allowed to update a process instance's suspension state of the given process definition. -
checkUpdateProcessInstanceById
Checks if it is allowed to update a process instance of the given process instance id. -
checkUpdateProcessInstanceSuspensionStateById
Checks if it is allowed to update a process instance's suspension state. -
checkUpdateProcessInstance
Checks if it is allowed to update a process instance of the given execution. -
checkUpdateProcessInstanceVariables
Checks if it is allowed to update a process instance's variables of the given execution. -
checkCreateMigrationPlan
void checkCreateMigrationPlan(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition) -
checkMigrateProcessInstance
void checkMigrateProcessInstance(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition) -
checkReadProcessInstance
-
checkReadJob
Checks if it is allowed to read the given job. -
checkUpdateJob
Checks if it is allowed to update the given job. -
checkUpdateRetriesJob
Checks if it is allowed to update a job retries. -
checkReadProcessInstance
Checks if it is allowed to read a process instance of the given execution. -
checkReadProcessInstanceVariable
Checks if it is allowed to read a process instance's variables of the given execution. -
checkDeleteProcessInstance
Check if it is allowed to delete a process instance of the given execution. -
checkReadTask
Check if it is allowed to read a task. -
checkReadTaskVariable
Check if it is allowed to read a task's variable. -
checkUpdateTaskVariable
Check if it is allowed to update a task's variable -
checkCreateBatch
Check if it is allowed to create a batch -
checkDeleteBatch
Check if it is allowed to delete a batch -
checkDeleteHistoricBatch
Check if it is allowed to delete a historic batch -
checkSuspendBatch
Check if it is allowed to suspend a batch -
checkActivateBatch
Check if it is allowed to activate a batch -
checkReadHistoricBatch
void checkReadHistoricBatch()Check if it is allowed to read historic batch -
checkCreateDeployment
void checkCreateDeployment()Checks if it is allowed to create a deployment. -
checkReadDeployment
Checks if it is allowed to read a deployment of the given deployment id. -
checkDeleteDeployment
Checks if it is allowed to delete a deployment of the given deployment id. -
checkTaskAssign
Check if it is allowed to assign a task -
checkCreateTask
Check if it is allowed to create a task -
checkCreateTask
void checkCreateTask()Check if it is allowed to create a task -
checkTaskWork
Check if it is allowed to work on a task -
checkDeleteTask
Check if it is allowed to delete a task -
checkReadDecisionDefinition
Checks if it is allowed to read the given decision definition. -
checkReadDecisionRequirementsDefinition
void checkReadDecisionRequirementsDefinition(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition) Checks if it is allowed to read the given decision requirements definition. -
checkReadCaseDefinition
Checks if it is allowed to read the given case definition. -
checkUpdateCaseDefinition
Checks if it is allowed to update the given case definition. -
checkDeleteHistoricTaskInstance
Checks if it is allowed to delete the given historic task instance. -
checkDeleteHistoricProcessInstance
Checks if it is allowed to delete the given historic process instance. -
checkDeleteHistoricCaseInstance
Checks if it is allowed to delete the given historic case instance. -
checkDeleteHistoricDecisionInstance
Checks if it is allowed to delete the historic decision instance of the given decision definition key. -
checkDeleteHistoricDecisionInstance
Checks if it is allowed to delete the given historic decision instance. -
checkReadHistoricJobLog
Checks if it is allowed to read the given historic job log. -
checkReadHistoryAnyProcessDefinition
void checkReadHistoryAnyProcessDefinition()Check if it is allowed to read the history for any process definition. -
checkReadHistoryProcessDefinition
Check if it is allowed to read the history of the given process definition. -
checkUpdateCaseInstance
Check if it is allowed to update a case instance of the given case execution. -
checkDeleteUserOperationLog
Check if it is allowed to delete the user operation log of the given user operation log entry. -
checkUpdateUserOperationLog
Check if it is allowed to update the user operation log of the given user operation log entry. -
checkReadCaseInstance
Check if it is allowed to read a case instance of the given case execution. -
checkReadHistoricExternalTaskLog
Checks if it is allowed to read the given historic external task log. -
checkDeleteHistoricVariableInstance
Checks if it is allowed to delete the given historic variable instance. -
checkDeleteHistoricVariableInstancesByProcessInstance
Checks if it is allowed to delete the historic variable instances of the given process instance. -
checkReadTelemetryData
void checkReadTelemetryData()Checks if it is allowed to read collected telemetry data. -
checkConfigureTelemetry
void checkConfigureTelemetry()Checks if it is allowed to toggle telemetry collection. -
checkReadTelemetryCollectionStatusData
void checkReadTelemetryCollectionStatusData()Checks if it is allowed to read the status (ON/OFF) of the telemetry collection. -
checkReadHistoryLevel
void checkReadHistoryLevel() -
checkReadTableCount
void checkReadTableCount() -
checkReadTableName
void checkReadTableName() -
checkReadTableMetaData
void checkReadTableMetaData() -
checkReadProperties
void checkReadProperties() -
checkSetProperty
void checkSetProperty() -
checkDeleteProperty
void checkDeleteProperty() -
checkDeleteLicenseKey
void checkDeleteLicenseKey() -
checkSetLicenseKey
void checkSetLicenseKey() -
checkReadLicenseKey
void checkReadLicenseKey() -
checkRegisterProcessApplication
void checkRegisterProcessApplication() -
checkUnregisterProcessApplication
void checkUnregisterProcessApplication() -
checkReadRegisteredDeployments
void checkReadRegisteredDeployments() -
checkReadProcessApplicationForDeployment
void checkReadProcessApplicationForDeployment() -
checkRegisterDeployment
void checkRegisterDeployment() -
checkUnregisterDeployment
void checkUnregisterDeployment() -
checkDeleteMetrics
void checkDeleteMetrics() -
checkDeleteTaskMetrics
void checkDeleteTaskMetrics() -
checkReadSchemaLog
void checkReadSchemaLog()
-