Class ContentGet

java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.alfresco.repo.web.scripts.content.StreamContent
org.alfresco.repo.web.scripts.content.ContentGet
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.extensions.webscripts.WebScript, org.springframework.web.context.ServletContextAware
Direct Known Subclasses:
QuickShareContentGet

public class ContentGet extends StreamContent implements org.springframework.web.context.ServletContextAware
Content Retrieval Service Stream content from the Repository.
Author:
davidc
  • Constructor Details

    • ContentGet

      public ContentGet()
  • Method Details

    • setServletContext

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

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

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

      public void setContentService(ContentService contentService)
      Parameters:
      contentService - ContentService
    • execute

      public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
      Specified by:
      execute in interface org.springframework.extensions.webscripts.WebScript
      Overrides:
      execute in class StreamContent
      Throws:
      IOException
      See Also:
      • WebScript.execute(WebScriptRequest, WebScriptResponse)
    • streamContentLocal

      protected void streamContentLocal(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, NodeRef nodeRef, boolean attach, org.alfresco.service.namespace.QName propertyQName, Map<String,Object> model) throws IOException
      Throws:
      IOException