@Role
public interface XWikiRecycleBinContentStoreInterface
| Modifier and Type | Method and Description |
|---|---|
void |
delete(DocumentReference reference,
long index,
boolean bTransaction)
Permanently delete document content from recycle bin.
|
XWikiDeletedDocumentContent |
get(DocumentReference reference,
long index,
boolean bTransaction) |
String |
getHint() |
void |
save(XWikiDocument doc,
long index,
boolean bTransaction)
Save document to recycle bin.
|
String getHint()
void save(XWikiDocument doc, long index, boolean bTransaction) throws XWikiException
doc - the document to saveindex - the index of the deleted documentbTransaction - indicate if the store should use old transaction(false) or create new (true)XWikiException - if error in savingXWikiDeletedDocumentContent get(DocumentReference reference, long index, boolean bTransaction) throws XWikiException
reference - the reference of the deleted documentindex - the index of the deleted documentbTransaction - indicate if the store should use old transaction(false) or create new (true)XWikiException - if error while loadingvoid delete(DocumentReference reference, long index, boolean bTransaction) throws XWikiException
reference - the reference of the deleted documentindex - the index of the deleted documentbTransaction - indicate if the store should use old transaction(false) or create new (true)XWikiException - if any errorCopyright © 2004–2021 XWiki. All rights reserved.