<?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 Java delete from contentstore? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-delete-from-contentstore/m-p/242733#M195863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In java, I'm using the 'putcontent' method to replaced the content of a node.&amp;nbsp; Unfortunately, this is leaving an orphaned file in the content store (which is important because some of the files are large).&amp;nbsp; Is there an easy way to delete the original file from the content store before replacing it through the 'putcontent' method?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Oct 2010 17:26:40 GMT</pubDate>
    <dc:creator>ruighr</dc:creator>
    <dc:date>2010-10-27T17:26:40Z</dc:date>
    <item>
      <title>Java delete from contentstore?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-delete-from-contentstore/m-p/242733#M195863</link>
      <description>In java, I'm using the 'putcontent' method to replaced the content of a node.&amp;nbsp; Unfortunately, this is leaving an orphaned file in the content store (which is important because some of the files are large).&amp;nbsp; Is there an easy way to delete the original file from the content store before replacing it t</description>
      <pubDate>Wed, 27 Oct 2010 17:26:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-delete-from-contentstore/m-p/242733#M195863</guid>
      <dc:creator>ruighr</dc:creator>
      <dc:date>2010-10-27T17:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Java delete from contentstore?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-delete-from-contentstore/m-p/242734#M195864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Orphaned content in the content store is automatically cleaned up by a scheduled job which runs periodically, however if a node is versionable then this previous content is not orphaned since it is the previous version's content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if want old content to be automatically cleaned out of the content store then make sure the node's in question do not have the versionable aspect applied, ie do not have a version history.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 17:06:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-delete-from-contentstore/m-p/242734#M195864</guid>
      <dc:creator>rwetherall</dc:creator>
      <dc:date>2010-11-01T17:06:01Z</dc:date>
    </item>
  </channel>
</rss>

