com.liferay.portal.cache.transactional
Class TransactionalPortalCacheHelper

java.lang.Object
  extended by com.liferay.portal.cache.transactional.TransactionalPortalCacheHelper

public class TransactionalPortalCacheHelper
extends java.lang.Object

View Source

Author:
Shuyang Zhou

Constructor Summary
TransactionalPortalCacheHelper()
           
 
Method Summary
static void begin()
           
static void commit()
           
protected static java.lang.Object get(com.liferay.portal.kernel.cache.PortalCache portalCache, java.lang.String key)
           
static boolean isEnabled()
           
protected static void put(com.liferay.portal.kernel.cache.PortalCache portalCache, java.lang.String key, java.lang.Object value)
           
protected static void remove(com.liferay.portal.kernel.cache.PortalCache portalCache, java.lang.String 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
 

Constructor Detail

TransactionalPortalCacheHelper

public TransactionalPortalCacheHelper()
Method Detail

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.lang.String key)

put

protected static void put(com.liferay.portal.kernel.cache.PortalCache portalCache,
                          java.lang.String key,
                          java.lang.Object value)

remove

protected static void remove(com.liferay.portal.kernel.cache.PortalCache portalCache,
                             java.lang.String key)

removeAll

protected static void removeAll(com.liferay.portal.kernel.cache.PortalCache portalCache)