|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.meshcms.core.WebSite
org.meshcms.core.MainWebSite
Field Summary |
Fields inherited from class org.meshcms.core.WebSite |
ADMIN_ID_FILE, ADMIN_THEME, adminModulesPath, adminPath, adminScriptsPath, adminThemePath, adminThemesPath, APP_NAME, BACKUP_DIR_PREFIX, BACKUP_PREFIX, CMS_ID_FILE, cmsPath, configFilePath, configuration, customModulesPath, customThemesPath, generatedFilesPath, lastAdminThemeBlock, moduleDataPath, privatePath, propertiesFilePath, repositoryPath, rootFile, rootPath, sc, siteInfo, siteMap, sitesFilePath, statsLength, statsZero, TEMP_PREFIX, usersPath, VERSION_ID, virtualSitesPath, welcomeFiles |
Constructor Summary | |
MainWebSite()
|
Method Summary | |
protected static WebSite |
create(javax.servlet.ServletContext sc,
java.lang.String[] welcomeFiles,
java.io.File rootFile,
Path rootPath,
Path cmsPath)
Creates a new main website. |
MultiSiteManager |
getMultiSiteManager()
Returns the MultiSiteManager instance. |
java.lang.String |
getTypeDescription()
|
VirtualWebSite |
getVirtualSite(java.lang.String dirName)
Returns the virtual website instance related to the given directory name. |
WebSite |
getWebSite(javax.servlet.ServletRequest request)
Returns the right website for the given request. |
protected void |
init(javax.servlet.ServletContext sc,
java.lang.String[] welcomeFiles,
java.io.File rootFile,
Path rootPath,
Path cmsPath)
Initializes the website. |
void |
updateSiteMap(boolean force)
Creates another instance of SiteMap . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MainWebSite()
Method Detail |
protected static WebSite create(javax.servlet.ServletContext sc, java.lang.String[] welcomeFiles, java.io.File rootFile, Path rootPath, Path cmsPath)
protected void init(javax.servlet.ServletContext sc, java.lang.String[] welcomeFiles, java.io.File rootFile, Path rootPath, Path cmsPath)
init
in class WebSite
public WebSite getWebSite(javax.servlet.ServletRequest request)
getWebSite
in class WebSite
public java.lang.String getTypeDescription()
getTypeDescription
in class WebSite
public VirtualWebSite getVirtualSite(java.lang.String dirName)
public MultiSiteManager getMultiSiteManager()
public void updateSiteMap(boolean force)
WebSite
SiteMap
. If force
is true, a new site map is always created and the method
returns after the new site map is completed. If it is false, a new site map
is created only if the current one is too old. In this case, the site map
is created asynchronously and the method returns immediately. The
repository will be cleaned too.
updateSiteMap
in class WebSite
force
- it to force the SiteMap creation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |