Class TenantCommandChecker
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.multitenancy.TenantCommandChecker
-
- All Implemented Interfaces:
CommandChecker
public class TenantCommandChecker extends Object implements CommandChecker
CommandChecker
to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
-
-
Field Summary
Fields Modifier and Type Field Description protected static CommandLogger
LOG
-
Constructor Summary
Constructors Constructor Description TenantCommandChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkActivateBatch(BatchEntity batch)
Check if it is allowed to activate a batchvoid
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
checkCreateDeployment()
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
checkCreateTask()
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
checkDeleteHistoricBatch(HistoricBatchEntity batch)
Check if it is allowed to delete a historic batchvoid
checkDeleteHistoricCaseInstance(HistoricCaseInstance instance)
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
checkDeleteHistoricDecisionInstance(HistoricDecisionInstance decisionInstance)
Checks if it is allowed to delete the given historic decision instance.void
checkDeleteHistoricProcessInstance(HistoricProcessInstance instance)
Checks if it is allowed to delete the given historic process instance.void
checkDeleteHistoricTaskInstance(HistoricTaskInstanceEntity task)
Checks if it is allowed to delete the given historic task instance.void
checkDeleteHistoricVariableInstance(HistoricVariableInstanceEntity variable)
Checks if it is allowed to delete the given historic variable instance.void
checkDeleteHistoricVariableInstancesByProcessInstance(HistoricProcessInstanceEntity instance)
Checks if it is allowed to delete the historic variable instances of the given process instance.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
checkDeleteTask(TaskEntity task)
Check if it is allowed to delete a taskvoid
checkDeleteUserOperationLog(UserOperationLogEntry entry)
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
checkReadHistoricBatch()
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
checkReadHistoryAnyProcessDefinition()
Check if it is allowed to read the history for any process definition.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
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
checkReadTask(TaskEntity task)
Check if it is allowed to read a task.void
checkReadTaskVariable(TaskEntity task)
Check if it is allowed to read a task's variable.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
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
checkUpdateProcessInstanceVariables(ExecutionEntity execution)
Checks if it is allowed to update a process instance's variables of the given execution.void
checkUpdateRetriesJob(JobEntity job)
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
checkUpdateTaskVariable(TaskEntity task)
Check if it is allowed to update a task's variablevoid
checkUpdateUserOperationLog(UserOperationLogEntry entry)
Check if it is allowed to update the user operation log of the given user operation log entry.protected DeploymentEntity
findDeploymentById(String deploymentId)
protected ExecutionEntity
findExecutionById(String processInstanceId)
protected DecisionDefinitionEntity
findLatestDecisionDefinitionById(String decisionDefinitionId)
protected ProcessDefinitionEntity
findLatestProcessDefinitionById(String processDefinitionId)
protected TenantManager
getTenantManager()
-
-
-
Field Detail
-
LOG
protected static final CommandLogger LOG
-
-
Method Detail
-
checkEvaluateDecision
public void checkEvaluateDecision(DecisionDefinition decisionDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to evaluate the given decision.- Specified by:
checkEvaluateDecision
in interfaceCommandChecker
-
checkCreateProcessInstance
public void checkCreateProcessInstance(ProcessDefinition processDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to create an instance of the given process definition.- Specified by:
checkCreateProcessInstance
in interfaceCommandChecker
-
checkReadProcessDefinition
public void checkReadProcessDefinition(ProcessDefinition processDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to read the given process definition.- Specified by:
checkReadProcessDefinition
in interfaceCommandChecker
-
checkCreateCaseInstance
public void checkCreateCaseInstance(CaseDefinition caseDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to create an instance of the given case definition.- Specified by:
checkCreateCaseInstance
in interfaceCommandChecker
-
checkUpdateProcessDefinitionById
public void checkUpdateProcessDefinitionById(String processDefinitionId)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process definition of the given process definition id.- Specified by:
checkUpdateProcessDefinitionById
in interfaceCommandChecker
-
checkUpdateProcessDefinitionSuspensionStateById
public void checkUpdateProcessDefinitionSuspensionStateById(String processDefinitionId)
Description copied from interface:CommandChecker
Checks if it is allowed to update the suspension state of a process definition.- Specified by:
checkUpdateProcessDefinitionSuspensionStateById
in interfaceCommandChecker
-
checkUpdateProcessDefinitionByKey
public void checkUpdateProcessDefinitionByKey(String processDefinitionKey)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process definition of the given process definition key.- Specified by:
checkUpdateProcessDefinitionByKey
in interfaceCommandChecker
-
checkUpdateProcessDefinitionSuspensionStateByKey
public void checkUpdateProcessDefinitionSuspensionStateByKey(String processDefinitionKey)
Description copied from interface:CommandChecker
Checks if it is allowed to update the suspension state of a process definition.- Specified by:
checkUpdateProcessDefinitionSuspensionStateByKey
in interfaceCommandChecker
-
checkDeleteProcessDefinitionById
public void checkDeleteProcessDefinitionById(String processDefinitionId)
Description copied from interface:CommandChecker
Checks if it is allowed to delete a process definition, which corresponds to the given id.- Specified by:
checkDeleteProcessDefinitionById
in interfaceCommandChecker
- Parameters:
processDefinitionId
- the id which corresponds to the process definition
-
checkDeleteProcessDefinitionByKey
public void checkDeleteProcessDefinitionByKey(String processDefinitionKey)
Description copied from interface:CommandChecker
Checks if it is allowed to delete a process definition, which corresponds to the given key.- Specified by:
checkDeleteProcessDefinitionByKey
in interfaceCommandChecker
- Parameters:
processDefinitionKey
- the key which corresponds to the process definition
-
checkUpdateProcessInstanceByProcessDefinitionId
public void checkUpdateProcessInstanceByProcessDefinitionId(String processDefinitionId)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance of the given process definition id.- Specified by:
checkUpdateProcessInstanceByProcessDefinitionId
in interfaceCommandChecker
-
checkUpdateRetriesProcessInstanceByProcessDefinitionId
public void checkUpdateRetriesProcessInstanceByProcessDefinitionId(String processDefinitionId)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance's retries of the given process definition.- Specified by:
checkUpdateRetriesProcessInstanceByProcessDefinitionId
in interfaceCommandChecker
-
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionId
public void checkUpdateProcessInstanceSuspensionStateByProcessDefinitionId(String processDefinitionId)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance's suspension state of the given process definition.- Specified by:
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionId
in interfaceCommandChecker
-
checkUpdateProcessInstance
public void checkUpdateProcessInstance(ExecutionEntity execution)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance of the given execution.- Specified by:
checkUpdateProcessInstance
in interfaceCommandChecker
-
checkUpdateProcessInstanceVariables
public void checkUpdateProcessInstanceVariables(ExecutionEntity execution)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance's variables of the given execution.- Specified by:
checkUpdateProcessInstanceVariables
in interfaceCommandChecker
-
checkUpdateJob
public void checkUpdateJob(JobEntity job)
Description copied from interface:CommandChecker
Checks if it is allowed to update the given job.- Specified by:
checkUpdateJob
in interfaceCommandChecker
-
checkUpdateRetriesJob
public void checkUpdateRetriesJob(JobEntity job)
Description copied from interface:CommandChecker
Checks if it is allowed to update a job retries.- Specified by:
checkUpdateRetriesJob
in interfaceCommandChecker
-
checkUpdateProcessInstanceByProcessDefinitionKey
public void checkUpdateProcessInstanceByProcessDefinitionKey(String processDefinitionKey)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance of the given process definition key.- Specified by:
checkUpdateProcessInstanceByProcessDefinitionKey
in interfaceCommandChecker
-
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKey
public void checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKey(String processDefinitionKey)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance's suspension state of the given process definition.- Specified by:
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKey
in interfaceCommandChecker
-
checkUpdateProcessInstanceById
public void checkUpdateProcessInstanceById(String processInstanceId)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance of the given process instance id.- Specified by:
checkUpdateProcessInstanceById
in interfaceCommandChecker
-
checkUpdateProcessInstanceSuspensionStateById
public void checkUpdateProcessInstanceSuspensionStateById(String processInstanceId)
Description copied from interface:CommandChecker
Checks if it is allowed to update a process instance's suspension state.- Specified by:
checkUpdateProcessInstanceSuspensionStateById
in interfaceCommandChecker
-
checkCreateMigrationPlan
public void checkCreateMigrationPlan(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition)
- Specified by:
checkCreateMigrationPlan
in interfaceCommandChecker
-
checkReadProcessInstance
public void checkReadProcessInstance(String processInstanceId)
- Specified by:
checkReadProcessInstance
in interfaceCommandChecker
-
checkReadJob
public void checkReadJob(JobEntity job)
Description copied from interface:CommandChecker
Checks if it is allowed to read the given job.- Specified by:
checkReadJob
in interfaceCommandChecker
-
checkReadProcessInstance
public void checkReadProcessInstance(ExecutionEntity execution)
Description copied from interface:CommandChecker
Checks if it is allowed to read a process instance of the given execution.- Specified by:
checkReadProcessInstance
in interfaceCommandChecker
-
checkReadProcessInstanceVariable
public void checkReadProcessInstanceVariable(ExecutionEntity execution)
Description copied from interface:CommandChecker
Checks if it is allowed to read a process instance's variables of the given execution.- Specified by:
checkReadProcessInstanceVariable
in interfaceCommandChecker
-
checkDeleteProcessInstance
public void checkDeleteProcessInstance(ExecutionEntity execution)
Description copied from interface:CommandChecker
Check if it is allowed to delete a process instance of the given execution.- Specified by:
checkDeleteProcessInstance
in interfaceCommandChecker
-
checkMigrateProcessInstance
public void checkMigrateProcessInstance(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition)
- Specified by:
checkMigrateProcessInstance
in interfaceCommandChecker
-
checkReadTask
public void checkReadTask(TaskEntity task)
Description copied from interface:CommandChecker
Check if it is allowed to read a task.- Specified by:
checkReadTask
in interfaceCommandChecker
-
checkReadTaskVariable
public void checkReadTaskVariable(TaskEntity task)
Description copied from interface:CommandChecker
Check if it is allowed to read a task's variable.- Specified by:
checkReadTaskVariable
in interfaceCommandChecker
-
checkUpdateTaskVariable
public void checkUpdateTaskVariable(TaskEntity task)
Description copied from interface:CommandChecker
Check if it is allowed to update a task's variable- Specified by:
checkUpdateTaskVariable
in interfaceCommandChecker
-
checkCreateBatch
public void checkCreateBatch(Permission permission)
Description copied from interface:CommandChecker
Check if it is allowed to create a batch- Specified by:
checkCreateBatch
in interfaceCommandChecker
-
checkDeleteBatch
public void checkDeleteBatch(BatchEntity batch)
Description copied from interface:CommandChecker
Check if it is allowed to delete a batch- Specified by:
checkDeleteBatch
in interfaceCommandChecker
-
checkDeleteHistoricBatch
public void checkDeleteHistoricBatch(HistoricBatchEntity batch)
Description copied from interface:CommandChecker
Check if it is allowed to delete a historic batch- Specified by:
checkDeleteHistoricBatch
in interfaceCommandChecker
-
checkSuspendBatch
public void checkSuspendBatch(BatchEntity batch)
Description copied from interface:CommandChecker
Check if it is allowed to suspend a batch- Specified by:
checkSuspendBatch
in interfaceCommandChecker
-
checkActivateBatch
public void checkActivateBatch(BatchEntity batch)
Description copied from interface:CommandChecker
Check if it is allowed to activate a batch- Specified by:
checkActivateBatch
in interfaceCommandChecker
-
checkReadHistoricBatch
public void checkReadHistoricBatch()
Description copied from interface:CommandChecker
Check if it is allowed to read historic batch- Specified by:
checkReadHistoricBatch
in interfaceCommandChecker
-
checkCreateDeployment
public void checkCreateDeployment()
Description copied from interface:CommandChecker
Checks if it is allowed to create a deployment.- Specified by:
checkCreateDeployment
in interfaceCommandChecker
-
checkReadDeployment
public void checkReadDeployment(String deploymentId)
Description copied from interface:CommandChecker
Checks if it is allowed to read a deployment of the given deployment id.- Specified by:
checkReadDeployment
in interfaceCommandChecker
-
checkDeleteDeployment
public void checkDeleteDeployment(String deploymentId)
Description copied from interface:CommandChecker
Checks if it is allowed to delete a deployment of the given deployment id.- Specified by:
checkDeleteDeployment
in interfaceCommandChecker
-
checkDeleteTask
public void checkDeleteTask(TaskEntity task)
Description copied from interface:CommandChecker
Check if it is allowed to delete a task- Specified by:
checkDeleteTask
in interfaceCommandChecker
-
checkTaskAssign
public void checkTaskAssign(TaskEntity task)
Description copied from interface:CommandChecker
Check if it is allowed to assign a task- Specified by:
checkTaskAssign
in interfaceCommandChecker
-
checkCreateTask
public void checkCreateTask(TaskEntity task)
Description copied from interface:CommandChecker
Check if it is allowed to create a task- Specified by:
checkCreateTask
in interfaceCommandChecker
-
checkCreateTask
public void checkCreateTask()
Description copied from interface:CommandChecker
Check if it is allowed to create a task- Specified by:
checkCreateTask
in interfaceCommandChecker
-
checkTaskWork
public void checkTaskWork(TaskEntity task)
Description copied from interface:CommandChecker
Check if it is allowed to work on a task- Specified by:
checkTaskWork
in interfaceCommandChecker
-
checkReadDecisionDefinition
public void checkReadDecisionDefinition(DecisionDefinitionEntity decisionDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to read the given decision definition.- Specified by:
checkReadDecisionDefinition
in interfaceCommandChecker
-
checkUpdateDecisionDefinitionById
public void checkUpdateDecisionDefinitionById(String decisionDefinitionId)
Description copied from interface:CommandChecker
Checks if it is allowed to update a decision definition with given id.- Specified by:
checkUpdateDecisionDefinitionById
in interfaceCommandChecker
-
checkReadDecisionRequirementsDefinition
public void checkReadDecisionRequirementsDefinition(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to read the given decision requirements definition.- Specified by:
checkReadDecisionRequirementsDefinition
in interfaceCommandChecker
-
checkReadCaseDefinition
public void checkReadCaseDefinition(CaseDefinition caseDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to read the given case definition.- Specified by:
checkReadCaseDefinition
in interfaceCommandChecker
-
checkUpdateCaseDefinition
public void checkUpdateCaseDefinition(CaseDefinition caseDefinition)
Description copied from interface:CommandChecker
Checks if it is allowed to update the given case definition.- Specified by:
checkUpdateCaseDefinition
in interfaceCommandChecker
-
checkDeleteHistoricTaskInstance
public void checkDeleteHistoricTaskInstance(HistoricTaskInstanceEntity task)
Description copied from interface:CommandChecker
Checks if it is allowed to delete the given historic task instance.- Specified by:
checkDeleteHistoricTaskInstance
in interfaceCommandChecker
-
checkDeleteHistoricProcessInstance
public void checkDeleteHistoricProcessInstance(HistoricProcessInstance instance)
Description copied from interface:CommandChecker
Checks if it is allowed to delete the given historic process instance.- Specified by:
checkDeleteHistoricProcessInstance
in interfaceCommandChecker
-
checkDeleteHistoricCaseInstance
public void checkDeleteHistoricCaseInstance(HistoricCaseInstance instance)
Description copied from interface:CommandChecker
Checks if it is allowed to delete the given historic case instance.- Specified by:
checkDeleteHistoricCaseInstance
in interfaceCommandChecker
-
checkDeleteHistoricDecisionInstance
public void checkDeleteHistoricDecisionInstance(String decisionDefinitionKey)
Description copied from interface:CommandChecker
Checks if it is allowed to delete the historic decision instance of the given decision definition key.- Specified by:
checkDeleteHistoricDecisionInstance
in interfaceCommandChecker
-
checkDeleteHistoricDecisionInstance
public void checkDeleteHistoricDecisionInstance(HistoricDecisionInstance decisionInstance)
Description copied from interface:CommandChecker
Checks if it is allowed to delete the given historic decision instance.- Specified by:
checkDeleteHistoricDecisionInstance
in interfaceCommandChecker
-
checkDeleteHistoricVariableInstance
public void checkDeleteHistoricVariableInstance(HistoricVariableInstanceEntity variable)
Description copied from interface:CommandChecker
Checks if it is allowed to delete the given historic variable instance.- Specified by:
checkDeleteHistoricVariableInstance
in interfaceCommandChecker
-
checkDeleteHistoricVariableInstancesByProcessInstance
public void checkDeleteHistoricVariableInstancesByProcessInstance(HistoricProcessInstanceEntity instance)
Description copied from interface:CommandChecker
Checks if it is allowed to delete the historic variable instances of the given process instance.- Specified by:
checkDeleteHistoricVariableInstancesByProcessInstance
in interfaceCommandChecker
-
checkReadHistoricJobLog
public void checkReadHistoricJobLog(HistoricJobLogEventEntity historicJobLog)
Description copied from interface:CommandChecker
Checks if it is allowed to read the given historic job log.- Specified by:
checkReadHistoricJobLog
in interfaceCommandChecker
-
checkReadHistoryAnyProcessDefinition
public void checkReadHistoryAnyProcessDefinition()
Description copied from interface:CommandChecker
Check if it is allowed to read the history for any process definition.- Specified by:
checkReadHistoryAnyProcessDefinition
in interfaceCommandChecker
-
checkReadHistoryProcessDefinition
public void checkReadHistoryProcessDefinition(String processDefinitionId)
Description copied from interface:CommandChecker
Check if it is allowed to read the history of the given process definition.- Specified by:
checkReadHistoryProcessDefinition
in interfaceCommandChecker
-
checkUpdateCaseInstance
public void checkUpdateCaseInstance(CaseExecution caseExecution)
Description copied from interface:CommandChecker
Check if it is allowed to update a case instance of the given case execution.- Specified by:
checkUpdateCaseInstance
in interfaceCommandChecker
-
checkReadCaseInstance
public void checkReadCaseInstance(CaseExecution caseExecution)
Description copied from interface:CommandChecker
Check if it is allowed to read a case instance of the given case execution.- Specified by:
checkReadCaseInstance
in interfaceCommandChecker
-
checkDeleteUserOperationLog
public void checkDeleteUserOperationLog(UserOperationLogEntry entry)
Description copied from interface:CommandChecker
Check if it is allowed to delete the user operation log of the given user operation log entry.- Specified by:
checkDeleteUserOperationLog
in interfaceCommandChecker
-
checkUpdateUserOperationLog
public void checkUpdateUserOperationLog(UserOperationLogEntry entry)
Description copied from interface:CommandChecker
Check if it is allowed to update the user operation log of the given user operation log entry.- Specified by:
checkUpdateUserOperationLog
in interfaceCommandChecker
-
checkReadHistoricExternalTaskLog
public void checkReadHistoricExternalTaskLog(HistoricExternalTaskLogEntity historicExternalTaskLog)
Description copied from interface:CommandChecker
Checks if it is allowed to read the given historic external task log.- Specified by:
checkReadHistoricExternalTaskLog
in interfaceCommandChecker
-
getTenantManager
protected TenantManager getTenantManager()
-
findLatestProcessDefinitionById
protected ProcessDefinitionEntity findLatestProcessDefinitionById(String processDefinitionId)
-
findLatestDecisionDefinitionById
protected DecisionDefinitionEntity findLatestDecisionDefinitionById(String decisionDefinitionId)
-
findExecutionById
protected ExecutionEntity findExecutionById(String processInstanceId)
-
findDeploymentById
protected DeploymentEntity findDeploymentById(String deploymentId)
-
-