public class Site extends BaseTemplateProcessorExtension
| Constructor and Description |
|---|
Site() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getShareSiteUrl(java.lang.String siteShortName)
This method returns a URL which resolves to the configured Alfresco Share site URL.
|
java.lang.String |
getShareUrl()
This method returns a URL stem which resolves to the configured Alfresco Share URL.
|
SiteInfo |
getSiteInfo(java.lang.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(java.lang.String shortName)
shortName - the shortName of the Site to getpublic java.lang.String getShareUrl()
public java.lang.String getShareSiteUrl(java.lang.String siteShortName)
siteShortName - the shortName of the Site to build URL forSysAdminParamsImpl.setAlfrescoHost(String),
SysAdminParamsImpl.setShareHost(String)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.