|
||||||||
| 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 java.lang.String |
SESSION_ATTR_ADE_CACHE
Session attribute name constant. |
| Constructor Summary | |
|---|---|
CmsADESessionCache(CmsObject cms)
Initializes the session cache. |
|
| Method Summary | |
|---|---|
static CmsADESessionCache |
getCache(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
Gets the session cache for the current session. |
CmsContainerElementBean |
getCacheContainerElement(java.lang.String key)
Returns the cached container element under the given key. |
java.util.List<CmsContainerElementBean> |
getRecentList()
Returns the cached recent list. |
CmsJspStandardContextBean.TemplateBean |
getTemplateBean(java.lang.String uri,
boolean safe)
Gets the cached template bean for a given container page uri. |
boolean |
isShowEditorHelp()
Returns the show editor help flag. |
boolean |
isToolbarVisible()
Returns the tool-bar visibility. |
void |
setCacheContainerElement(java.lang.String key,
CmsContainerElementBean containerElement)
Caches the given container element under the given key. |
void |
setCacheRecentList(java.util.List<CmsContainerElementBean> list)
Caches the given recent list. |
void |
setShowEditorHelp(boolean isShowEditorHelp)
Sets the show editor help flag. |
void |
setTemplateBean(java.lang.String uri,
CmsJspStandardContextBean.TemplateBean templateBean)
Caches a template bean for a given container page URI. |
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 java.lang.String SESSION_ATTR_ADE_CACHE
| Constructor Detail |
|---|
public CmsADESessionCache(CmsObject cms)
cms - the cms context| Method Detail |
|---|
public static CmsADESessionCache getCache(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
request - the current requestcms - the current CMS context
public CmsContainerElementBean getCacheContainerElement(java.lang.String key)
key - the cache key
null if not foundpublic java.util.List<CmsContainerElementBean> getRecentList()
public CmsJspStandardContextBean.TemplateBean getTemplateBean(java.lang.String uri,
boolean safe)
uri - the container page urisafe - if true, return a valid template bean even if it hasn't been cached before
public boolean isShowEditorHelp()
public boolean isToolbarVisible()
public void setCacheContainerElement(java.lang.String key,
CmsContainerElementBean containerElement)
key - the cache keycontainerElement - the object to cachepublic void setCacheRecentList(java.util.List<CmsContainerElementBean> list)
list - the recent list to cachepublic void setShowEditorHelp(boolean isShowEditorHelp)
isShowEditorHelp - the show editor help flag to set
public void setTemplateBean(java.lang.String uri,
CmsJspStandardContextBean.TemplateBean templateBean)
uri - the container page uritemplateBean - the template bean 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 | |||||||