|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.xml.containerpage.CmsADESessionCache
public final class CmsADESessionCache
ADE's session cache.
| Field Summary | |
|---|---|
static String |
SESSION_ATTR_ADE_CACHE
Session attribute name constant. |
| Constructor Summary | |
|---|---|
CmsADESessionCache(CmsObject cms)
Initializes the session cache. |
|
| Method Summary | |
|---|---|
CmsContainerElementBean |
getCacheContainerElement(String key)
Returns the cached container element under the given key. |
List<CmsContainerElementBean> |
getRecentList()
Returns the cached recent list. |
boolean |
isToolbarVisible()
Returns the tool-bar visibility. |
void |
setCacheContainerElement(String key,
CmsContainerElementBean containerElement)
Caches the given container element under the given key. |
void |
setCacheRecentList(List<CmsContainerElementBean> list)
Caches the given recent list. |
void |
setToolbarVisible(boolean toolbarVisible)
Sets the tool-bar visibility flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SESSION_ATTR_ADE_CACHE
| Constructor Detail |
|---|
public CmsADESessionCache(CmsObject cms)
cms - the cms context| Method Detail |
|---|
public CmsContainerElementBean getCacheContainerElement(String key)
key - the cache key
null if not foundpublic List<CmsContainerElementBean> getRecentList()
public boolean isToolbarVisible()
public void setCacheContainerElement(String key,
CmsContainerElementBean containerElement)
key - the cache keycontainerElement - the object to cachepublic void setCacheRecentList(List<CmsContainerElementBean> list)
list - the recent list to cachepublic void setToolbarVisible(boolean toolbarVisible)
toolbarVisible - the tool-bar visibility to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||