com.liferay.portal.cache.transactional
Class TransactionalPortalCacheHelper
java.lang.Object
com.liferay.portal.cache.transactional.TransactionalPortalCacheHelper
public class TransactionalPortalCacheHelper
- extends java.lang.Object
- Author:
- Shuyang Zhou
|
Method Summary |
static void |
begin()
|
static void |
commit()
|
protected static java.lang.Object |
get(com.liferay.portal.kernel.cache.PortalCache portalCache,
java.io.Serializable key)
|
static boolean |
isEnabled()
|
protected static void |
put(com.liferay.portal.kernel.cache.PortalCache portalCache,
java.io.Serializable key,
java.lang.Object value)
|
protected static void |
remove(com.liferay.portal.kernel.cache.PortalCache portalCache,
java.io.Serializable key)
|
protected static void |
removeAll(com.liferay.portal.kernel.cache.PortalCache portalCache)
|
static void |
rollback()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalPortalCacheHelper
public TransactionalPortalCacheHelper()
begin
public static void begin()
commit
public static void commit()
isEnabled
public static boolean isEnabled()
rollback
public static void rollback()
get
protected static java.lang.Object get(com.liferay.portal.kernel.cache.PortalCache portalCache,
java.io.Serializable key)
put
protected static void put(com.liferay.portal.kernel.cache.PortalCache portalCache,
java.io.Serializable key,
java.lang.Object value)
remove
protected static void remove(com.liferay.portal.kernel.cache.PortalCache portalCache,
java.io.Serializable key)
removeAll
protected static void removeAll(com.liferay.portal.kernel.cache.PortalCache portalCache)