public class SiteShareViewUrlGet
extends org.springframework.extensions.webscripts.DeclarativeWebScript
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected org.alfresco.service.cmr.site.SiteService |
siteService |
protected org.alfresco.repo.admin.SysAdminParams |
sysAdminParams |
Constructor and Description |
---|
SiteShareViewUrlGet() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected java.lang.String |
getShareRootUrl(org.springframework.extensions.webscripts.WebScriptRequest req)
Returns the root of the Share WebApp, eg
http://localhost:8081/share/
|
protected java.lang.String |
getShareSiteRootStem(org.springframework.extensions.webscripts.WebScriptRequest req,
org.alfresco.service.cmr.site.SiteInfo site)
Returns the root of the Share Site pages for a given site, eg
https://test.alfresco.com/share/page/site/test-site/
|
protected java.lang.String |
identifySharePage(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.site.SiteInfo site,
org.alfresco.service.cmr.repository.NodeRef siteContainer,
org.alfresco.service.namespace.QName nodeType) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setSiteService(org.alfresco.service.cmr.site.SiteService siteService) |
void |
setSysAdminParams(org.alfresco.repo.admin.SysAdminParams sysAdminParams) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected org.alfresco.service.cmr.site.SiteService siteService
protected org.alfresco.repo.admin.SysAdminParams sysAdminParams
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected java.util.Map executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
executeImpl
in class org.springframework.extensions.webscripts.DeclarativeWebScript
protected java.lang.String identifySharePage(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.site.SiteInfo site, org.alfresco.service.cmr.repository.NodeRef siteContainer, org.alfresco.service.namespace.QName nodeType)
protected java.lang.String getShareSiteRootStem(org.springframework.extensions.webscripts.WebScriptRequest req, org.alfresco.service.cmr.site.SiteInfo site)
protected java.lang.String getShareRootUrl(org.springframework.extensions.webscripts.WebScriptRequest req)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
public void setSysAdminParams(org.alfresco.repo.admin.SysAdminParams sysAdminParams)
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.