<?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 Trash a Document using java-client in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/trash-a-document-using-java-client/m-p/324720#M11721</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How do I trash a document before it is deleted using nuxeo java client.
I have used
nuxeoClient.repository().deleteDocument(docId); method which delets the document permanently but I wanted to trash the document first before deleting permanently. Any idea how it can be done.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 04:59:57 GMT</pubDate>
    <dc:creator>Jyothsna_SM1</dc:creator>
    <dc:date>2019-10-18T04:59:57Z</dc:date>
    <item>
      <title>Trash a Document using java-client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/trash-a-document-using-java-client/m-p/324720#M11721</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;How do I trash a document before it is deleted using nuxeo java client.
I have used
nuxeoClient.repository().deleteDocument(docId); method which delets the document permanently but I wanted to trash the document first before deleting permanently. Any idea how it can be done.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 04:59:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/trash-a-document-using-java-client/m-p/324720#M11721</guid>
      <dc:creator>Jyothsna_SM1</dc:creator>
      <dc:date>2019-10-18T04:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trash a Document using java-client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/trash-a-document-using-java-client/m-p/324721#M11722</link>
      <description>&lt;P&gt;Document docPresence = nuxeoClient.repository().fetchDocumentByPath(path);
docPresence.trash()
solved my question&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:39:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/trash-a-document-using-java-client/m-p/324721#M11722</guid>
      <dc:creator>Jyothsna_SM1</dc:creator>
      <dc:date>2019-10-18T08:39:44Z</dc:date>
    </item>
  </channel>
</rss>

