@Role
public interface XWikiVersioningStoreInterface
Modifier and Type | Method and Description |
---|---|
void |
deleteArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context)
Delete all history for a document.
|
XWikiDocumentArchive |
getXWikiDocumentArchive(XWikiDocument doc,
XWikiContext context) |
org.suigeneris.jrcs.rcs.Version[] |
getXWikiDocVersions(XWikiDocument doc,
XWikiContext context) |
XWikiRCSNodeContent |
loadRCSNodeContent(XWikiRCSNodeId id,
boolean bTransaction,
XWikiContext context)
Load
XWikiRCSNodeContent on demand. |
XWikiDocument |
loadXWikiDoc(XWikiDocument doc,
String version,
XWikiContext context) |
void |
loadXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
resetRCSArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
void |
saveXWikiDocArchive(XWikiDocumentArchive archivedoc,
boolean bTransaction,
XWikiContext context) |
void |
updateXWikiDocArchive(XWikiDocument doc,
boolean bTransaction,
XWikiContext context) |
void loadXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context) throws XWikiException
XWikiException
void saveXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context) throws XWikiException
XWikiException
void updateXWikiDocArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context) throws XWikiException
XWikiException
org.suigeneris.jrcs.rcs.Version[] getXWikiDocVersions(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
XWikiDocument loadXWikiDoc(XWikiDocument doc, String version, XWikiContext context) throws XWikiException
XWikiException
void resetRCSArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context) throws XWikiException
XWikiException
XWikiDocumentArchive getXWikiDocumentArchive(XWikiDocument doc, XWikiContext context) throws XWikiException
XWikiException
void deleteArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context) throws XWikiException
doc
- the document for which to delete all the historyXWikiException
XWikiRCSNodeContent loadRCSNodeContent(XWikiRCSNodeId id, boolean bTransaction, XWikiContext context) throws XWikiException
XWikiRCSNodeContent
on demand. Used in
XWikiRCSNodeInfo.getContent(XWikiContext)
for example.id
- the node id (see XWikiRCSNodeContent.getId()
)XWikiException
Copyright © 2004–2022 XWiki. All rights reserved.