public class HistoricJPAEntityVariableType extends JPAEntityVariableType
JPAEntityVariableType
which is cacheable, unlike the super-class. This is used
when fetching historic variablesTYPE_NAME
Constructor and Description |
---|
HistoricJPAEntityVariableType() |
Modifier and Type | Method and Description |
---|---|
static HistoricJPAEntityVariableType |
getSharedInstance() |
boolean |
isCachable()
Indicates if this variable type supports caching.
|
getTypeName, getValue, isAbleToStore, setForceCacheable, setValue
public boolean isCachable()
VariableType
Indicates 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)
.
isCachable
in interface VariableType
isCachable
in class JPAEntityVariableType
public static HistoricJPAEntityVariableType getSharedInstance()
Copyright © 2016 Alfresco. All rights reserved.