com.liferay.portal.kernel.dao.orm
Class FinderCacheUtil
java.lang.Object
com.liferay.portal.kernel.dao.orm.FinderCacheUtil
public class FinderCacheUtil
- extends Object
Method Summary |
static void |
clearCache()
|
static void |
clearCache(String className)
|
static void |
clearLocalCache()
|
static FinderCache |
getFinderCache()
|
static Object |
getResult(FinderPath finderPath,
Object[] args,
SessionFactory sessionFactory)
|
static Object |
getResult(String className,
String methodName,
String[] params,
Object[] args,
SessionFactory sessionFactory)
Deprecated. |
static void |
invalidate()
|
static void |
putResult(boolean classNameCacheEnabled,
String className,
String methodName,
String[] params,
Object[] args,
Object result)
Deprecated. |
static void |
putResult(FinderPath finderPath,
Object[] args,
Object result)
|
static void |
removeCache(String className)
|
static void |
removeResult(FinderPath finderPath,
Object[] args)
|
void |
setFinderCache(FinderCache finderCache)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FinderCacheUtil
public FinderCacheUtil()
clearCache
public static void clearCache()
clearCache
public static void clearCache(String className)
clearLocalCache
public static void clearLocalCache()
getFinderCache
public static FinderCache getFinderCache()
getResult
public static Object getResult(FinderPath finderPath,
Object[] args,
SessionFactory sessionFactory)
getResult
public static Object getResult(String className,
String methodName,
String[] params,
Object[] args,
SessionFactory sessionFactory)
- Deprecated.
invalidate
public static void invalidate()
putResult
public static void putResult(boolean classNameCacheEnabled,
String className,
String methodName,
String[] params,
Object[] args,
Object result)
- Deprecated.
putResult
public static void putResult(FinderPath finderPath,
Object[] args,
Object result)
removeCache
public static void removeCache(String className)
removeResult
public static void removeResult(FinderPath finderPath,
Object[] args)
setFinderCache
public void setFinderCache(FinderCache finderCache)