<?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: Deleting Nuxeo Document Permanently Programatically in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315297#M2298</link>
    <description>&lt;P&gt;Success! I have been able to do it this way.&lt;/P&gt;
&lt;CODE&gt;
RepositoryStatus myRepositoryStatus = new RepositoryStatus();  
myRepositoryStatus.gcBinaries(true);
&lt;/CODE&gt;
&lt;P&gt;The method &lt;CODE&gt;gcBinaries&lt;/CODE&gt; delete the binaries if flag passed to it is true. Otherwise it only returns the statistics about the binaries.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2014 05:27:47 GMT</pubDate>
    <dc:creator>SMAH_Haider</dc:creator>
    <dc:date>2014-02-28T05:27:47Z</dc:date>
    <item>
      <title>Deleting Nuxeo Document Permanently Programatically</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315294#M2295</link>
      <description>&lt;P&gt;I am currently deleting a document from Nuxeo repository using the following code:&lt;/P&gt;
&lt;CODE&gt;
String myDocumentPath = // path to a folder		    
DocumentRef myFolderRef = new PathRef(documentPath);
&lt;P&gt;if(aSession.exists(myFolderRef) &amp;amp;&amp;amp; aSession.canRemoveDocument(myFolderRef ))
{				
aSession.removeChildren(myFolderRef);
}
&lt;/P&gt;&lt;/CODE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;All the files under the folder gets deleted successfully but not permanently. I was wondering if there is anyway I could delete documents permanently programatically including binaries on file system?&lt;/P&gt;
&lt;P&gt;I dont want to wait for the Garbage collector to delete those binaries from file system after the retentions period.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 05:58:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315294#M2295</guid>
      <dc:creator>SMAH_Haider</dc:creator>
      <dc:date>2014-02-26T05:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Nuxeo Document Permanently Programatically</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315295#M2296</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you mean you'd like to clear the blobs, maybe documentation at &lt;A href="http://doc.nuxeo.com/x/lAQz" target="test_blank"&gt;http://doc.nuxeo.com/x/lAQz&lt;/A&gt; gives helpful information.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 23:42:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315295#M2296</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2014-02-26T23:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Nuxeo Document Permanently Programatically</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315296#M2297</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 05:20:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315296#M2297</guid>
      <dc:creator>SMAH_Haider</dc:creator>
      <dc:date>2014-02-28T05:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Nuxeo Document Permanently Programatically</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315297#M2298</link>
      <description>&lt;P&gt;Success! I have been able to do it this way.&lt;/P&gt;
&lt;CODE&gt;
RepositoryStatus myRepositoryStatus = new RepositoryStatus();  
myRepositoryStatus.gcBinaries(true);
&lt;/CODE&gt;
&lt;P&gt;The method &lt;CODE&gt;gcBinaries&lt;/CODE&gt; delete the binaries if flag passed to it is true. Otherwise it only returns the statistics about the binaries.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 05:27:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/deleting-nuxeo-document-permanently-programatically/m-p/315297#M2298</guid>
      <dc:creator>SMAH_Haider</dc:creator>
      <dc:date>2014-02-28T05:27:47Z</dc:date>
    </item>
  </channel>
</rss>

