public class CmsQuickLaunchLocationCache extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
CmsQuickLaunchLocationCache()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileExplorerLocation(java.lang.String siteRoot)
Returns the file explorer location for the given site root.
|
static CmsQuickLaunchLocationCache |
getLocationCache(javax.servlet.http.HttpSession session)
Returns the location cache from the user session.
|
java.lang.String |
getPageEditorLocation(java.lang.String siteRoot)
Returns the page editor location for the given site root.
|
java.lang.String |
getSitemapEditorLocation(java.lang.String siteRoot)
Returns the sitemap editor location for the given site root.
|
void |
setFileExplorerLocation(java.lang.String siteRoot,
java.lang.String location)
Sets the latest file explorer location for the given site.
|
void |
setPageEditorLocation(java.lang.String siteRoot,
java.lang.String location)
Sets the latest page editor location for the given site.
|
void |
setSitemapEditorLocation(java.lang.String siteRoot,
java.lang.String location)
Sets the latest sitemap editor location for the given site.
|
public CmsQuickLaunchLocationCache()
public static CmsQuickLaunchLocationCache getLocationCache(javax.servlet.http.HttpSession session)
session
- the sessionpublic java.lang.String getFileExplorerLocation(java.lang.String siteRoot)
siteRoot
- the site rootpublic java.lang.String getPageEditorLocation(java.lang.String siteRoot)
siteRoot
- the site rootpublic java.lang.String getSitemapEditorLocation(java.lang.String siteRoot)
siteRoot
- the site rootpublic void setFileExplorerLocation(java.lang.String siteRoot, java.lang.String location)
siteRoot
- the site rootlocation
- the locationpublic void setPageEditorLocation(java.lang.String siteRoot, java.lang.String location)
siteRoot
- the site rootlocation
- the locationpublic void setSitemapEditorLocation(java.lang.String siteRoot, java.lang.String location)
siteRoot
- the site rootlocation
- the location