org.camunda.bpm.engine.delegate
Interface PersistentVariableScope

All Superinterfaces:
VariableScope<PersistentVariableInstance>
All Known Subinterfaces:
ActivityExecution, BaseDelegateExecution, CmmnActivityExecution, CmmnCaseInstance, DelegateCaseExecution, DelegateExecution
All Known Implementing Classes:
CaseExecutionEntity, CaseExecutionImpl, CmmnExecution, CoreExecution, CorePersistentVariableScope, ExecutionEntity, ExecutionImpl, PvmExecutionImpl, TaskEntity

public interface PersistentVariableScope
extends VariableScope<PersistentVariableInstance>

Author:
Thorben Lindhauer

Method Summary
 void setVariableFromSerialized(String variableName, Object value, String variableTypeName, Map<String,Object> configuration)
          Sets a variable's value from its serialized representation.
 void setVariableLocalFromSerialized(String variableName, Object value, String variableTypeName, Map<String,Object> configuration)
          Sets a variable's value from its serialized representation in this scope.
 
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
 

Method Detail

setVariableFromSerialized

void setVariableFromSerialized(String variableName,
                               Object value,
                               String variableTypeName,
                               Map<String,Object> configuration)
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.

Parameters:
variableName -
value -
variableTypeName -
configuration -

setVariableLocalFromSerialized

void setVariableLocalFromSerialized(String variableName,
                                    Object value,
                                    String variableTypeName,
                                    Map<String,Object> configuration)
Sets a variable's value from its serialized representation in this scope.

Parameters:
variableName -
value -
variableTypeName -
configuration -


Copyright © 2014 camunda services GmbH. All Rights Reserved.