public class Site extends BaseTemplateProcessorExtension
| Constructor and Description |
|---|
Site() |
| Modifier and Type | Method and Description |
|---|---|
String |
getShareSiteUrl(String siteShortName)
This method returns a URL which resolves to the configured Alfresco Share site URL.
|
String |
getShareUrl()
This method returns a URL stem which resolves to the configured Alfresco Share URL.
|
SiteInfo |
getSiteInfo(String shortName)
Gets the SiteInfo given the shortName
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
void |
setSiteService(SiteService siteService)
Set the site service
|
getTemplateImageResolver, setTemplateImageResolvergetExtensionName, register, setExtensionName, setProcessorpublic void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry - the service registrypublic void setSiteService(SiteService siteService)
siteService - The siteService to set.public SiteInfo getSiteInfo(String shortName)
shortName - the shortName of the Site to getpublic String getShareUrl()
public String getShareSiteUrl(String siteShortName)
siteShortName - the shortName of the Site to build URL forSysAdminParamsImpl.setAlfrescoHost(String),
SysAdminParamsImpl.setShareHost(String)Copyright © 2005–2018 Alfresco Software. All rights reserved.