Package com.xpn.xwiki.doc
Interface XWikiDeletedDocumentContent
-
public interface XWikiDeletedDocumentContentThe content of the stored deleted document.- Since:
- 9.0RC1
- Version:
- $Id: 3c7aec1259b6a47fd8e8107e4ba343f686f09959 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContentAsString()XWikiDocumentgetXWikiDocument(XWikiDocument document)
-
-
-
Method Detail
-
getContentAsString
String getContentAsString() throws IOException, XWikiException
- Returns:
- the serialized version of the document
- Throws:
IOException- when failing to get theStringcontentXWikiException- when failing to get theStringcontent
-
getXWikiDocument
XWikiDocument getXWikiDocument(XWikiDocument document) throws IOException, XWikiException
- Parameters:
document- the document to write to or null to create a new one- Returns:
- restored document
- Throws:
IOException- when failing to read the contentXWikiException- when failing to read the content
-
-