public class QuickShareContentGet extends ContentGet implements org.springframework.web.context.ServletContextAware
delegate, mimetypeService, permissionService, repository
Constructor and Description |
---|
QuickShareContentGet() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
protected void |
executeImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,String> templateVars,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res,
Map<String,Object> model) |
protected boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setQuickShareService(QuickShareService quickShareService) |
void |
setServletContext(ServletContext servletContext) |
setContentService, setDictionaryService, streamContentLocal
createObjectReferenceFromUrl, executeImpl, executeImpl, executeImpl, renderFormatTemplate, setAttachment, setDelegate, setMimetypeService, setPermissionService, setRepository, streamContent, streamContent, streamContent, streamContentImpl
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
public void setServletContext(ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
setServletContext
in class ContentGet
servletContext
- ServletContextpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
setNodeService
in class StreamContent
nodeService
- NodeServicepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
setNamespaceService
in class ContentGet
namespaceService
- NamespaceServicepublic void setQuickShareService(QuickShareService quickShareService)
public void setEnabled(boolean enabled)
protected boolean isEnabled()
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
execute
in interface org.springframework.extensions.webscripts.WebScript
execute
in class ContentGet
IOException
WebScript.execute(WebScriptRequest, WebScriptResponse)
protected void executeImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, Map<String,String> templateVars, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, Map<String,Object> model) throws IOException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.