code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
@Override public void checkReadProcessInstance(String processInstanceId) { if (getTenantManager().isTenantCheckEnabled()) { ExecutionEntity execution = findExecutionById(processInstanceId); if (execution != null && !getTenantManager().isAuthenticatedTenant(execution.getTenantId())) { throw LOG...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadJob(JobEntity job) { if (job != null && !getTenantManager().isAuthenticatedTenant(job.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("read the job '"+ job.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadJob
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadProcessInstance(ExecutionEntity execution) { if (execution != null && !getTenantManager().isAuthenticatedTenant(execution.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("read the process instance '"+ execution.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadProcessInstanceVariable(ExecutionEntity execution) { checkReadProcessInstance(execution); }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadProcessInstanceVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteProcessInstance(ExecutionEntity execution) { if (execution != null && !getTenantManager().isAuthenticatedTenant(execution.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the process instance '"+ execution.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkMigrateProcessInstance(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition) { String sourceTenant = processInstance.getTenantId(); String targetTenant = targetProcessDefinition.getTenantId(); if (getTenantManager().isTenantCheckEnabled()) { if (proc...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkMigrateProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadTask(TaskEntity task) { if (task != null && !getTenantManager().isAuthenticatedTenant(task.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("read the task '"+ task.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadTaskVariable(TaskEntity task) { checkReadTask(task); }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadTaskVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkUpdateTaskVariable(TaskEntity task) { if (task != null && !getTenantManager().isAuthenticatedTenant(task.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("update the task '"+ task.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkUpdateTaskVariable
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkCreateBatch(Permission permission) { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkCreateBatch
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteBatch(BatchEntity batch) { if (batch != null && !getTenantManager().isAuthenticatedTenant(batch.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete batch '"+ batch.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteBatch
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricBatch(HistoricBatchEntity batch) { if (batch != null && !getTenantManager().isAuthenticatedTenant(batch.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete historic batch '"+ batch.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricBatch
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkSuspendBatch(BatchEntity batch) { if (batch != null && !getTenantManager().isAuthenticatedTenant(batch.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("suspend batch '"+ batch.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkSuspendBatch
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkActivateBatch(BatchEntity batch) { if (batch != null && !getTenantManager().isAuthenticatedTenant(batch.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("activate batch '"+ batch.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkActivateBatch
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadHistoricBatch() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadHistoricBatch
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkCreateDeployment() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkCreateDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadDeployment(String deploymentId) { if (getTenantManager().isTenantCheckEnabled()) { DeploymentEntity deployment = findDeploymentById(deploymentId); if (deployment != null && !getTenantManager().isAuthenticatedTenant(deployment.getTenantId())) { throw LOG.exception...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteDeployment(String deploymentId) { if (getTenantManager().isTenantCheckEnabled()) { DeploymentEntity deployment = findDeploymentById(deploymentId); if (deployment != null && !getTenantManager().isAuthenticatedTenant(deployment.getTenantId())) { throw LOG.excepti...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteTask(TaskEntity task) { if (task != null && !getTenantManager().isAuthenticatedTenant(task.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the task '"+ task.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkTaskAssign(TaskEntity task) { if (task != null && !getTenantManager().isAuthenticatedTenant(task.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("assign the task '"+ task.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkTaskAssign
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkCreateTask(TaskEntity task) { if (task != null && !getTenantManager().isAuthenticatedTenant(task.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("create the task '"+ task.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkCreateTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkCreateTask() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkCreateTask
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkTaskWork(TaskEntity task) { if (task != null && !getTenantManager().isAuthenticatedTenant(task.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("work on task '"+ task.getId() +"'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkTaskWork
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadDecisionDefinition(DecisionDefinitionEntity decisionDefinition) { if (decisionDefinition != null && !getTenantManager().isAuthenticatedTenant(decisionDefinition.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("get the decision definition '"+ decisionDefiniti...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadDecisionDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkUpdateDecisionDefinitionById(String decisionDefinitionId) { if (getTenantManager().isTenantCheckEnabled()) { DecisionDefinitionEntity decisionDefinition = findLatestDecisionDefinitionById(decisionDefinitionId); if (decisionDefinition != null && !getTenantManager().isAuthenti...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkUpdateDecisionDefinitionById
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadDecisionRequirementsDefinition(DecisionRequirementsDefinitionEntity decisionRequirementsDefinition) { if (decisionRequirementsDefinition != null && !getTenantManager().isAuthenticatedTenant(decisionRequirementsDefinition.getTenantId())) { throw LOG.exceptionCommandWithUnauthor...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadDecisionRequirementsDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadCaseDefinition(CaseDefinition caseDefinition) { if (caseDefinition != null && !getTenantManager().isAuthenticatedTenant(caseDefinition.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("get the case definition '"+ caseDefinition.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkUpdateCaseDefinition(CaseDefinition caseDefinition) { if (caseDefinition != null && !getTenantManager().isAuthenticatedTenant(caseDefinition.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("update the case definition '" + caseDefinition.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkUpdateCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricTaskInstance(HistoricTaskInstanceEntity task) { if (task != null && !getTenantManager().isAuthenticatedTenant(task.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the historic task instance '"+ task.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricTaskInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricProcessInstance(HistoricProcessInstance instance) { if (instance != null && !getTenantManager().isAuthenticatedTenant(instance.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the historic process instance '"+ instance.getId() + "'"); } ...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricCaseInstance(HistoricCaseInstance instance) { if (instance != null && !getTenantManager().isAuthenticatedTenant(instance.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the historic case instance '"+ instance.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricCaseInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricDecisionInstance(String decisionDefinitionKey) { // No tenant check here because it is called in the SQL query: // HistoricDecisionInstance.selectHistoricDecisionInstancesByDecisionDefinitionId // It is necessary to make the check there because of performance issue...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricDecisionInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricDecisionInstance(HistoricDecisionInstance decisionInstance) { if (decisionInstance != null && !getTenantManager().isAuthenticatedTenant(decisionInstance.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant( "delete the historic decision instan...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricDecisionInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricVariableInstance(HistoricVariableInstanceEntity variable) { if (variable != null && !getTenantManager().isAuthenticatedTenant(variable.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the historic variable instance '" + variable.getId() + "'...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricVariableInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteHistoricVariableInstancesByProcessInstance(HistoricProcessInstanceEntity instance) { if (instance != null && !getTenantManager().isAuthenticatedTenant(instance.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the historic variable instances of proce...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteHistoricVariableInstancesByProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadHistoricJobLog(HistoricJobLogEventEntity historicJobLog) { if (historicJobLog != null && !getTenantManager().isAuthenticatedTenant(historicJobLog.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("get the historic job log '"+ historicJobLog.getId() + "'"); ...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadHistoricJobLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadHistoryAnyProcessDefinition() { // No tenant check here because it is called in the SQL query: // Report.selectHistoricProcessInstanceDurationReport // It is necessary to make the check there because the query may be return only the // historic process instances which be...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadHistoryAnyProcessDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadHistoryProcessDefinition(String processDefinitionId) { // No tenant check here because it is called in the SQL query: // Report.selectHistoricProcessInstanceDurationReport // It is necessary to make the check there because the query may be return only the // historic pro...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadHistoryProcessDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkUpdateCaseInstance(CaseExecution caseExecution) { if (caseExecution != null && !getTenantManager().isAuthenticatedTenant(caseExecution.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("update the case execution '" + caseExecution.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkUpdateCaseInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadCaseInstance(CaseExecution caseExecution) { if (caseExecution != null && !getTenantManager().isAuthenticatedTenant(caseExecution.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("get the case execution '" + caseExecution.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadCaseInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteUserOperationLog(UserOperationLogEntry entry) { if (entry != null && !getTenantManager().isAuthenticatedTenant(entry.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("delete the user operation log entry '" + entry.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteUserOperationLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkUpdateUserOperationLog(UserOperationLogEntry entry) { if (entry != null && !getTenantManager().isAuthenticatedTenant(entry.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("update the user operation log entry '" + entry.getId() + "'"); } }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkUpdateUserOperationLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadHistoricExternalTaskLog(HistoricExternalTaskLogEntity historicExternalTaskLog) { if (historicExternalTaskLog != null && !getTenantManager().isAuthenticatedTenant(historicExternalTaskLog.getTenantId())) { throw LOG.exceptionCommandWithUnauthorizedTenant("get the historic extern...
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadHistoricExternalTaskLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadDiagnosticsData() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadDiagnosticsData
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadHistoryLevel() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadHistoryLevel
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadTableCount() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadTableCount
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadTableName() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadTableName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadTableMetaData() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadTableMetaData
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadProperties() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadProperties
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkSetProperty() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkSetProperty
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteProperty() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteProperty
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteLicenseKey() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteLicenseKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkSetLicenseKey() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkSetLicenseKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadLicenseKey() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadLicenseKey
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkRegisterProcessApplication() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkRegisterProcessApplication
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkUnregisterProcessApplication() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkUnregisterProcessApplication
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadRegisteredDeployments() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadRegisteredDeployments
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadProcessApplicationForDeployment() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadProcessApplicationForDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkRegisterDeployment() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkRegisterDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkUnregisterDeployment() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkUnregisterDeployment
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteMetrics() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteMetrics
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkDeleteTaskMetrics() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkDeleteTaskMetrics
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
@Override public void checkReadSchemaLog() { }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
checkReadSchemaLog
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
protected TenantManager getTenantManager() { return Context.getCommandContext().getTenantManager(); }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
getTenantManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
protected ProcessDefinitionEntity findLatestProcessDefinitionById(String processDefinitionId) { return Context.getCommandContext().getProcessDefinitionManager().findLatestProcessDefinitionById(processDefinitionId); }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
findLatestProcessDefinitionById
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
protected DecisionDefinitionEntity findLatestDecisionDefinitionById(String decisionDefinitionId) { return Context.getCommandContext().getDecisionDefinitionManager().findDecisionDefinitionById(decisionDefinitionId); }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
findLatestDecisionDefinitionById
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
protected ExecutionEntity findExecutionById(String processInstanceId) { return Context.getCommandContext().getExecutionManager().findExecutionById(processInstanceId); }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
findExecutionById
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
protected DeploymentEntity findDeploymentById(String deploymentId) { return Context.getCommandContext().getDeploymentManager().findDeploymentById(deploymentId); }
{@link CommandChecker} to ensure that commands are only executed for entities which belongs to one of the authenticated tenants.
findDeploymentById
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantCommandChecker.java
Apache-2.0
public CaseDefinition getCaseDefinition() { return caseDefinition; }
@return the case definition of the case instance which is being started
getCaseDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
Apache-2.0
public VariableMap getVariables() { return variables; }
@return the variables which were passed to the starting case instance
getVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
Apache-2.0
public DelegateExecution getSuperExecution() { return superExecution; }
@return the super execution. <code>null</code> if the starting case instance is a root process instance and not started using a call activity. If the case instance is started using a call activity, this method returns the execution in the super process instance executing the call activity.
getSuperExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
Apache-2.0
public DelegateCaseExecution getSuperCaseExecution() { return superCaseExecution; }
@return the super case execution. <code>null</code> if the starting case instance is not a sub case instance started using a CMMN case task.
getSuperCaseExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderCaseInstanceContext.java
Apache-2.0
public DecisionDefinition getDecisionDefinition() { return decisionDefinition; }
@return the decision definition of the historic decision instance which is being evaluated
getDecisionDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderHistoricDecisionInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderHistoricDecisionInstanceContext.java
Apache-2.0
public DelegateExecution getExecution() { return execution; }
@return the execution. This method returns the execution of the process instance which evaluated the decision definition.
getExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderHistoricDecisionInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderHistoricDecisionInstanceContext.java
Apache-2.0
public DelegateCaseExecution getCaseExecution() { return caseExecution; }
@return the case execution. This method returns the case execution of the CMMN case task which evaluated the decision definition.
getCaseExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderHistoricDecisionInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderHistoricDecisionInstanceContext.java
Apache-2.0
public ProcessDefinition getProcessDefinition() { return processDefinition; }
@return the process definition of the process instance which is being started
getProcessDefinition
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
Apache-2.0
public VariableMap getVariables() { return variables; }
@return the variables which were passed to the starting process instance
getVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
Apache-2.0
public DelegateExecution getSuperExecution() { return superExecution; }
@return the super execution. Null if the starting process instance is a root process instance and not started using a call activity. If the process instance is started using a call activity, this method returns the execution in the super process instance executing the call activity.
getSuperExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
Apache-2.0
public DelegateCaseExecution getSuperCaseExecution() { return superCaseExecution; }
@return the super case execution. Null if the starting process instance is not a sub process instance started using a CMMN case task.
getSuperCaseExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/multitenancy/TenantIdProviderProcessInstanceContext.java
Apache-2.0
@Override protected void executeSetOperation(TaskEntity task, Integer value) { if (isAssignee(type)) { task.setAssignee(userId); return; } if (isOwner(type)) { task.setOwner(userId); return; } task.addIdentityLink(userId, groupId, type); }
Abstract class that modifies {@link AbstractSetTaskPropertyCmd} to customize validation & logging for Add Identity Link related Commands.
executeSetOperation
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
Apache-2.0
@Override protected String getUserOperationLogName() { return null; // Ignored for identity commands }
Method to be overridden by concrete identity commands that wish to log an operation. @param context the command context @param task the task related entity
getUserOperationLogName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
Apache-2.0
protected void validateParameters(String type, String userId, String groupId) { if (isAssignee(type) && groupId != null) { throw new BadUserRequestException("Incompatible usage: cannot use ASSIGNEE together with a groupId"); } if (!isAssignee(type) && hasNullIdentity(userId, groupId)) { throw ...
Method to be overridden by concrete identity commands that wish to log an operation. @param context the command context @param task the task related entity
validateParameters
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
Apache-2.0
protected boolean hasNullIdentity(String userId, String groupId) { return (userId == null) && (groupId == null); }
Method to be overridden by concrete identity commands that wish to log an operation. @param context the command context @param task the task related entity
hasNullIdentity
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
Apache-2.0
protected boolean isAssignee(String type) { return IdentityLinkType.ASSIGNEE.equals(type); }
Method to be overridden by concrete identity commands that wish to log an operation. @param context the command context @param task the task related entity
isAssignee
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
Apache-2.0
protected boolean isOwner(String type) { return IdentityLinkType.OWNER.equals(type); }
Method to be overridden by concrete identity commands that wish to log an operation. @param context the command context @param task the task related entity
isOwner
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractAddIdentityLinkCmd.java
Apache-2.0
protected void triggerExecution(CommandContext commandContext, CorrelationHandlerResult correlationResult) { String executionId = correlationResult.getExecutionEntity().getId(); MessageEventReceivedCmd command = new MessageEventReceivedCmd(messageName, ...
Initialize the command with a builder @param builder
triggerExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
Apache-2.0
protected ProcessInstance instantiateProcess(CommandContext commandContext, CorrelationHandlerResult correlationResult) { ProcessDefinitionEntity processDefinitionEntity = correlationResult.getProcessDefinitionEntity(); ActivityImpl messageStartEvent = processDefinitionEntity.findActivity(correlationResult.get...
Initialize the command with a builder @param builder
instantiateProcess
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
Apache-2.0
protected void checkAuthorization(CorrelationHandlerResult correlation) { CommandContext commandContext = Context.getCommandContext(); for (CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { if (MessageCorrelationResultType.Execution.equals(correlation.getResu...
Initialize the command with a builder @param builder
checkAuthorization
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
Apache-2.0
protected MessageCorrelationResultImpl createMessageCorrelationResult(final CommandContext commandContext, final CorrelationHandlerResult handlerResult) { MessageCorrelationResultImpl resultWithVariables = new MessageCorrelationResultImpl(handlerResult); if (MessageCorrelationResultType.Execution.equals(handler...
Initialize the command with a builder @param builder
createMessageCorrelationResult
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
Apache-2.0
protected ExecutionEntity findProcessInstanceExecution(final CommandContext commandContext, final CorrelationHandlerResult handlerResult) { ExecutionEntity execution = commandContext.getExecutionManager().findExecutionById(handlerResult.getExecution().getProcessInstanceId()); return execution; }
Initialize the command with a builder @param builder
findProcessInstanceExecution
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
Apache-2.0
protected VariableMap resolveVariables() { VariableMap mergedVariables = Variables.createVariables(); mergedVariables.putAll(builder.getPayloadProcessInstanceVariables()); mergedVariables.putAll(builder.getPayloadProcessInstanceVariablesLocal()); mergedVariables.putAll(builder.getPayloadProcessInstanceV...
Initialize the command with a builder @param builder
resolveVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
Apache-2.0
protected void countVariables() { if(builder.getPayloadProcessInstanceVariables() != null) { variablesCount += builder.getPayloadProcessInstanceVariables().size(); } if(builder.getPayloadProcessInstanceVariablesLocal() != null) { variablesCount += builder.getPayloadProcessInstanceVariablesLocal(...
Initialize the command with a builder @param builder
countVariables
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractCorrelateMessageCmd.java
Apache-2.0
protected void checkDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext) { for (CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) { checker.checkDeleteProcessInstance(execution); } }
Created by aakhmerov on 16.09.16. <p> Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.
checkDeleteProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
Apache-2.0
protected void deleteProcessInstances(final CommandContext commandContext, List<String> processInstanceIds) { processInstanceIds.forEach(processInstance -> deleteProcessInstance(commandContext, processInstance)); }
Created by aakhmerov on 16.09.16. <p> Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.
deleteProcessInstances
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
Apache-2.0
protected void deleteProcessInstance(final CommandContext commandContext, String processInstanceId) { ensureNotNull(BadUserRequestException.class, "processInstanceId is null", "processInstanceId", processInstanceId); // fetch process instance ExecutionManager executionManager = commandContext.getExecutionM...
Created by aakhmerov on 16.09.16. <p> Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.
deleteProcessInstance
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
Apache-2.0
public void triggerHistoryEvent(List<ProcessInstance> subProcesslist) { ProcessEngineConfigurationImpl configuration = Context.getProcessEngineConfiguration(); HistoryLevel historyLevel = configuration.getHistoryLevel(); for (final ProcessInstance processInstance : subProcesslist) { // TODO: This sme...
Created by aakhmerov on 16.09.16. <p> Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.
triggerHistoryEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
Apache-2.0
@Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createProcessInstanceUpdateEvt((DelegateExecution) processInstance); }
Created by aakhmerov on 16.09.16. <p> Provide common logic for process instance deletion operations. Permissions checking and single process instance removal included.
createHistoryEvent
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractDeleteProcessInstanceCmd.java
Apache-2.0
protected boolean supportsConcurrentChildInstantiation(ScopeImpl flowScope) { CoreActivityBehavior<?> behavior = flowScope.getActivityBehavior(); return behavior == null || !(behavior instanceof SequentialMultiInstanceActivityBehavior); }
Cannot create more than inner instance in a sequential MI construct
supportsConcurrentChildInstantiation
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractInstantiationCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractInstantiationCmd.java
Apache-2.0
protected ExecutionEntity getSingleExecutionForScope(ActivityExecutionTreeMapping mapping, ScopeImpl scope) { Set<ExecutionEntity> executions = mapping.getExecutions(scope); if (!executions.isEmpty()) { if (executions.size() > 1) { throw new ProcessEngineException("Executions for activity " + sco...
Cannot create more than inner instance in a sequential MI construct
getSingleExecutionForScope
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractInstantiationCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractInstantiationCmd.java
Apache-2.0
protected boolean isConcurrentStart(ActivityStartBehavior startBehavior) { return startBehavior == ActivityStartBehavior.DEFAULT || startBehavior == ActivityStartBehavior.CONCURRENT_IN_FLOW_SCOPE; }
Cannot create more than inner instance in a sequential MI construct
isConcurrentStart
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractInstantiationCmd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/AbstractInstantiationCmd.java
Apache-2.0