Class TenantCommandChecker
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.multitenancy.TenantCommandChecker
-
- All Implemented Interfaces:
CommandChecker
public class TenantCommandChecker extends java.lang.Object implements CommandChecker
CommandCheckerto 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 CommandLoggerLOG
-
Constructor Summary
Constructors Constructor Description TenantCommandChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckActivateBatch(BatchEntity batch)Check if it is allowed to activate a batchvoidcheckConfigureTelemetry()Checks if it is allowed to toggle telemetry collection.voidcheckCreateBatch(Permission permission)Check if it is allowed to create a batchvoidcheckCreateCaseInstance(CaseDefinition caseDefinition)Checks if it is allowed to create an instance of the given case definition.voidcheckCreateDeployment()Checks if it is allowed to create a deployment.voidcheckCreateMigrationPlan(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition)voidcheckCreateProcessInstance(ProcessDefinition processDefinition)Checks if it is allowed to create an instance of the given process definition.voidcheckCreateTask()Check if it is allowed to create a taskvoidcheckCreateTask(TaskEntity task)Check if it is allowed to create a taskvoidcheckDeleteBatch(BatchEntity batch)Check if it is allowed to delete a batchvoidcheckDeleteDeployment(java.lang.String deploymentId)Checks if it is allowed to delete a deployment of the given deployment id.voidcheckDeleteHistoricBatch(HistoricBatchEntity batch)Check if it is allowed to delete a historic batchvoidcheckDeleteHistoricCaseInstance(HistoricCaseInstance instance)Checks if it is allowed to delete the given historic case instance.voidcheckDeleteHistoricDecisionInstance(java.lang.String decisionDefinitionKey)Checks if it is allowed to delete the historic decision instance of the given decision definition key.voidcheckDeleteHistoricDecisionInstance(HistoricDecisionInstance decisionInstance)Checks if it is allowed to delete the given historic decision instance.voidcheckDeleteHistoricProcessInstance(HistoricProcessInstance instance)Checks if it is allowed to delete the given historic process instance.voidcheckDeleteHistoricTaskInstance(HistoricTaskInstanceEntity task)Checks if it is allowed to delete the given historic task instance.voidcheckDeleteHistoricVariableInstance(HistoricVariableInstanceEntity variable)Checks if it is allowed to delete the given historic variable instance.voidcheckDeleteHistoricVariableInstancesByProcessInstance(HistoricProcessInstanceEntity instance)Checks if it is allowed to delete the historic variable instances of the given process instance.voidcheckDeleteLicenseKey()voidcheckDeleteMetrics()voidcheckDeleteProcessDefinitionById(java.lang.String processDefinitionId)Checks if it is allowed to delete a process definition, which corresponds to the given id.voidcheckDeleteProcessDefinitionByKey(java.lang.String processDefinitionKey)Checks if it is allowed to delete a process definition, which corresponds to the given key.voidcheckDeleteProcessInstance(ExecutionEntity execution)Check if it is allowed to delete a process instance of the given execution.voidcheckDeleteProperty()voidcheckDeleteTask(TaskEntity task)Check if it is allowed to delete a taskvoidcheckDeleteTaskMetrics()voidcheckDeleteUserOperationLog(UserOperationLogEntry entry)Check if it is allowed to delete the user operation log of the given user operation log entry.voidcheckEvaluateDecision(DecisionDefinition decisionDefinition)Checks if it is allowed to evaluate the given decision.voidcheckMigrateProcessInstance(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition)voidcheckReadCaseDefinition(CaseDefinition caseDefinition)Checks if it is allowed to read the given case definition.voidcheckReadCaseInstance(CaseExecution caseExecution)Check if it is allowed to read a case instance of the given case execution.voidcheckReadDecisionDefinition(DecisionDefinitionEntity decisionDefinition)Checks if it is allowed to read the given decision definition.voidcheckReadDecisionRequirementsDefinition(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition)Checks if it is allowed to read the given decision requirements definition.voidcheckReadDeployment(java.lang.String deploymentId)Checks if it is allowed to read a deployment of the given deployment id.voidcheckReadHistoricBatch()Check if it is allowed to read historic batchvoidcheckReadHistoricExternalTaskLog(HistoricExternalTaskLogEntity historicExternalTaskLog)Checks if it is allowed to read the given historic external task log.voidcheckReadHistoricJobLog(HistoricJobLogEventEntity historicJobLog)Checks if it is allowed to read the given historic job log.voidcheckReadHistoryAnyProcessDefinition()Check if it is allowed to read the history for any process definition.voidcheckReadHistoryLevel()voidcheckReadHistoryProcessDefinition(java.lang.String processDefinitionId)Check if it is allowed to read the history of the given process definition.voidcheckReadJob(JobEntity job)Checks if it is allowed to read the given job.voidcheckReadLicenseKey()voidcheckReadProcessApplicationForDeployment()voidcheckReadProcessDefinition(ProcessDefinition processDefinition)Checks if it is allowed to read the given process definition.voidcheckReadProcessInstance(java.lang.String processInstanceId)voidcheckReadProcessInstance(ExecutionEntity execution)Checks if it is allowed to read a process instance of the given execution.voidcheckReadProcessInstanceVariable(ExecutionEntity execution)Checks if it is allowed to read a process instance's variables of the given execution.voidcheckReadProperties()voidcheckReadRegisteredDeployments()voidcheckReadSchemaLog()voidcheckReadTableCount()voidcheckReadTableMetaData()voidcheckReadTableName()voidcheckReadTask(TaskEntity task)Check if it is allowed to read a task.voidcheckReadTaskVariable(TaskEntity task)Check if it is allowed to read a task's variable.voidcheckReadTelemetryCollectionStatusData()Checks if it is allowed to read the status (ON/OFF) of the telemetry collection.voidcheckReadTelemetryData()Checks if it is allowed to read collected telemetry data.voidcheckRegisterDeployment()voidcheckRegisterProcessApplication()voidcheckSetLicenseKey()voidcheckSetProperty()voidcheckSuspendBatch(BatchEntity batch)Check if it is allowed to suspend a batchvoidcheckTaskAssign(TaskEntity task)Check if it is allowed to assign a taskvoidcheckTaskWork(TaskEntity task)Check if it is allowed to work on a taskvoidcheckUnregisterDeployment()voidcheckUnregisterProcessApplication()voidcheckUpdateCaseDefinition(CaseDefinition caseDefinition)Checks if it is allowed to update the given case definition.voidcheckUpdateCaseInstance(CaseExecution caseExecution)Check if it is allowed to update a case instance of the given case execution.voidcheckUpdateDecisionDefinitionById(java.lang.String decisionDefinitionId)Checks if it is allowed to update a decision definition with given id.voidcheckUpdateJob(JobEntity job)Checks if it is allowed to update the given job.voidcheckUpdateProcessDefinitionById(java.lang.String processDefinitionId)Checks if it is allowed to update a process definition of the given process definition id.voidcheckUpdateProcessDefinitionByKey(java.lang.String processDefinitionKey)Checks if it is allowed to update a process definition of the given process definition key.voidcheckUpdateProcessDefinitionSuspensionStateById(java.lang.String processDefinitionId)Checks if it is allowed to update the suspension state of a process definition.voidcheckUpdateProcessDefinitionSuspensionStateByKey(java.lang.String processDefinitionKey)Checks if it is allowed to update the suspension state of a process definition.voidcheckUpdateProcessInstance(ExecutionEntity execution)Checks if it is allowed to update a process instance of the given execution.voidcheckUpdateProcessInstanceById(java.lang.String processInstanceId)Checks if it is allowed to update a process instance of the given process instance id.voidcheckUpdateProcessInstanceByProcessDefinitionId(java.lang.String processDefinitionId)Checks if it is allowed to update a process instance of the given process definition id.voidcheckUpdateProcessInstanceByProcessDefinitionKey(java.lang.String processDefinitionKey)Checks if it is allowed to update a process instance of the given process definition key.voidcheckUpdateProcessInstanceSuspensionStateById(java.lang.String processInstanceId)Checks if it is allowed to update a process instance's suspension state.voidcheckUpdateProcessInstanceSuspensionStateByProcessDefinitionId(java.lang.String processDefinitionId)Checks if it is allowed to update a process instance's suspension state of the given process definition.voidcheckUpdateProcessInstanceSuspensionStateByProcessDefinitionKey(java.lang.String processDefinitionKey)Checks if it is allowed to update a process instance's suspension state of the given process definition.voidcheckUpdateProcessInstanceVariables(ExecutionEntity execution)Checks if it is allowed to update a process instance's variables of the given execution.voidcheckUpdateRetriesJob(JobEntity job)Checks if it is allowed to update a job retries.voidcheckUpdateRetriesProcessInstanceByProcessDefinitionId(java.lang.String processDefinitionId)Checks if it is allowed to update a process instance's retries of the given process definition.voidcheckUpdateTaskVariable(TaskEntity task)Check if it is allowed to update a task's variablevoidcheckUpdateUserOperationLog(UserOperationLogEntry entry)Check if it is allowed to update the user operation log of the given user operation log entry.protected DeploymentEntityfindDeploymentById(java.lang.String deploymentId)protected ExecutionEntityfindExecutionById(java.lang.String processInstanceId)protected DecisionDefinitionEntityfindLatestDecisionDefinitionById(java.lang.String decisionDefinitionId)protected ProcessDefinitionEntityfindLatestProcessDefinitionById(java.lang.String processDefinitionId)protected TenantManagergetTenantManager()
-
-
-
Field Detail
-
LOG
protected static final CommandLogger LOG
-
-
Method Detail
-
checkEvaluateDecision
public void checkEvaluateDecision(DecisionDefinition decisionDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to evaluate the given decision.- Specified by:
checkEvaluateDecisionin interfaceCommandChecker
-
checkCreateProcessInstance
public void checkCreateProcessInstance(ProcessDefinition processDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to create an instance of the given process definition.- Specified by:
checkCreateProcessInstancein interfaceCommandChecker
-
checkReadProcessDefinition
public void checkReadProcessDefinition(ProcessDefinition processDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to read the given process definition.- Specified by:
checkReadProcessDefinitionin interfaceCommandChecker
-
checkCreateCaseInstance
public void checkCreateCaseInstance(CaseDefinition caseDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to create an instance of the given case definition.- Specified by:
checkCreateCaseInstancein interfaceCommandChecker
-
checkUpdateProcessDefinitionById
public void checkUpdateProcessDefinitionById(java.lang.String processDefinitionId)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process definition of the given process definition id.- Specified by:
checkUpdateProcessDefinitionByIdin interfaceCommandChecker
-
checkUpdateProcessDefinitionSuspensionStateById
public void checkUpdateProcessDefinitionSuspensionStateById(java.lang.String processDefinitionId)
Description copied from interface:CommandCheckerChecks if it is allowed to update the suspension state of a process definition.- Specified by:
checkUpdateProcessDefinitionSuspensionStateByIdin interfaceCommandChecker
-
checkUpdateProcessDefinitionByKey
public void checkUpdateProcessDefinitionByKey(java.lang.String processDefinitionKey)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process definition of the given process definition key.- Specified by:
checkUpdateProcessDefinitionByKeyin interfaceCommandChecker
-
checkUpdateProcessDefinitionSuspensionStateByKey
public void checkUpdateProcessDefinitionSuspensionStateByKey(java.lang.String processDefinitionKey)
Description copied from interface:CommandCheckerChecks if it is allowed to update the suspension state of a process definition.- Specified by:
checkUpdateProcessDefinitionSuspensionStateByKeyin interfaceCommandChecker
-
checkDeleteProcessDefinitionById
public void checkDeleteProcessDefinitionById(java.lang.String processDefinitionId)
Description copied from interface:CommandCheckerChecks if it is allowed to delete a process definition, which corresponds to the given id.- Specified by:
checkDeleteProcessDefinitionByIdin interfaceCommandChecker- Parameters:
processDefinitionId- the id which corresponds to the process definition
-
checkDeleteProcessDefinitionByKey
public void checkDeleteProcessDefinitionByKey(java.lang.String processDefinitionKey)
Description copied from interface:CommandCheckerChecks if it is allowed to delete a process definition, which corresponds to the given key.- Specified by:
checkDeleteProcessDefinitionByKeyin interfaceCommandChecker- Parameters:
processDefinitionKey- the key which corresponds to the process definition
-
checkUpdateProcessInstanceByProcessDefinitionId
public void checkUpdateProcessInstanceByProcessDefinitionId(java.lang.String processDefinitionId)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance of the given process definition id.- Specified by:
checkUpdateProcessInstanceByProcessDefinitionIdin interfaceCommandChecker
-
checkUpdateRetriesProcessInstanceByProcessDefinitionId
public void checkUpdateRetriesProcessInstanceByProcessDefinitionId(java.lang.String processDefinitionId)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance's retries of the given process definition.- Specified by:
checkUpdateRetriesProcessInstanceByProcessDefinitionIdin interfaceCommandChecker
-
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionId
public void checkUpdateProcessInstanceSuspensionStateByProcessDefinitionId(java.lang.String processDefinitionId)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance's suspension state of the given process definition.- Specified by:
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionIdin interfaceCommandChecker
-
checkUpdateProcessInstance
public void checkUpdateProcessInstance(ExecutionEntity execution)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance of the given execution.- Specified by:
checkUpdateProcessInstancein interfaceCommandChecker
-
checkUpdateProcessInstanceVariables
public void checkUpdateProcessInstanceVariables(ExecutionEntity execution)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance's variables of the given execution.- Specified by:
checkUpdateProcessInstanceVariablesin interfaceCommandChecker
-
checkUpdateJob
public void checkUpdateJob(JobEntity job)
Description copied from interface:CommandCheckerChecks if it is allowed to update the given job.- Specified by:
checkUpdateJobin interfaceCommandChecker
-
checkUpdateRetriesJob
public void checkUpdateRetriesJob(JobEntity job)
Description copied from interface:CommandCheckerChecks if it is allowed to update a job retries.- Specified by:
checkUpdateRetriesJobin interfaceCommandChecker
-
checkUpdateProcessInstanceByProcessDefinitionKey
public void checkUpdateProcessInstanceByProcessDefinitionKey(java.lang.String processDefinitionKey)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance of the given process definition key.- Specified by:
checkUpdateProcessInstanceByProcessDefinitionKeyin interfaceCommandChecker
-
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKey
public void checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKey(java.lang.String processDefinitionKey)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance's suspension state of the given process definition.- Specified by:
checkUpdateProcessInstanceSuspensionStateByProcessDefinitionKeyin interfaceCommandChecker
-
checkUpdateProcessInstanceById
public void checkUpdateProcessInstanceById(java.lang.String processInstanceId)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance of the given process instance id.- Specified by:
checkUpdateProcessInstanceByIdin interfaceCommandChecker
-
checkUpdateProcessInstanceSuspensionStateById
public void checkUpdateProcessInstanceSuspensionStateById(java.lang.String processInstanceId)
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance's suspension state.- Specified by:
checkUpdateProcessInstanceSuspensionStateByIdin interfaceCommandChecker
-
checkCreateMigrationPlan
public void checkCreateMigrationPlan(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition)
- Specified by:
checkCreateMigrationPlanin interfaceCommandChecker
-
checkReadProcessInstance
public void checkReadProcessInstance(java.lang.String processInstanceId)
- Specified by:
checkReadProcessInstancein interfaceCommandChecker
-
checkReadJob
public void checkReadJob(JobEntity job)
Description copied from interface:CommandCheckerChecks if it is allowed to read the given job.- Specified by:
checkReadJobin interfaceCommandChecker
-
checkReadProcessInstance
public void checkReadProcessInstance(ExecutionEntity execution)
Description copied from interface:CommandCheckerChecks if it is allowed to read a process instance of the given execution.- Specified by:
checkReadProcessInstancein interfaceCommandChecker
-
checkReadProcessInstanceVariable
public void checkReadProcessInstanceVariable(ExecutionEntity execution)
Description copied from interface:CommandCheckerChecks if it is allowed to read a process instance's variables of the given execution.- Specified by:
checkReadProcessInstanceVariablein interfaceCommandChecker
-
checkDeleteProcessInstance
public void checkDeleteProcessInstance(ExecutionEntity execution)
Description copied from interface:CommandCheckerCheck if it is allowed to delete a process instance of the given execution.- Specified by:
checkDeleteProcessInstancein interfaceCommandChecker
-
checkMigrateProcessInstance
public void checkMigrateProcessInstance(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition)
- Specified by:
checkMigrateProcessInstancein interfaceCommandChecker
-
checkReadTask
public void checkReadTask(TaskEntity task)
Description copied from interface:CommandCheckerCheck if it is allowed to read a task.- Specified by:
checkReadTaskin interfaceCommandChecker
-
checkReadTaskVariable
public void checkReadTaskVariable(TaskEntity task)
Description copied from interface:CommandCheckerCheck if it is allowed to read a task's variable.- Specified by:
checkReadTaskVariablein interfaceCommandChecker
-
checkUpdateTaskVariable
public void checkUpdateTaskVariable(TaskEntity task)
Description copied from interface:CommandCheckerCheck if it is allowed to update a task's variable- Specified by:
checkUpdateTaskVariablein interfaceCommandChecker
-
checkCreateBatch
public void checkCreateBatch(Permission permission)
Description copied from interface:CommandCheckerCheck if it is allowed to create a batch- Specified by:
checkCreateBatchin interfaceCommandChecker
-
checkDeleteBatch
public void checkDeleteBatch(BatchEntity batch)
Description copied from interface:CommandCheckerCheck if it is allowed to delete a batch- Specified by:
checkDeleteBatchin interfaceCommandChecker
-
checkDeleteHistoricBatch
public void checkDeleteHistoricBatch(HistoricBatchEntity batch)
Description copied from interface:CommandCheckerCheck if it is allowed to delete a historic batch- Specified by:
checkDeleteHistoricBatchin interfaceCommandChecker
-
checkSuspendBatch
public void checkSuspendBatch(BatchEntity batch)
Description copied from interface:CommandCheckerCheck if it is allowed to suspend a batch- Specified by:
checkSuspendBatchin interfaceCommandChecker
-
checkActivateBatch
public void checkActivateBatch(BatchEntity batch)
Description copied from interface:CommandCheckerCheck if it is allowed to activate a batch- Specified by:
checkActivateBatchin interfaceCommandChecker
-
checkReadHistoricBatch
public void checkReadHistoricBatch()
Description copied from interface:CommandCheckerCheck if it is allowed to read historic batch- Specified by:
checkReadHistoricBatchin interfaceCommandChecker
-
checkCreateDeployment
public void checkCreateDeployment()
Description copied from interface:CommandCheckerChecks if it is allowed to create a deployment.- Specified by:
checkCreateDeploymentin interfaceCommandChecker
-
checkReadDeployment
public void checkReadDeployment(java.lang.String deploymentId)
Description copied from interface:CommandCheckerChecks if it is allowed to read a deployment of the given deployment id.- Specified by:
checkReadDeploymentin interfaceCommandChecker
-
checkDeleteDeployment
public void checkDeleteDeployment(java.lang.String deploymentId)
Description copied from interface:CommandCheckerChecks if it is allowed to delete a deployment of the given deployment id.- Specified by:
checkDeleteDeploymentin interfaceCommandChecker
-
checkDeleteTask
public void checkDeleteTask(TaskEntity task)
Description copied from interface:CommandCheckerCheck if it is allowed to delete a task- Specified by:
checkDeleteTaskin interfaceCommandChecker
-
checkTaskAssign
public void checkTaskAssign(TaskEntity task)
Description copied from interface:CommandCheckerCheck if it is allowed to assign a task- Specified by:
checkTaskAssignin interfaceCommandChecker
-
checkCreateTask
public void checkCreateTask(TaskEntity task)
Description copied from interface:CommandCheckerCheck if it is allowed to create a task- Specified by:
checkCreateTaskin interfaceCommandChecker
-
checkCreateTask
public void checkCreateTask()
Description copied from interface:CommandCheckerCheck if it is allowed to create a task- Specified by:
checkCreateTaskin interfaceCommandChecker
-
checkTaskWork
public void checkTaskWork(TaskEntity task)
Description copied from interface:CommandCheckerCheck if it is allowed to work on a task- Specified by:
checkTaskWorkin interfaceCommandChecker
-
checkReadDecisionDefinition
public void checkReadDecisionDefinition(DecisionDefinitionEntity decisionDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to read the given decision definition.- Specified by:
checkReadDecisionDefinitionin interfaceCommandChecker
-
checkUpdateDecisionDefinitionById
public void checkUpdateDecisionDefinitionById(java.lang.String decisionDefinitionId)
Description copied from interface:CommandCheckerChecks if it is allowed to update a decision definition with given id.- Specified by:
checkUpdateDecisionDefinitionByIdin interfaceCommandChecker
-
checkReadDecisionRequirementsDefinition
public void checkReadDecisionRequirementsDefinition(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to read the given decision requirements definition.- Specified by:
checkReadDecisionRequirementsDefinitionin interfaceCommandChecker
-
checkReadCaseDefinition
public void checkReadCaseDefinition(CaseDefinition caseDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to read the given case definition.- Specified by:
checkReadCaseDefinitionin interfaceCommandChecker
-
checkUpdateCaseDefinition
public void checkUpdateCaseDefinition(CaseDefinition caseDefinition)
Description copied from interface:CommandCheckerChecks if it is allowed to update the given case definition.- Specified by:
checkUpdateCaseDefinitionin interfaceCommandChecker
-
checkDeleteHistoricTaskInstance
public void checkDeleteHistoricTaskInstance(HistoricTaskInstanceEntity task)
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic task instance.- Specified by:
checkDeleteHistoricTaskInstancein interfaceCommandChecker
-
checkDeleteHistoricProcessInstance
public void checkDeleteHistoricProcessInstance(HistoricProcessInstance instance)
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic process instance.- Specified by:
checkDeleteHistoricProcessInstancein interfaceCommandChecker
-
checkDeleteHistoricCaseInstance
public void checkDeleteHistoricCaseInstance(HistoricCaseInstance instance)
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic case instance.- Specified by:
checkDeleteHistoricCaseInstancein interfaceCommandChecker
-
checkDeleteHistoricDecisionInstance
public void checkDeleteHistoricDecisionInstance(java.lang.String decisionDefinitionKey)
Description copied from interface:CommandCheckerChecks if it is allowed to delete the historic decision instance of the given decision definition key.- Specified by:
checkDeleteHistoricDecisionInstancein interfaceCommandChecker
-
checkDeleteHistoricDecisionInstance
public void checkDeleteHistoricDecisionInstance(HistoricDecisionInstance decisionInstance)
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic decision instance.- Specified by:
checkDeleteHistoricDecisionInstancein interfaceCommandChecker
-
checkDeleteHistoricVariableInstance
public void checkDeleteHistoricVariableInstance(HistoricVariableInstanceEntity variable)
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic variable instance.- Specified by:
checkDeleteHistoricVariableInstancein interfaceCommandChecker
-
checkDeleteHistoricVariableInstancesByProcessInstance
public void checkDeleteHistoricVariableInstancesByProcessInstance(HistoricProcessInstanceEntity instance)
Description copied from interface:CommandCheckerChecks if it is allowed to delete the historic variable instances of the given process instance.- Specified by:
checkDeleteHistoricVariableInstancesByProcessInstancein interfaceCommandChecker
-
checkReadHistoricJobLog
public void checkReadHistoricJobLog(HistoricJobLogEventEntity historicJobLog)
Description copied from interface:CommandCheckerChecks if it is allowed to read the given historic job log.- Specified by:
checkReadHistoricJobLogin interfaceCommandChecker
-
checkReadHistoryAnyProcessDefinition
public void checkReadHistoryAnyProcessDefinition()
Description copied from interface:CommandCheckerCheck if it is allowed to read the history for any process definition.- Specified by:
checkReadHistoryAnyProcessDefinitionin interfaceCommandChecker
-
checkReadHistoryProcessDefinition
public void checkReadHistoryProcessDefinition(java.lang.String processDefinitionId)
Description copied from interface:CommandCheckerCheck if it is allowed to read the history of the given process definition.- Specified by:
checkReadHistoryProcessDefinitionin interfaceCommandChecker
-
checkUpdateCaseInstance
public void checkUpdateCaseInstance(CaseExecution caseExecution)
Description copied from interface:CommandCheckerCheck if it is allowed to update a case instance of the given case execution.- Specified by:
checkUpdateCaseInstancein interfaceCommandChecker
-
checkReadCaseInstance
public void checkReadCaseInstance(CaseExecution caseExecution)
Description copied from interface:CommandCheckerCheck if it is allowed to read a case instance of the given case execution.- Specified by:
checkReadCaseInstancein interfaceCommandChecker
-
checkDeleteUserOperationLog
public void checkDeleteUserOperationLog(UserOperationLogEntry entry)
Description copied from interface:CommandCheckerCheck if it is allowed to delete the user operation log of the given user operation log entry.- Specified by:
checkDeleteUserOperationLogin interfaceCommandChecker
-
checkUpdateUserOperationLog
public void checkUpdateUserOperationLog(UserOperationLogEntry entry)
Description copied from interface:CommandCheckerCheck if it is allowed to update the user operation log of the given user operation log entry.- Specified by:
checkUpdateUserOperationLogin interfaceCommandChecker
-
checkReadHistoricExternalTaskLog
public void checkReadHistoricExternalTaskLog(HistoricExternalTaskLogEntity historicExternalTaskLog)
Description copied from interface:CommandCheckerChecks if it is allowed to read the given historic external task log.- Specified by:
checkReadHistoricExternalTaskLogin interfaceCommandChecker
-
checkReadTelemetryData
public void checkReadTelemetryData()
Description copied from interface:CommandCheckerChecks if it is allowed to read collected telemetry data.- Specified by:
checkReadTelemetryDatain interfaceCommandChecker
-
checkConfigureTelemetry
public void checkConfigureTelemetry()
Description copied from interface:CommandCheckerChecks if it is allowed to toggle telemetry collection.- Specified by:
checkConfigureTelemetryin interfaceCommandChecker
-
checkReadTelemetryCollectionStatusData
public void checkReadTelemetryCollectionStatusData()
Description copied from interface:CommandCheckerChecks if it is allowed to read the status (ON/OFF) of the telemetry collection.- Specified by:
checkReadTelemetryCollectionStatusDatain interfaceCommandChecker
-
checkReadHistoryLevel
public void checkReadHistoryLevel()
- Specified by:
checkReadHistoryLevelin interfaceCommandChecker
-
checkReadTableCount
public void checkReadTableCount()
- Specified by:
checkReadTableCountin interfaceCommandChecker
-
checkReadTableName
public void checkReadTableName()
- Specified by:
checkReadTableNamein interfaceCommandChecker
-
checkReadTableMetaData
public void checkReadTableMetaData()
- Specified by:
checkReadTableMetaDatain interfaceCommandChecker
-
checkReadProperties
public void checkReadProperties()
- Specified by:
checkReadPropertiesin interfaceCommandChecker
-
checkSetProperty
public void checkSetProperty()
- Specified by:
checkSetPropertyin interfaceCommandChecker
-
checkDeleteProperty
public void checkDeleteProperty()
- Specified by:
checkDeletePropertyin interfaceCommandChecker
-
checkDeleteLicenseKey
public void checkDeleteLicenseKey()
- Specified by:
checkDeleteLicenseKeyin interfaceCommandChecker
-
checkSetLicenseKey
public void checkSetLicenseKey()
- Specified by:
checkSetLicenseKeyin interfaceCommandChecker
-
checkReadLicenseKey
public void checkReadLicenseKey()
- Specified by:
checkReadLicenseKeyin interfaceCommandChecker
-
checkRegisterProcessApplication
public void checkRegisterProcessApplication()
- Specified by:
checkRegisterProcessApplicationin interfaceCommandChecker
-
checkUnregisterProcessApplication
public void checkUnregisterProcessApplication()
- Specified by:
checkUnregisterProcessApplicationin interfaceCommandChecker
-
checkReadRegisteredDeployments
public void checkReadRegisteredDeployments()
- Specified by:
checkReadRegisteredDeploymentsin interfaceCommandChecker
-
checkReadProcessApplicationForDeployment
public void checkReadProcessApplicationForDeployment()
- Specified by:
checkReadProcessApplicationForDeploymentin interfaceCommandChecker
-
checkRegisterDeployment
public void checkRegisterDeployment()
- Specified by:
checkRegisterDeploymentin interfaceCommandChecker
-
checkUnregisterDeployment
public void checkUnregisterDeployment()
- Specified by:
checkUnregisterDeploymentin interfaceCommandChecker
-
checkDeleteMetrics
public void checkDeleteMetrics()
- Specified by:
checkDeleteMetricsin interfaceCommandChecker
-
checkDeleteTaskMetrics
public void checkDeleteTaskMetrics()
- Specified by:
checkDeleteTaskMetricsin interfaceCommandChecker
-
checkReadSchemaLog
public void checkReadSchemaLog()
- Specified by:
checkReadSchemaLogin interfaceCommandChecker
-
getTenantManager
protected TenantManager getTenantManager()
-
findLatestProcessDefinitionById
protected ProcessDefinitionEntity findLatestProcessDefinitionById(java.lang.String processDefinitionId)
-
findLatestDecisionDefinitionById
protected DecisionDefinitionEntity findLatestDecisionDefinitionById(java.lang.String decisionDefinitionId)
-
findExecutionById
protected ExecutionEntity findExecutionById(java.lang.String processInstanceId)
-
findDeploymentById
protected DeploymentEntity findDeploymentById(java.lang.String deploymentId)
-
-