|
||||||||||
| 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. |
Map<String,Object> |
getCachedVariables()
|
Map<String,Object> |
getCachedVariablesLocal()
|
Execution |
getExecution()
get the current execution |
String |
getExecutionId()
|
Task |
getTask()
get the current task |
Object |
getVariable(String variableName)
get a process variable |
Object |
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)
Object getVariable(String variableName)
Map<String,Object> getCachedVariables()
void setVariableLocal(String variableName,
Object value)
Object getVariableLocal(String variableName)
Map<String,Object> getCachedVariablesLocal()
void flushVariableCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||