org.activiti.engine.impl.variable
类 HistoricJPAEntityVariableType

java.lang.Object
  继承者 org.activiti.engine.impl.variable.JPAEntityVariableType
      继承者 org.activiti.engine.impl.variable.HistoricJPAEntityVariableType
所有已实现的接口:
CacheableVariable, VariableType

public class HistoricJPAEntityVariableType
extends JPAEntityVariableType

Subclass of JPAEntityVariableType which is cacheable, unlike the super-class. This is used when fetching historic variables

作者:
Frederik Heremans

字段摘要
 
从类 org.activiti.engine.impl.variable.JPAEntityVariableType 继承的字段
TYPE_NAME
 
构造方法摘要
HistoricJPAEntityVariableType()
           
 
方法摘要
static HistoricJPAEntityVariableType getSharedInstance()
           
 boolean isCachable()
          Indicates if this variable type supports caching.
 
从类 org.activiti.engine.impl.variable.JPAEntityVariableType 继承的方法
getTypeName, getValue, isAbleToStore, setForceCacheable, setValue
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

HistoricJPAEntityVariableType

public HistoricJPAEntityVariableType()
方法详细信息

isCachable

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).

指定者:
接口 VariableType 中的 isCachable
覆盖:
JPAEntityVariableType 中的 isCachable
返回:
whether variables of this type are cacheable.

getSharedInstance

public static HistoricJPAEntityVariableType getSharedInstance()


Copyright © 2013 Alfresco. All rights reserved.