Liferay 6.0.5

com.liferay.portal.kernel.dao.orm
Class EntityCacheUtil

java.lang.Object
  extended by com.liferay.portal.kernel.dao.orm.EntityCacheUtil

public class EntityCacheUtil
extends Object


Constructor Summary
EntityCacheUtil()
           
 
Method Summary
static void clearCache()
           
static void clearCache(String className)
           
static void clearLocalCache()
           
static EntityCache getEntityCache()
           
static Object getResult(boolean entityCacheEnabled, Class<?> classObj, Serializable primaryKeyObj, SessionFactory sessionFactory)
           
static void invalidate()
           
static Object loadResult(boolean entityCacheEnabled, Class<?> classObj, Serializable primaryKeyObj, SessionFactory sessionFactory)
           
static void putResult(boolean entityCacheEnabled, Class<?> classObj, Serializable primaryKeyObj, Object result)
           
static void removeResult(boolean entityCacheEnabled, Class<?> classObj, Serializable primaryKeyObj)
           
 void setEntityCache(EntityCache finderCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityCacheUtil

public EntityCacheUtil()
Method Detail

clearCache

public static void clearCache()

clearCache

public static void clearCache(String className)

clearLocalCache

public static void clearLocalCache()

getEntityCache

public static EntityCache getEntityCache()

getResult

public static Object getResult(boolean entityCacheEnabled,
                               Class<?> classObj,
                               Serializable primaryKeyObj,
                               SessionFactory sessionFactory)

invalidate

public static void invalidate()

loadResult

public static Object loadResult(boolean entityCacheEnabled,
                                Class<?> classObj,
                                Serializable primaryKeyObj,
                                SessionFactory sessionFactory)

putResult

public static void putResult(boolean entityCacheEnabled,
                             Class<?> classObj,
                             Serializable primaryKeyObj,
                             Object result)

removeResult

public static void removeResult(boolean entityCacheEnabled,
                                Class<?> classObj,
                                Serializable primaryKeyObj)

setEntityCache

public void setEntityCache(EntityCache finderCache)

Liferay 6.0.5