org.camunda.bpm.engine.impl.core.model
Class DefaultCallableElementTenantIdProvider

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.model.DefaultCallableElementTenantIdProvider
All Implemented Interfaces:
ParameterValueProvider

public class DefaultCallableElementTenantIdProvider
extends Object
implements ParameterValueProvider

Default implementation for BaseCallableElement.getTenantIdProvider(). Uses the tenant id of the calling definition.


Constructor Summary
DefaultCallableElementTenantIdProvider()
           
 
Method Summary
protected  String getCaseDefinitionTenantId(CaseExecutionEntity caseExecution)
           
protected  String getProcessDefinitionTenantId(ExecutionEntity execution)
           
 Object getValue(VariableScope execution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCallableElementTenantIdProvider

public DefaultCallableElementTenantIdProvider()
Method Detail

getValue

public Object getValue(VariableScope execution)
Specified by:
getValue in interface ParameterValueProvider
Parameters:
execution - the scope in which the value is to be resolved.
Returns:
the value

getProcessDefinitionTenantId

protected String getProcessDefinitionTenantId(ExecutionEntity execution)

getCaseDefinitionTenantId

protected String getCaseDefinitionTenantId(CaseExecutionEntity caseExecution)


Copyright © 2016 camunda services GmbH. All rights reserved.