Dear XWiki experts,
I've been trying to undelete documents programmatically and I must say I failed
thus far.
I need to do this so as to implement the undeletion of 450 documents.
Given the full name of the document, which currently shows when /view/-ed, that
it has been deleted and offers me to restore or really delete, I am calling:
xwiki.getDeletedDocuments(fullName, "en");
however, thus far, the result of this call has been an array of size zero.
I would have expected to call the undelete method on the last of these
DeletedDocuments.
Is this not the right way to act?
thanks in advance.
Paul
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs