[xwiki-users] How to remove all documents in recycle bin
Hi, I want to delete all documents in recycle bin, but I don't know how. I searched in Administration page, but do not see any links refer to recycle bin. -- Ngô Thị Hồng Nga
Hi. You may: 1. Delete all records in xwikirecyclebin table directly in your DB. or 2. Write xwiki script: 2.1 get all deleted documents via $xwiki.search("from XWikiDeletedDocument") 2.2 delete them via $xwiki.xWiki.recycleBinStore.deleteFromRecycleBin(...) Ngo Thi Hong Nga wrote:
Hi, I want to delete all documents in recycle bin, but I don't know how. I searched in Administration page, but do not see any links refer to recycle bin.
-- Artem Melentyev
We need an Admin UI for this. Thanks -Vincent On Apr 28, 2008, at 4:09 PM, Artem Melentyev wrote:
Hi.
You may: 1. Delete all records in xwikirecyclebin table directly in your DB. or 2. Write xwiki script: 2.1 get all deleted documents via $xwiki.search("from XWikiDeletedDocument") 2.2 delete them via $xwiki.xWiki.recycleBinStore.deleteFromRecycleBin(...)
Ngo Thi Hong Nga wrote:
Hi, I want to delete all documents in recycle bin, but I don't know how. I searched in Administration page, but do not see any links refer to recycle bin.
Vincent Massol wrote:
We need an Admin UI for this.
http://jira.xwiki.org/jira/browse/XWIKI-2345
On Apr 28, 2008, at 4:09 PM, Artem Melentyev wrote:
Hi.
You may: 1. Delete all records in xwikirecyclebin table directly in your DB. or 2. Write xwiki script: 2.1 get all deleted documents via $xwiki.search("from XWikiDeletedDocument") 2.2 delete them via $xwiki.xWiki.recycleBinStore.deleteFromRecycleBin(...)
Ngo Thi Hong Nga wrote:
Hi, I want to delete all documents in recycle bin, but I don't know how. I searched in Administration page, but do not see any links refer to recycle bin.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (4)
-
Artem Melentyev -
Ngo Thi Hong Nga -
Sergiu Dumitriu -
Vincent Massol