|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.persistence.entity.VariableScopeImpl
public abstract class VariableScopeImpl
字段摘要 | |
---|---|
protected ELContext |
cachedElContext
|
protected String |
id
|
protected Map<String,VariableInstanceEntity> |
variableInstances
|
构造方法摘要 | |
---|---|
VariableScopeImpl()
|
方法摘要 | |
---|---|
protected Set<String> |
collectVariableNames(Set<String> variableNames)
|
protected Map<String,Object> |
collectVariables(HashMap<String,Object> variables)
|
protected VariableInstanceEntity |
createVariableInstance(String variableName,
Object value,
ExecutionEntity sourceActivityExecution)
|
void |
createVariableLocal(String variableName,
Object value)
|
protected void |
createVariableLocal(String variableName,
Object value,
ExecutionEntity sourceActivityExecution)
only called when a new variable is created on this variable scope. |
void |
createVariablesLocal(Map<String,? extends Object> variables)
|
protected void |
deleteVariableInstanceForExplicitUserCall(VariableInstanceEntity variableInstance,
ExecutionEntity sourceActivityExecution)
|
void |
deleteVariablesInstanceForLeavingScope()
|
protected void |
ensureVariableInstancesInitialized()
|
ELContext |
getCachedElContext()
|
String |
getId()
|
protected abstract VariableScopeImpl |
getParentVariableScope()
|
protected ExecutionEntity |
getSourceActivityExecution()
|
Object |
getVariable(String variableName)
|
Object |
getVariableLocal(String variableName)
|
Set<String> |
getVariableNames()
|
Set<String> |
getVariableNamesLocal()
|
Map<String,Object> |
getVariables()
|
Map<String,Object> |
getVariablesLocal()
|
boolean |
hasVariable(String variableName)
|
boolean |
hasVariableLocal(String variableName)
|
boolean |
hasVariables()
|
boolean |
hasVariablesLocal()
|
protected abstract void |
initializeVariableInstanceBackPointer(VariableInstanceEntity variableInstance)
|
protected boolean |
isActivityIdUsedForDetails()
Execution variable updates have activity instance ids, but historic task variable updates don't. |
protected abstract List<VariableInstanceEntity> |
loadVariableInstances()
|
void |
removeVariable(String variableName)
Removes the variable and creates a new HistoricVariableUpdateEntity . |
protected void |
removeVariable(String variableName,
ExecutionEntity sourceActivityExecution)
|
void |
removeVariableLocal(String variableName)
Removes the local variable and creates a new HistoricVariableUpdateEntity . |
protected void |
removeVariableLocal(String variableName,
ExecutionEntity 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 |
setId(String id)
|
void |
setVariable(String variableName,
Object value)
|
protected void |
setVariable(String variableName,
Object value,
ExecutionEntity sourceActivityExecution)
|
Object |
setVariableLocal(String variableName,
Object value)
|
Object |
setVariableLocal(String variableName,
Object value,
ExecutionEntity sourceActivityExecution)
|
void |
setVariables(Map<String,? extends Object> variables)
|
void |
setVariablesLocal(Map<String,? extends Object> variables)
|
protected void |
updateVariableInstance(VariableInstanceEntity variableInstance,
Object value,
ExecutionEntity sourceActivityExecution)
|
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
protected Map<String,VariableInstanceEntity> variableInstances
protected ELContext cachedElContext
protected String id
构造方法详细信息 |
---|
public VariableScopeImpl()
方法详细信息 |
---|
protected abstract List<VariableInstanceEntity> loadVariableInstances()
protected abstract VariableScopeImpl getParentVariableScope()
protected abstract void initializeVariableInstanceBackPointer(VariableInstanceEntity variableInstance)
protected void ensureVariableInstancesInitialized()
public Map<String,Object> getVariables()
VariableScope
中的 getVariables
protected Map<String,Object> collectVariables(HashMap<String,Object> variables)
public Object getVariable(String variableName)
VariableScope
中的 getVariable
public Object getVariableLocal(String variableName)
VariableScope
中的 getVariableLocal
public boolean hasVariables()
VariableScope
中的 hasVariables
public boolean hasVariablesLocal()
VariableScope
中的 hasVariablesLocal
public boolean hasVariable(String variableName)
VariableScope
中的 hasVariable
public boolean hasVariableLocal(String variableName)
VariableScope
中的 hasVariableLocal
protected Set<String> collectVariableNames(Set<String> variableNames)
public Set<String> getVariableNames()
VariableScope
中的 getVariableNames
public Map<String,Object> getVariablesLocal()
VariableScope
中的 getVariablesLocal
public Set<String> getVariableNamesLocal()
VariableScope
中的 getVariableNamesLocal
public void createVariablesLocal(Map<String,? extends Object> variables)
public void setVariables(Map<String,? extends Object> variables)
VariableScope
中的 setVariables
public void setVariablesLocal(Map<String,? extends Object> variables)
VariableScope
中的 setVariablesLocal
public void removeVariables()
VariableScope
复制的描述HistoricVariableUpdateEntity
for each of them.
VariableScope
中的 removeVariables
public void removeVariablesLocal()
VariableScope
复制的描述HistoricVariableUpdateEntity
for each of them.
VariableScope
中的 removeVariablesLocal
public void deleteVariablesInstanceForLeavingScope()
public void removeVariables(Collection<String> variableNames)
VariableScope
复制的描述HistoricVariableUpdateEntity
for each of them.
VariableScope
中的 removeVariables
public void removeVariablesLocal(Collection<String> variableNames)
VariableScope
复制的描述HistoricVariableUpdateEntity
for each of them.
VariableScope
中的 removeVariablesLocal
public void setVariable(String variableName, Object value)
VariableScope
中的 setVariable
protected void setVariable(String variableName, Object value, ExecutionEntity sourceActivityExecution)
public Object setVariableLocal(String variableName, Object value)
VariableScope
中的 setVariableLocal
public Object setVariableLocal(String variableName, Object value, ExecutionEntity sourceActivityExecution)
public void createVariableLocal(String variableName, Object value)
VariableScope
中的 createVariableLocal
protected void createVariableLocal(String variableName, Object value, ExecutionEntity sourceActivityExecution)
public void removeVariable(String variableName)
VariableScope
复制的描述HistoricVariableUpdateEntity
.
VariableScope
中的 removeVariable
protected void removeVariable(String variableName, ExecutionEntity sourceActivityExecution)
public void removeVariableLocal(String variableName)
VariableScope
复制的描述HistoricVariableUpdateEntity
.
VariableScope
中的 removeVariableLocal
protected ExecutionEntity getSourceActivityExecution()
protected void removeVariableLocal(String variableName, ExecutionEntity sourceActivityExecution)
protected void deleteVariableInstanceForExplicitUserCall(VariableInstanceEntity variableInstance, ExecutionEntity sourceActivityExecution)
protected void updateVariableInstance(VariableInstanceEntity variableInstance, Object value, ExecutionEntity sourceActivityExecution)
protected VariableInstanceEntity createVariableInstance(String variableName, Object value, ExecutionEntity sourceActivityExecution)
protected boolean isActivityIdUsedForDetails()
public ELContext getCachedElContext()
public void setCachedElContext(ELContext cachedElContext)
public String getId()
public void setId(String id)
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |