Package com.xpn.xwiki.doc
Interface XWikiDeletedDocumentContent
-
public interface XWikiDeletedDocumentContent
The 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 String
getContentAsString()
XWikiDocument
getXWikiDocument(XWikiDocument document)
-
-
-
Method Detail
-
getContentAsString
String getContentAsString() throws IOException, XWikiException
- Returns:
- the serialized version of the document
- Throws:
IOException
- when failing to get theString
contentXWikiException
- when failing to get theString
content
-
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
-
-