public final class AnnounceCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
Modifier and Type | Method and Description |
---|---|
static String |
getAnnounceCacheKey(int nIdAnnounce)
Get the cache key of an announce
|
static String |
getCategoryCacheKey(int nIdCategory)
Get the cache key of a category
|
Object |
getFromCache(String strKey) |
static String |
getListIdPublishedAnnouncesCacheKey()
Get the cache key of the list of published announces
|
String |
getName() |
static AnnounceCacheService |
getService()
Get the instance of this service
|
void |
putInCache(String strKey,
Object object) |
clone, dispose, enableCache, getCache, getCacheSize, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, removeKey, resetCache
public static AnnounceCacheService getService()
public static String getAnnounceCacheKey(int nIdAnnounce)
nIdAnnounce
- The id of the announce to get the key ofpublic static String getCategoryCacheKey(int nIdCategory)
nIdCategory
- The id of the category to get the key ofpublic static String getListIdPublishedAnnouncesCacheKey()
public String getName()
public Object getFromCache(String strKey)
getFromCache
in class fr.paris.lutece.portal.service.cache.AbstractCacheableService
Copyright © 2019 City of Paris. All rights reserved.