org.opencms.ade.sitemap
Class CmsSitemapSessionCache

java.lang.Object
  extended by org.opencms.ade.sitemap.CmsSitemapSessionCache

public final class CmsSitemapSessionCache
extends Object

Sitemap session cache.

Since:
8.0.0

Field Summary
static String SESSION_ATTR_SITEMAP_CACHE
          Session attribute name constant.
 
Constructor Summary
CmsSitemapSessionCache(CmsObject cms)
          Initializes the session cache.
 
Method Summary
 List<CmsClientSitemapEntry> getRecentList()
          Returns the cached recent list.
 void setRecentList(List<CmsClientSitemapEntry> list)
          Caches the given recent list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_ATTR_SITEMAP_CACHE

public static final String SESSION_ATTR_SITEMAP_CACHE
Session attribute name constant.

See Also:
Constant Field Values
Constructor Detail

CmsSitemapSessionCache

public CmsSitemapSessionCache(CmsObject cms)
Initializes the session cache.

Parameters:
cms - the cms context
Method Detail

getRecentList

public List<CmsClientSitemapEntry> getRecentList()
Returns the cached recent list.

Returns:
the cached recent list

setRecentList

public void setRecentList(List<CmsClientSitemapEntry> list)
Caches the given recent list.

Parameters:
list - the recent list to cache