<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Which service for writing content? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/which-service-for-writing-content/m-p/126363#M88919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand it as follows (but that comes without any guarantee): You can create the file using the NodeService's createNode() method; then you'd get a writer for it using ContentService's getWriter() method and save your file (you have to set the mime-type and encoding, too, by calling setMimetype() and setEncoding() on the writer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The FileFolderService is built on top of NodeService and ContentService and provides some utility routines for the special case of dealing with files and folders (these are two particular kinds of nodes). This means you can, instead of using the NodeService and ContentService, also use the FileFolderService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kaspar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 00:03:52 GMT</pubDate>
    <dc:creator>hbf</dc:creator>
    <dc:date>2008-01-11T00:03:52Z</dc:date>
    <item>
      <title>Which service for writing content?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-service-for-writing-content/m-p/126362#M88918</link>
      <description>I'm a little confused about what service I should use to create a file…the FileFolderService or the ContentService, or perhaps even the NodeService.&amp;nbsp; The javadoc says the getWriter and getReader are different for the first two, but does not say how.&amp;nbsp; Any hints are appreciated.</description>
      <pubDate>Thu, 10 Jan 2008 21:01:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-service-for-writing-content/m-p/126362#M88918</guid>
      <dc:creator>davidpisaac</dc:creator>
      <dc:date>2008-01-10T21:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Which service for writing content?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/which-service-for-writing-content/m-p/126363#M88919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand it as follows (but that comes without any guarantee): You can create the file using the NodeService's createNode() method; then you'd get a writer for it using ContentService's getWriter() method and save your file (you have to set the mime-type and encoding, too, by calling setMimetype() and setEncoding() on the writer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The FileFolderService is built on top of NodeService and ContentService and provides some utility routines for the special case of dealing with files and folders (these are two particular kinds of nodes). This means you can, instead of using the NodeService and ContentService, also use the FileFolderService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kaspar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 00:03:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/which-service-for-writing-content/m-p/126363#M88919</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2008-01-11T00:03:52Z</dc:date>
    </item>
  </channel>
</rss>

