<?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 Is it possible to delete a store in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30418#M15614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to delete the content of a full store,Is there any mechanism to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If it is possible, what are its implicit and explicit conditions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is not possible how to delete the store&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2006 05:52:38 GMT</pubDate>
    <dc:creator>pmarreddy</dc:creator>
    <dc:date>2006-05-16T05:52:38Z</dc:date>
    <item>
      <title>Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30418#M15614</link>
      <description>I want to delete the content of a full store,Is there any mechanism to do this.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If it is possible, what are its implicit and explicit conditionsIf it is not possible how to delete the store</description>
      <pubDate>Tue, 16 May 2006 05:52:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30418#M15614</guid>
      <dc:creator>pmarreddy</dc:creator>
      <dc:date>2006-05-16T05:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30419#M15615</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;No, there isn't a way to do it.&amp;nbsp; It would have to be hooked into the system at a low level (NodeService) and the Lucene code would have to listen for it and remove the store's index files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The content will take care of itself, then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2006 18:08:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30419#M15615</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2006-06-30T18:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30420#M15616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;No, there isn't a way to do it.&amp;nbsp; It would have to be hooked into the system at a low level (NodeService) and the Lucene code would have to listen for it and remove the store's index files.&lt;BR /&gt;&lt;BR /&gt;The content will take care of itself, then.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Derek, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are stating what would have to happen should this be possible?&amp;nbsp; Is there a reason apart from time, technical or design issue why it is not yet possible to delete a store?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 04:39:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30420#M15616</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2006-07-03T04:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30421#M15617</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;There is no technical reason why it has not been done.&amp;nbsp; It's the first I've heard of it being required, but that doesn't mean that others wouldn't use the feature if it were there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 09:47:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30421#M15617</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2006-07-03T09:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30422#M15618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, why did you guys implement the web service tests (contained in the SDK) in that way, that each time, a new store is created if you are not able to delete the stores again? I think, there is no way to do it manually, is there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe, you should think about changing the web service test, then. Wouldn't it be better to create new spaces in e.g. the workspace store for the WS tests? (Except from a test case where you want to create a new store, of course.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2006 07:27:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30422#M15618</guid>
      <dc:creator>cludt</dc:creator>
      <dc:date>2006-08-23T07:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30423#M15619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree with all of you who have a need for a method that allows to delete stores. It could be useful to provide such a method in order to clean all the test stores created by the SDK examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, what are the steps needed to be executed manually to delete each reference to a store for which protocol and id are well known?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 11:51:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30423#M15619</guid>
      <dc:creator>sergio</dc:creator>
      <dc:date>2006-10-17T11:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30424#M15620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the WebServiceAPI: For each reference, run a delete command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;CMLDelete delete = new CMLDelete(new Predicate(new Reference[] {reference}, reference.getStore(), null));&lt;BR /&gt;CML cml = new CML();&lt;BR /&gt;cml.setDelete(new CMLDelete[] {delete});&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;// Execute the update&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; repositoryService.update(cml);&lt;BR /&gt;} catch (RepositoryFault e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; […]&lt;BR /&gt;} catch (RemoteException e) {&lt;BR /&gt;&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;/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;SPAN&gt;Or create one delete for all references.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:06:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30424#M15620</guid>
      <dc:creator>cludt</dc:creator>
      <dc:date>2006-10-17T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30425#M15621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Many thanks, very useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But is the deleting a store procedure available only via WS?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:13:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30425#M15621</guid>
      <dc:creator>sergio</dc:creator>
      <dc:date>2006-10-17T12:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30426#M15622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At least not via the web interface. Maybe via the Java Content Repository API. But I have never worked with this, so I cannot tell.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:20:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30426#M15622</guid>
      <dc:creator>cludt</dc:creator>
      <dc:date>2006-10-17T12:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30427#M15623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry sergio, there is no way to delete a store! Just to delete the content / spaces in a store that is usually not accessible via the web interface (e.g. stores created during the web service api test). The procedure I posted is only for deleting content / spaces!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:34:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30427#M15623</guid>
      <dc:creator>cludt</dc:creator>
      <dc:date>2006-10-17T12:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30428#M15624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Christian!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the moment it is sufficient. However, after deleting the content of a store it could be convenient to delete the store itself in order to avoid an increasing of garbage inside tha alf_data folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took a look at the structure of the alfresco schema inside my MySql database instance, I found some tables containing references to existing stores, for example the alf_store and alf_node tables. In your opinion could it be enough to delete store reference records from these two tables?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 13:29:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30428#M15624</guid>
      <dc:creator>sergio</dc:creator>
      <dc:date>2006-10-17T13:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to delete a store</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30429#M15625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sergio,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if this works. The database and the file system are sort of synchronized. You would also have to delete the lucene index. I don't recommend to delete anything manually in the database. And, btw, the files in the alf_data won't be removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you delete something via SOAP, the deleted items are placed in the "recycle bin", too. So, there might be a solution to delete the items finally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know anything about deleting a store, maybe one of the developers could help us here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 13:53:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-delete-a-store/m-p/30429#M15625</guid>
      <dc:creator>cludt</dc:creator>
      <dc:date>2006-10-17T13:53:06Z</dc:date>
    </item>
  </channel>
</rss>

