Class HistoricJPAEntityVariableType
java.lang.Object
org.flowable.variable.service.impl.types.JPAEntityVariableType
org.flowable.variable.service.impl.types.HistoricJPAEntityVariableType
- All Implemented Interfaces:
VariableType,CacheableVariable
Subclass of
JPAEntityVariableType which is cacheable, unlike the super-class. This is used when fetching historic variables- Author:
- Frederik Heremans
-
Field Summary
Fields inherited from class org.flowable.variable.service.impl.types.JPAEntityVariableType
TYPE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if this variable type supports caching.Methods inherited from class org.flowable.variable.service.impl.types.JPAEntityVariableType
getTypeName, getValue, isAbleToStore, setForceCacheable, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.variable.api.types.VariableType
isReadOnly
-
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.
-