public class WebSiteServiceImpl extends WebSiteService
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSiteServiceImpl.WebsiteInfo |
| Constructor and Description |
|---|
WebSiteServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected UgcService |
createUgcService(org.apache.chemistry.opencmis.client.api.Session session,
WebSiteServiceImpl.WebsiteInfo siteInfo) |
WebSite |
getWebSite(String hostName,
int hostPort)
Gets the web site that relates to the host name and port.
|
WebSite |
getWebSite(String hostName,
int hostPort,
String contextPath)
Gets the website that relates to the specified host, port, and context path.
|
Collection<WebSite> |
getWebSites()
Gets all the web sites hosted on the repository
|
void |
setAssetFactory(AssetFactory assetFactory) |
void |
setFormIdCache(SimpleCache<String,String> formIdCache) |
void |
setLogoFilename(String logoFilename)
Set the logo image filename pattern, eg logo.%
|
void |
setSectionFactory(SectionFactory sectionFactory) |
void |
setWebscriptCaller(WebScriptCaller webscriptCaller) |
void |
setWebSiteCacheRefreshAfter(int webSiteCacheRefreshAfter)
Set the number of seconds after which the web site cache will refresh.
|
void |
setWebSiteSectionCacheRefreshAfter(int webSiteSectionCacheRefreshAfter)
Set the number of seconds after which the web site section cache will
refresh.
|
getThreadWebSite, setThreadWebSitepublic void setWebSiteCacheRefreshAfter(int webSiteCacheRefreshAfter)
webSiteCacheRefreshAfter - secondspublic void setWebSiteSectionCacheRefreshAfter(int webSiteSectionCacheRefreshAfter)
webSiteSectionCacheRefreshAfter - secondspublic WebSite getWebSite(String hostName, int hostPort)
WebSiteServicegetWebSite in class WebSiteServicehostName - host namehostPort - port numberWebSiteService.getWebSite(java.lang.String,
int)public WebSite getWebSite(String hostName, int hostPort, String contextPath)
WebSiteServicegetWebSite in class WebSiteServicepublic Collection<WebSite> getWebSites()
WebSiteServicegetWebSites in class WebSiteServiceWebSiteService.getWebSites()protected UgcService createUgcService(org.apache.chemistry.opencmis.client.api.Session session, WebSiteServiceImpl.WebsiteInfo siteInfo)
public void setLogoFilename(String logoFilename)
logo - public void setSectionFactory(SectionFactory sectionFactory)
public void setAssetFactory(AssetFactory assetFactory)
public void setWebscriptCaller(WebScriptCaller webscriptCaller)
public void setFormIdCache(SimpleCache<String,String> formIdCache)
Copyright © 2005–2014 Alfresco Software. All rights reserved.