org.alfresco.repo.web.scripts.content
Class ContentGet

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript
      extended by org.alfresco.repo.web.scripts.content.StreamContent
          extended by org.alfresco.repo.web.scripts.content.ContentGet
All Implemented Interfaces:
org.springframework.context.ResourceLoaderAware, org.springframework.extensions.webscripts.WebScript, org.springframework.web.context.ServletContextAware

public class ContentGet
extends StreamContent
implements org.springframework.web.context.ServletContextAware

Content Retrieval Service Stream content from the Repository.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
 
Field Summary
 
Fields inherited from class org.alfresco.repo.web.scripts.content.StreamContent
contentService, mimetypeService, nodeService, permissionService, resourceLoader
 
Constructor Summary
ContentGet()
           
 
Method Summary
 void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
           
 void setCMISRenditionService(org.alfresco.cmis.CMISRenditionService renditionService)
           
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
           
 void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
           
 void setReferenceFactory(ReferenceFactory referenceFactory)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class org.alfresco.repo.web.scripts.content.StreamContent
executeImpl, executeImpl, executeImpl, renderFormatTemplate, setAttachment, setContentService, setMimetypeService, setNodeService, setPermissionService, setResourceLoader, streamContent, streamContent, streamContent, streamContent, streamContent, streamContent, streamContent, streamContentImpl
 
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentGet

public ContentGet()
Method Detail

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)
Specified by:
setServletContext in interface org.springframework.web.context.ServletContextAware
Parameters:
-

setReferenceFactory

public void setReferenceFactory(ReferenceFactory referenceFactory)
Parameters:
reference - factory

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Parameters:
dictionaryService -

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Parameters:
namespaceService -

setCMISRenditionService

public void setCMISRenditionService(org.alfresco.cmis.CMISRenditionService renditionService)
Parameters:
renditionService -

execute

public void execute(org.springframework.extensions.webscripts.WebScriptRequest req,
                    org.springframework.extensions.webscripts.WebScriptResponse res)
             throws java.io.IOException
Specified by:
execute in interface org.springframework.extensions.webscripts.WebScript
Overrides:
execute in class StreamContent
Throws:
java.io.IOException
See Also:
org.alfresco.web.scripts.WebScript#execute(org.alfresco.web.scripts.WebScriptRequest, org.alfresco.web.scripts.WebScriptResponse)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.