Class TenantCommandChecker
java.lang.Object
org.camunda.bpm.engine.impl.cfg.multitenancy.TenantCommandChecker
- All Implemented Interfaces:
CommandChecker
CommandChecker to ensure that commands are only executed for
entities which belongs to one of the authenticated tenants.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckActivateBatch(BatchEntity batch) Check if it is allowed to activate a batchvoidcheckCreateBatch(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.voidChecks 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.voidCheck 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(String deploymentId) Checks if it is allowed to delete a deployment of the given deployment id.voidCheck if it is allowed to delete a historic batchvoidChecks if it is allowed to delete the given historic case instance.voidcheckDeleteHistoricDecisionInstance(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.voidChecks if it is allowed to delete the given historic process instance.voidChecks if it is allowed to delete the given historic task instance.voidChecks if it is allowed to delete the given historic variable instance.voidChecks if it is allowed to delete the historic variable instances of the given process instance.voidvoidvoidcheckDeleteProcessDefinitionById(String processDefinitionId) Checks if it is allowed to delete a process definition, which corresponds to the given id.voidcheckDeleteProcessDefinitionByKey(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.voidvoidcheckDeleteTask(TaskEntity task) Check if it is allowed to delete a taskvoidvoidCheck 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(String deploymentId) Checks if it is allowed to read a deployment of the given deployment id.voidChecks if it is allowed to read collected diagnostics data.voidCheck 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.voidCheck if it is allowed to read the history for any process definition.voidvoidcheckReadHistoryProcessDefinition(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.voidvoidvoidcheckReadProcessDefinition(ProcessDefinition processDefinition) Checks if it is allowed to read the given process definition.voidcheckReadProcessInstance(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.voidvoidvoidvoidvoidvoidvoidcheckReadTask(TaskEntity task) Check if it is allowed to read a task.voidCheck if it is allowed to read a task's variable.voidvoidvoidvoidvoidcheckSuspendBatch(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 taskvoidvoidvoidcheckUpdateCaseDefinition(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(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(String processDefinitionId) Checks if it is allowed to update a process definition of the given process definition id.voidcheckUpdateProcessDefinitionByKey(String processDefinitionKey) Checks if it is allowed to update a process definition of the given process definition key.voidcheckUpdateProcessDefinitionSuspensionStateById(String processDefinitionId) Checks if it is allowed to update the suspension state of a process definition.voidcheckUpdateProcessDefinitionSuspensionStateByKey(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(String processInstanceId) Checks if it is allowed to update a process instance of the given process instance id.voidcheckUpdateProcessInstanceByProcessDefinitionId(String processDefinitionId) Checks if it is allowed to update a process instance of the given process definition id.voidcheckUpdateProcessInstanceByProcessDefinitionKey(String processDefinitionKey) Checks if it is allowed to update a process instance of the given process definition key.voidcheckUpdateProcessInstanceSuspensionStateById(String processInstanceId) Checks if it is allowed to update a process instance's suspension state.voidcheckUpdateProcessInstanceSuspensionStateByProcessDefinitionId(String processDefinitionId) Checks if it is allowed to update a process instance's suspension state of the given process definition.voidcheckUpdateProcessInstanceSuspensionStateByProcessDefinitionKey(String processDefinitionKey) Checks if it is allowed to update a process instance's suspension state of the given process definition.voidChecks if it is allowed to update a process instance's variables of the given execution.voidChecks if it is allowed to update a job retries.voidcheckUpdateRetriesProcessInstanceByProcessDefinitionId(String processDefinitionId) Checks if it is allowed to update a process instance's retries of the given process definition.voidCheck if it is allowed to update a task's variablevoidCheck if it is allowed to update the user operation log of the given user operation log entry.protected DeploymentEntityfindDeploymentById(String deploymentId) protected ExecutionEntityfindExecutionById(String processInstanceId) protected DecisionDefinitionEntityfindLatestDecisionDefinitionById(String decisionDefinitionId) protected ProcessDefinitionEntityfindLatestProcessDefinitionById(String processDefinitionId) protected TenantManager
-
Field Details
-
LOG
-
-
Constructor Details
-
TenantCommandChecker
public TenantCommandChecker()
-
-
Method Details
-
checkEvaluateDecision
Description copied from interface:CommandCheckerChecks if it is allowed to evaluate the given decision.- Specified by:
checkEvaluateDecisionin interfaceCommandChecker
-
checkCreateProcessInstance
Description copied from interface:CommandCheckerChecks if it is allowed to create an instance of the given process definition.- Specified by:
checkCreateProcessInstancein interfaceCommandChecker
-
checkReadProcessDefinition
Description copied from interface:CommandCheckerChecks if it is allowed to read the given process definition.- Specified by:
checkReadProcessDefinitionin interfaceCommandChecker
-
checkCreateCaseInstance
Description copied from interface:CommandCheckerChecks if it is allowed to create an instance of the given case definition.- Specified by:
checkCreateCaseInstancein interfaceCommandChecker
-
checkUpdateProcessDefinitionById
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
Description copied from interface:CommandCheckerChecks if it is allowed to update the suspension state of a process definition.- Specified by:
checkUpdateProcessDefinitionSuspensionStateByIdin interfaceCommandChecker
-
checkUpdateProcessDefinitionByKey
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
Description copied from interface:CommandCheckerChecks if it is allowed to update the suspension state of a process definition.- Specified by:
checkUpdateProcessDefinitionSuspensionStateByKeyin interfaceCommandChecker
-
checkDeleteProcessDefinitionById
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
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
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
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(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
Description copied from interface:CommandCheckerChecks if it is allowed to update a process instance of the given execution.- Specified by:
checkUpdateProcessInstancein interfaceCommandChecker
-
checkUpdateProcessInstanceVariables
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
Description copied from interface:CommandCheckerChecks if it is allowed to update the given job.- Specified by:
checkUpdateJobin interfaceCommandChecker
-
checkUpdateRetriesJob
Description copied from interface:CommandCheckerChecks if it is allowed to update a job retries.- Specified by:
checkUpdateRetriesJobin interfaceCommandChecker
-
checkUpdateProcessInstanceByProcessDefinitionKey
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(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
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
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
- Specified by:
checkReadProcessInstancein interfaceCommandChecker
-
checkReadJob
Description copied from interface:CommandCheckerChecks if it is allowed to read the given job.- Specified by:
checkReadJobin interfaceCommandChecker
-
checkReadProcessInstance
Description copied from interface:CommandCheckerChecks if it is allowed to read a process instance of the given execution.- Specified by:
checkReadProcessInstancein interfaceCommandChecker
-
checkReadProcessInstanceVariable
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
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
Description copied from interface:CommandCheckerCheck if it is allowed to read a task.- Specified by:
checkReadTaskin interfaceCommandChecker
-
checkReadTaskVariable
Description copied from interface:CommandCheckerCheck if it is allowed to read a task's variable.- Specified by:
checkReadTaskVariablein interfaceCommandChecker
-
checkUpdateTaskVariable
Description copied from interface:CommandCheckerCheck if it is allowed to update a task's variable- Specified by:
checkUpdateTaskVariablein interfaceCommandChecker
-
checkCreateBatch
Description copied from interface:CommandCheckerCheck if it is allowed to create a batch- Specified by:
checkCreateBatchin interfaceCommandChecker
-
checkDeleteBatch
Description copied from interface:CommandCheckerCheck if it is allowed to delete a batch- Specified by:
checkDeleteBatchin interfaceCommandChecker
-
checkDeleteHistoricBatch
Description copied from interface:CommandCheckerCheck if it is allowed to delete a historic batch- Specified by:
checkDeleteHistoricBatchin interfaceCommandChecker
-
checkSuspendBatch
Description copied from interface:CommandCheckerCheck if it is allowed to suspend a batch- Specified by:
checkSuspendBatchin interfaceCommandChecker
-
checkActivateBatch
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
Description copied from interface:CommandCheckerChecks if it is allowed to read a deployment of the given deployment id.- Specified by:
checkReadDeploymentin interfaceCommandChecker
-
checkDeleteDeployment
Description copied from interface:CommandCheckerChecks if it is allowed to delete a deployment of the given deployment id.- Specified by:
checkDeleteDeploymentin interfaceCommandChecker
-
checkDeleteTask
Description copied from interface:CommandCheckerCheck if it is allowed to delete a task- Specified by:
checkDeleteTaskin interfaceCommandChecker
-
checkTaskAssign
Description copied from interface:CommandCheckerCheck if it is allowed to assign a task- Specified by:
checkTaskAssignin interfaceCommandChecker
-
checkCreateTask
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
Description copied from interface:CommandCheckerCheck if it is allowed to work on a task- Specified by:
checkTaskWorkin interfaceCommandChecker
-
checkReadDecisionDefinition
Description copied from interface:CommandCheckerChecks if it is allowed to read the given decision definition.- Specified by:
checkReadDecisionDefinitionin interfaceCommandChecker
-
checkUpdateDecisionDefinitionById
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
Description copied from interface:CommandCheckerChecks if it is allowed to read the given case definition.- Specified by:
checkReadCaseDefinitionin interfaceCommandChecker
-
checkUpdateCaseDefinition
Description copied from interface:CommandCheckerChecks if it is allowed to update the given case definition.- Specified by:
checkUpdateCaseDefinitionin interfaceCommandChecker
-
checkDeleteHistoricTaskInstance
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic task instance.- Specified by:
checkDeleteHistoricTaskInstancein interfaceCommandChecker
-
checkDeleteHistoricProcessInstance
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic process instance.- Specified by:
checkDeleteHistoricProcessInstancein interfaceCommandChecker
-
checkDeleteHistoricCaseInstance
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic case instance.- Specified by:
checkDeleteHistoricCaseInstancein interfaceCommandChecker
-
checkDeleteHistoricDecisionInstance
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
Description copied from interface:CommandCheckerChecks if it is allowed to delete the given historic decision instance.- Specified by:
checkDeleteHistoricDecisionInstancein interfaceCommandChecker
-
checkDeleteHistoricVariableInstance
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
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
Description copied from interface:CommandCheckerCheck if it is allowed to read the history of the given process definition.- Specified by:
checkReadHistoryProcessDefinitionin interfaceCommandChecker
-
checkUpdateCaseInstance
Description copied from interface:CommandCheckerCheck if it is allowed to update a case instance of the given case execution.- Specified by:
checkUpdateCaseInstancein interfaceCommandChecker
-
checkReadCaseInstance
Description copied from interface:CommandCheckerCheck if it is allowed to read a case instance of the given case execution.- Specified by:
checkReadCaseInstancein interfaceCommandChecker
-
checkDeleteUserOperationLog
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
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
Description copied from interface:CommandCheckerChecks if it is allowed to read the given historic external task log.- Specified by:
checkReadHistoricExternalTaskLogin interfaceCommandChecker
-
checkReadDiagnosticsData
public void checkReadDiagnosticsData()Description copied from interface:CommandCheckerChecks if it is allowed to read collected diagnostics data.- Specified by:
checkReadDiagnosticsDatain 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
-
findLatestProcessDefinitionById
-
findLatestDecisionDefinitionById
-
findExecutionById
-
findDeploymentById
-