public class ContentGet extends StreamContent implements org.springframework.web.context.ServletContextAware
delegate, mimetypeService, nodeService, permissionService, repository
Constructor and Description |
---|
ContentGet() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
void |
setContentService(ContentService contentService) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setServletContext(ServletContext servletContext) |
protected void |
streamContentLocal(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean attach,
org.alfresco.service.namespace.QName propertyQName,
Map<String,Object> model) |
createObjectReferenceFromUrl, executeImpl, executeImpl, executeImpl, renderFormatTemplate, setAttachment, setDelegate, setMimetypeService, setNodeService, 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
servletContext
- ServletContextpublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- DictionaryServicepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- NamespaceServicepublic void setContentService(ContentService contentService)
contentService
- ContentServicepublic 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 StreamContent
IOException
WebScript.execute(WebScriptRequest, WebScriptResponse)
protected void streamContentLocal(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean attach, org.alfresco.service.namespace.QName propertyQName, Map<String,Object> model) throws IOException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.