|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.core.variable.CoreVariableScope
public abstract class CoreVariableScope
| Field Summary | |
|---|---|
protected ELContext |
cachedElContext
|
| Constructor Summary | |
|---|---|
CoreVariableScope()
|
|
| Method Summary | |
|---|---|
Map<String,VariableInstance> |
collectVariableInstances(Map<String,VariableInstance> variables,
Collection<String> variableNames)
|
protected Set<String> |
collectVariableNames(Set<String> variableNames)
|
protected Map<String,Object> |
collectVariables(HashMap<String,Object> variables)
|
protected CoreVariableInstance |
createVariableInstance(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
|
protected void |
createVariableLocal(String variableName,
Object value)
|
protected void |
createVariableLocal(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
only called when a new variable is created on this variable scope. |
protected void |
createVariablesLocal(Map<String,? extends Object> variables)
|
ELContext |
getCachedElContext()
|
abstract CoreVariableScope |
getParentVariableScope()
|
protected CoreVariableScope |
getSourceActivityVariableScope()
|
Object |
getVariable(String variableName)
|
Map<String,VariableInstance> |
getVariableInstances()
|
Map<String,VariableInstance> |
getVariableInstances(Collection<String> variableNames)
|
Map<String,VariableInstance> |
getVariableInstancesLocal()
|
Object |
getVariableLocal(String variableName)
|
Set<String> |
getVariableNames()
|
Set<String> |
getVariableNamesLocal()
|
Map<String,Object> |
getVariables()
|
Map<String,Object> |
getVariablesLocal()
|
protected abstract CoreVariableStore |
getVariableStore()
|
boolean |
hasVariable(String variableName)
|
boolean |
hasVariableLocal(String variableName)
|
boolean |
hasVariables()
|
boolean |
hasVariablesLocal()
|
void |
removeVariable(String variableName)
Removes the variable and creates a new HistoricVariableUpdateEntity. |
protected void |
removeVariable(String variableName,
CoreVariableScope sourceActivityExecution)
|
void |
removeVariableLocal(String variableName)
Removes the local variable and creates a new HistoricVariableUpdateEntity. |
protected void |
removeVariableLocal(String variableName,
CoreVariableScope sourceActivityExecution)
|
void |
removeVariables()
Removes the (local) variables and creates a new HistoricVariableUpdateEntity for each of them. |
void |
removeVariables(Collection<String> variableNames)
Removes the variables and creates a new HistoricVariableUpdateEntity for each of them. |
void |
removeVariablesLocal()
Removes the (local) variables and creates a new HistoricVariableUpdateEntity for each of them. |
void |
removeVariablesLocal(Collection<String> variableNames)
Removes the local variables and creates a new HistoricVariableUpdateEntity for each of them. |
void |
setCachedElContext(ELContext cachedElContext)
|
void |
setVariable(String variableName,
Object value)
|
protected void |
setVariable(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
|
void |
setVariableLocal(String variableName,
Object value)
|
protected void |
setVariableLocal(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
|
void |
setVariables(Map<String,? extends Object> variables)
|
void |
setVariablesLocal(Map<String,? extends Object> variables)
|
protected void |
updateVariableInstance(CoreVariableInstance variableInstance,
Object value,
CoreVariableScope sourceActivityExecution)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ELContext cachedElContext
| Constructor Detail |
|---|
public CoreVariableScope()
| Method Detail |
|---|
protected abstract CoreVariableStore getVariableStore()
public abstract CoreVariableScope getParentVariableScope()
public Map<String,Object> getVariables()
getVariables in interface VariableScopepublic Map<String,VariableInstance> getVariableInstances()
public Map<String,VariableInstance> getVariableInstancesLocal()
public Map<String,VariableInstance> getVariableInstances(Collection<String> variableNames)
public Map<String,VariableInstance> collectVariableInstances(Map<String,VariableInstance> variables,
Collection<String> variableNames)
protected Map<String,Object> collectVariables(HashMap<String,Object> variables)
public Object getVariable(String variableName)
getVariable in interface VariableScopepublic Object getVariableLocal(String variableName)
getVariableLocal in interface VariableScopepublic boolean hasVariables()
hasVariables in interface VariableScopepublic boolean hasVariablesLocal()
hasVariablesLocal in interface VariableScopepublic boolean hasVariable(String variableName)
hasVariable in interface VariableScopepublic boolean hasVariableLocal(String variableName)
hasVariableLocal in interface VariableScopeprotected Set<String> collectVariableNames(Set<String> variableNames)
public Set<String> getVariableNames()
getVariableNames in interface VariableScopepublic Map<String,Object> getVariablesLocal()
getVariablesLocal in interface VariableScopepublic Set<String> getVariableNamesLocal()
getVariableNamesLocal in interface VariableScopeprotected void createVariablesLocal(Map<String,? extends Object> variables)
public void setVariables(Map<String,? extends Object> variables)
setVariables in interface VariableScopepublic void setVariablesLocal(Map<String,? extends Object> variables)
setVariablesLocal in interface VariableScopepublic void removeVariables()
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariables in interface VariableScopepublic void removeVariablesLocal()
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariablesLocal in interface VariableScopepublic void removeVariables(Collection<String> variableNames)
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariables in interface VariableScopepublic void removeVariablesLocal(Collection<String> variableNames)
VariableScopeHistoricVariableUpdateEntity for each of them.
removeVariablesLocal in interface VariableScope
public void setVariable(String variableName,
Object value)
setVariable in interface VariableScope
protected void setVariable(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
public void setVariableLocal(String variableName,
Object value)
setVariableLocal in interface VariableScope
protected void setVariableLocal(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
protected void createVariableLocal(String variableName,
Object value)
protected void createVariableLocal(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
public void removeVariable(String variableName)
VariableScopeHistoricVariableUpdateEntity.
removeVariable in interface VariableScope
protected void removeVariable(String variableName,
CoreVariableScope sourceActivityExecution)
public void removeVariableLocal(String variableName)
VariableScopeHistoricVariableUpdateEntity.
removeVariableLocal in interface VariableScopeprotected CoreVariableScope getSourceActivityVariableScope()
protected void removeVariableLocal(String variableName,
CoreVariableScope sourceActivityExecution)
protected void updateVariableInstance(CoreVariableInstance variableInstance,
Object value,
CoreVariableScope sourceActivityExecution)
protected CoreVariableInstance createVariableInstance(String variableName,
Object value,
CoreVariableScope sourceActivityExecution)
public ELContext getCachedElContext()
public void setCachedElContext(ELContext cachedElContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||