public class SiteShareViewUrlGet
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService |
protected NodeService |
nodeService |
protected SiteService |
siteService |
protected SysAdminParams |
sysAdminParams |
| Constructor and Description |
|---|
SiteShareViewUrlGet() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache) |
protected String |
getShareRootUrl(org.springframework.extensions.webscripts.WebScriptRequest req)
Returns the root of the Share WebApp, eg
http://localhost:8081/share/
|
protected String |
getShareSiteRootStem(org.springframework.extensions.webscripts.WebScriptRequest req,
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 String |
identifySharePage(NodeRef nodeRef,
SiteInfo site,
NodeRef siteContainer,
org.alfresco.service.namespace.QName nodeType) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setNodeService(NodeService nodeService) |
void |
setSiteService(SiteService siteService) |
void |
setSysAdminParams(SysAdminParams sysAdminParams) |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringprotected NodeService nodeService
protected SiteService siteService
protected SysAdminParams sysAdminParams
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected Map<String,Object> 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.DeclarativeWebScriptprotected String identifySharePage(NodeRef nodeRef, SiteInfo site, NodeRef siteContainer, org.alfresco.service.namespace.QName nodeType)
protected String getShareSiteRootStem(org.springframework.extensions.webscripts.WebScriptRequest req, SiteInfo site)
protected String getShareRootUrl(org.springframework.extensions.webscripts.WebScriptRequest req)
public void setNodeService(NodeService nodeService)
public void setSiteService(SiteService siteService)
public void setSysAdminParams(SysAdminParams sysAdminParams)
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Copyright © 2005–2014 Alfresco Software. All rights reserved.