Class HistoricJPAEntityListVariableType
- java.lang.Object
-
- org.activiti.engine.impl.variable.JPAEntityListVariableType
-
- org.activiti.engine.impl.variable.HistoricJPAEntityListVariableType
-
- All Implemented Interfaces:
CacheableVariable,VariableType
public class HistoricJPAEntityListVariableType extends JPAEntityListVariableType
Subclass ofJPAEntityListVariableTypewhich is cacheable, unlike the super-class. This is used when fetching historic variables
-
-
Field Summary
-
Fields inherited from class org.activiti.engine.impl.variable.JPAEntityListVariableType
forceCachedValue, mappings, TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description HistoricJPAEntityListVariableType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HistoricJPAEntityListVariableTypegetSharedInstance()booleanisCachable()Indicates if this variable type supports caching.-
Methods inherited from class org.activiti.engine.impl.variable.JPAEntityListVariableType
deserializeIds, getTypeName, getValue, isAbleToStore, serializeIds, setForceCacheable, setValue
-
-
-
-
Method Detail
-
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 classJPAEntityListVariableType- Returns:
- whether variables of this type are cacheable.
-
getSharedInstance
public static HistoricJPAEntityListVariableType getSharedInstance()
-
-