Class HistoricJPAEntityVariableType
java.lang.Object
org.activiti.engine.impl.variable.JPAEntityVariableType
org.activiti.engine.impl.variable.HistoricJPAEntityVariableType
- All Implemented Interfaces:
CacheableVariable,VariableType
Subclass of
JPAEntityVariableType which is cacheable, unlike the super-class. This is used when fetching historic variables-
Field Summary
Fields inherited from class org.activiti.engine.impl.variable.JPAEntityVariableType
TYPE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if this variable type supports caching.Methods inherited from class org.activiti.engine.impl.variable.JPAEntityVariableType
getTypeName, getValue, isAbleToStore, setForceCacheable, setValue
-
Constructor Details
-
HistoricJPAEntityVariableType
public HistoricJPAEntityVariableType()
-
-
Method Details
-
isCachable
public boolean isCachable()Description copied from interface:VariableTypeIndicates if this variable type supports caching.
If caching is supported, the result of
VariableType.getValue(ValueFields)is saved for the duration of the session and used for subsequent reads of the variable's value.If caching is not supported, all reads of a variable's value require a fresh call to
VariableType.getValue(ValueFields).- Specified by:
isCachablein interfaceVariableType- Overrides:
isCachablein classJPAEntityVariableType- Returns:
- whether variables of this type are cacheable.
-