Package org.opencms.ade.sitemap
Class CmsSitemapSessionCache
- java.lang.Object
-
- org.opencms.ade.sitemap.CmsSitemapSessionCache
-
public final class CmsSitemapSessionCache extends java.lang.Object
Sitemap session cache.- Since:
- 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SESSION_ATTR_SITEMAP_CACHE
Session attribute name constant.
-
Constructor Summary
Constructors Constructor Description CmsSitemapSessionCache(CmsObject cms)
Initializes the session cache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CmsClientSitemapEntry>
getRecentList()
Returns the cached recent list.void
setRecentList(java.util.List<CmsClientSitemapEntry> list)
Caches the given recent list.
-
-
-
Field Detail
-
SESSION_ATTR_SITEMAP_CACHE
public static final java.lang.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 java.util.List<CmsClientSitemapEntry> getRecentList()
Returns the cached recent list.- Returns:
- the cached recent list
-
setRecentList
public void setRecentList(java.util.List<CmsClientSitemapEntry> list)
Caches the given recent list.- Parameters:
list
- the recent list to cache
-
-