|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextAssociationManager
Represents a means for associating an execution with a context.
This enables activiti-cdi to provide contextual business process management services, without relying on a specific context like i.e. the conversation context.
| Method Summary | |
|---|---|
void |
disAssociate()
Disassociates the current process instance with a context / scope |
void |
flushVariableCache()
allows to flush the cached variables. |
org.camunda.bpm.engine.variable.VariableMap |
getCachedLocalVariables()
|
org.camunda.bpm.engine.variable.VariableMap |
getCachedVariables()
|
Execution |
getExecution()
get the current execution |
String |
getExecutionId()
|
Task |
getTask()
get the current task |
org.camunda.bpm.engine.variable.value.TypedValue |
getVariable(String variableName)
get a process variable |
org.camunda.bpm.engine.variable.value.TypedValue |
getVariableLocal(String variableName)
get a local process variable |
void |
setExecution(Execution execution)
associate with the provided execution |
void |
setTask(Task task)
set a current task |
void |
setVariable(String variableName,
Object value)
set a process variable |
void |
setVariableLocal(String variableName,
Object value)
set a local process variable |
| Method Detail |
|---|
void disAssociate()
ProcessEngineException - if no process instance is currently associatedString getExecutionId()
Execution getExecution()
void setExecution(Execution execution)
void setTask(Task task)
Task getTask()
void setVariable(String variableName,
Object value)
org.camunda.bpm.engine.variable.value.TypedValue getVariable(String variableName)
org.camunda.bpm.engine.variable.VariableMap getCachedVariables()
VariableMap of process variables cached between flushes
void setVariableLocal(String variableName,
Object value)
org.camunda.bpm.engine.variable.value.TypedValue getVariableLocal(String variableName)
org.camunda.bpm.engine.variable.VariableMap getCachedLocalVariables()
VariableMap of local process variables cached between flushesvoid flushVariableCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||