org.riotfamily.components.cache
Class ComponentCacheUtils

java.lang.Object
  extended by org.riotfamily.components.cache.ComponentCacheUtils

public final class ComponentCacheUtils
extends Object

Since:
6.5
Author:
Felix Gnass [fgnass at neteye dot de]

Method Summary
static void addContainerTags(ContentContainer container, boolean preview)
           
static void addContainerTags(ContentContainer container, HttpServletRequest request)
           
static void invalidateContainer(CacheService cacheService, ContentContainer container)
          Invalidates the live and preview version of the container.
static void invalidatePreviewVersion(CacheService cacheService, ContentContainer container)
          Invalidates the preview version of the container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addContainerTags

public static void addContainerTags(ContentContainer container,
                                    HttpServletRequest request)

addContainerTags

public static void addContainerTags(ContentContainer container,
                                    boolean preview)

invalidateContainer

public static void invalidateContainer(CacheService cacheService,
                                       ContentContainer container)
Invalidates the live and preview version of the container.


invalidatePreviewVersion

public static void invalidatePreviewVersion(CacheService cacheService,
                                            ContentContainer container)
Invalidates the preview version of the container.