Class 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 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:
        servletContext - ServletContext
      • setDictionaryService

        public void setDictionaryService​(DictionaryService dictionaryService)
        Parameters:
        dictionaryService - DictionaryService
      • setNamespaceService

        public void setNamespaceService​(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,
                                          QName propertyQName,
                                          Map<String,​Object> model)
                                   throws IOException
        Throws:
        IOException