Re: [xwiki-users] Programmatically delete documents without putting them in recycle bin

2010-02-03 Thread Jeremie BOUSQUET
Thanks, it works ! :) Best regards, Jeremie 2010/2/2 Sergiu Dumitriu ser...@xwiki.com On 02/01/2010 03:01 PM, Jeremie BOUSQUET wrote: Hi, I'd like to know if there is a way to delete a document (in velocity or groovy) without putting in in recycle bin ? (equivalent of shift-delete).

Re: [xwiki-users] Programmatically delete documents without putting them in recycle bin

2010-02-02 Thread Sergiu Dumitriu
On 02/01/2010 03:01 PM, Jeremie BOUSQUET wrote: Hi, I'd like to know if there is a way to delete a document (in velocity or groovy) without putting in in recycle bin ? (equivalent of shift-delete). I have to regularly delete (for tests) documents with heavy attachments, and it's quite long

Re: [xwiki-users] Programmatically delete documents without putting them in recycle bin

2010-02-01 Thread Jeremie BOUSQUET
To be clearer, I know that I could do this by executing appropriate SQL delete requests, but it's ugly and I wanted to know if some internal API is able to do so. 2010/2/1 Jeremie BOUSQUET jeremie.bousq...@gmail.com Hi, I'd like to know if there is a way to delete a document (in velocity or