Class PublicHtmlPageCacheService
- java.lang.Object
-
- fr.paris.lutece.portal.service.cache.AbstractCacheableService
-
- fr.paris.lutece.plugins.htmlpage.service.PublicHtmlPageCacheService
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,Cloneable,net.sf.ehcache.event.CacheEventListener
public class PublicHtmlPageCacheService extends fr.paris.lutece.portal.service.cache.AbstractCacheableServiceHtmlPageCacheService
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHtmlPageCache(HtmlPage htmlPage)Add htmlPage to the cachevoidaddHtmlPageCache(List<HtmlPage> htmlPageList)Add htmlPageList to the cacheHtmlPagegetHtmlPageCache(String strId)Get htmlPage to the cacheList<HtmlPage>getHtmlPageListCache()Get htmlPageList to the cacheStringgetName()static PublicHtmlPageCacheServicegetService()Get the instance of this service-
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
-
-
-
-
Method Detail
-
getService
public static PublicHtmlPageCacheService getService()
Get the instance of this service- Returns:
- the instance of this service
-
getName
public String getName()
-
getHtmlPageCache
public HtmlPage getHtmlPageCache(String strId)
Get htmlPage to the cache- Parameters:
strId-- Returns:
-
getHtmlPageListCache
public List<HtmlPage> getHtmlPageListCache()
Get htmlPageList to the cache- Parameters:
strId-- Returns:
-
addHtmlPageCache
public void addHtmlPageCache(HtmlPage htmlPage)
Add htmlPage to the cache- Parameters:
htmlPage-
-
-