org.camunda.bpm.engine.impl.core.variable
Class CorePersistentVariableScope
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.CoreVariableScope<PersistentVariableInstance>
org.camunda.bpm.engine.impl.core.variable.CorePersistentVariableScope
- All Implemented Interfaces:
- Serializable, PersistentVariableScope, VariableScope<PersistentVariableInstance>
- Direct Known Subclasses:
- CoreExecution, TaskEntity
public abstract class CorePersistentVariableScope
- extends CoreVariableScope<PersistentVariableInstance>
- implements PersistentVariableScope
- Author:
- Thorben Lindhauer
- See Also:
- Serialized Form
|
Method Summary |
protected void |
createVariableLocalFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration,
CoreVariableScope<PersistentVariableInstance> sourceActivityExecution)
|
abstract CorePersistentVariableScope |
getParentVariableScope()
|
protected abstract CorePersistentVariableStore |
getVariableStore()
|
void |
setVariableFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration)
Sets a variable's value from its serialized representation. |
protected void |
setVariableFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration,
CoreVariableScope<PersistentVariableInstance> sourceActivityExecution)
|
void |
setVariableLocalFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration)
Sets a variable's value from its serialized representation in this scope. |
protected void |
setVariableLocalFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration,
CoreVariableScope<PersistentVariableInstance> sourceActivityExecution)
|
| Methods inherited from class org.camunda.bpm.engine.impl.core.variable.CoreVariableScope |
collectVariableInstances, collectVariableNames, collectVariables, getCachedElContext, getSourceActivityVariableScope, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.delegate.VariableScope |
getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstances, getVariableInstancesLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocal |
CorePersistentVariableScope
public CorePersistentVariableScope()
setVariableFromSerialized
public void setVariableFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration)
- Description copied from interface:
PersistentVariableScope
- Sets a variable's value from its serialized representation.
If this variable already exists in the scope hierarchy above this scope, it is updated in its
corresponding scope (which could be this scope, the parent, grandparent, etc.).
Otherwise, the variable is created in the top most scope.
- Specified by:
setVariableFromSerialized in interface PersistentVariableScope
setVariableFromSerialized
protected void setVariableFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration,
CoreVariableScope<PersistentVariableInstance> sourceActivityExecution)
createVariableLocalFromSerialized
protected void createVariableLocalFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration,
CoreVariableScope<PersistentVariableInstance> sourceActivityExecution)
setVariableLocalFromSerialized
public void setVariableLocalFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration)
- Description copied from interface:
PersistentVariableScope
- Sets a variable's value from its serialized representation in this scope.
- Specified by:
setVariableLocalFromSerialized in interface PersistentVariableScope
setVariableLocalFromSerialized
protected void setVariableLocalFromSerialized(String variableName,
Object value,
String variableTypeName,
Map<String,Object> configuration,
CoreVariableScope<PersistentVariableInstance> sourceActivityExecution)
getParentVariableScope
public abstract CorePersistentVariableScope getParentVariableScope()
- Specified by:
getParentVariableScope in class CoreVariableScope<PersistentVariableInstance>
getVariableStore
protected abstract CorePersistentVariableStore getVariableStore()
- Specified by:
getVariableStore in class CoreVariableScope<PersistentVariableInstance>
Copyright © 2014 camunda services GmbH. All Rights Reserved.