<?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: Deletion In Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152023#M106715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One question though…once things are deleted from the workspace store, will they ever be automatically deleted from the archive store by the contentStoreCleaner (after protectDays is reached), or does the contentStoreCleaner only delete things that have been deleted from the archive store?&amp;nbsp; Maybe I don't actually have to bother deleting from the archive store in order for the documents to actually be removed from disk (eventually).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 18:39:05 GMT</pubDate>
    <dc:creator>klwalker</dc:creator>
    <dc:date>2008-04-10T18:39:05Z</dc:date>
    <item>
      <title>Deletion In Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152017#M106709</link>
      <description>Hi Guys,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; we are developing our own application in which we have upload, search, delete functionality. we are using Jsf, alfresco api till now we have done upload as well as search through Alfresco webservices, but I am facing difficulties doing delete functionality(in this delete functional</description>
      <pubDate>Thu, 06 Mar 2008 13:44:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152017#M106709</guid>
      <dc:creator>mike_smith30100</dc:creator>
      <dc:date>2008-03-06T13:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion In Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152018#M106710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you want to use the repository service update method and pass in a CMLDelete statement.&amp;nbsp; Here is an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Reference nodeRef = new Reference(storeRef, nodeId, nodePath);&lt;BR /&gt;Predicate predicate = new Predicate(new Reference[]{nodeRef}, null, null);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;CMLDelete delete = new CMLDelete(predicate);&lt;BR /&gt;CML cml = new CML();&lt;BR /&gt;cml.setDelete(new CMLDelete[]{delete});&lt;BR /&gt;repositoryService.update(cml);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: you will not be able to use the Alfresco foundation (native java) API outside the JVM that the alfresco webapp is running in.&amp;nbsp; That is why you're seeing the ContextLoader error you messaged me about.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 16:01:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152018#M106710</guid>
      <dc:creator>pitt1</dc:creator>
      <dc:date>2008-03-14T16:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion In Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152019#M106711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Pitt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your code, now deletion is working for me, thanks a ton.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 08:41:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152019#M106711</guid>
      <dc:creator>mike_smith30100</dc:creator>
      <dc:date>2008-03-17T08:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion In Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152020#M106712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When using the webservice CMLDelete method you described to delete nodes, it will just do a soft delete, meaning you could recover that deleted item from the "Manage Deleted Items" section of the web client, correct?&amp;nbsp; If so, is there a way to mark a document for permanent deletion via the webservice API?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 20:52:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152020#M106712</guid>
      <dc:creator>klwalker</dc:creator>
      <dc:date>2008-04-09T20:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion In Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152021#M106713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not familiar with the "Manage Deleted Items" section of the web client, but I'm guessing it goes against the archive://SpacesStore, which contains deleted items for some period of time.&amp;nbsp; My guess is that if you want to be able to permanently delete an item, delete it first from workspace://SpacesStore, then from archive://SpacesStore.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 20:59:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152021#M106713</guid>
      <dc:creator>pitt1</dc:creator>
      <dc:date>2008-04-09T20:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion In Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152022#M106714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You were right, after deleting from the workspace store it goes to the archive store and I was able to use the same CMLDelete method to delete from that store afterwards.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:34:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152022#M106714</guid>
      <dc:creator>klwalker</dc:creator>
      <dc:date>2008-04-10T18:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion In Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152023#M106715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One question though…once things are deleted from the workspace store, will they ever be automatically deleted from the archive store by the contentStoreCleaner (after protectDays is reached), or does the contentStoreCleaner only delete things that have been deleted from the archive store?&amp;nbsp; Maybe I don't actually have to bother deleting from the archive store in order for the documents to actually be removed from disk (eventually).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:39:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-in-alfresco/m-p/152023#M106715</guid>
      <dc:creator>klwalker</dc:creator>
      <dc:date>2008-04-10T18:39:05Z</dc:date>
    </item>
  </channel>
</rss>

