org.riotfamily.website.cache
Class CacheTagUtils

java.lang.Object
  extended by org.riotfamily.website.cache.CacheTagUtils

public final class CacheTagUtils
extends Object

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

Method Summary
static String getTag(Class<?> clazz)
           
static String getTag(Class<?> clazz, Serializable id)
           
static void invalidate(CacheService cacheService, Class<?> clazz)
           
static void invalidate(CacheService cacheService, Class<?> clazz, Serializable objectId)
           
static void tag(Class<?> clazz)
           
static void tag(Class<?> clazz, Serializable id)
           
static void tag(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTag

public static String getTag(Class<?> clazz)

getTag

public static String getTag(Class<?> clazz,
                            Serializable id)

tag

public static void tag(Class<?> clazz,
                       Serializable id)

tag

public static void tag(Class<?> clazz)

tag

public static void tag(String className)
                throws ClassNotFoundException
Throws:
ClassNotFoundException

invalidate

public static void invalidate(CacheService cacheService,
                              Class<?> clazz)

invalidate

public static void invalidate(CacheService cacheService,
                              Class<?> clazz,
                              Serializable objectId)