public class TransactionalPortalCacheHelper
extends java.lang.Object
| Constructor and Description |
|---|
TransactionalPortalCacheHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
begin() |
static void |
commit() |
protected static <K extends java.io.Serializable,V> |
get(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key) |
static boolean |
isEnabled() |
protected static <K extends java.io.Serializable,V> |
put(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value) |
protected static <K extends java.io.Serializable,V> |
put(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value,
int ttl) |
protected static <K extends java.io.Serializable,V> |
removeAll(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache) |
static void |
rollback() |
public static void begin()
public static void commit()
public static boolean isEnabled()
public static void rollback()
protected static <K extends java.io.Serializable,V> V get(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key)
protected static <K extends java.io.Serializable,V> void put(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value)
protected static <K extends java.io.Serializable,V> void put(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache,
K key,
V value,
int ttl)
protected static <K extends java.io.Serializable,V> void removeAll(com.liferay.portal.kernel.cache.PortalCache<K,V> portalCache)