| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
package com.xpn.xwiki.store; |
| 21 |
|
|
| 22 |
|
import org.suigeneris.jrcs.rcs.Version; |
| 23 |
|
import org.xwiki.component.annotation.Role; |
| 24 |
|
|
| 25 |
|
import com.xpn.xwiki.XWikiContext; |
| 26 |
|
import com.xpn.xwiki.XWikiException; |
| 27 |
|
import com.xpn.xwiki.doc.XWikiDocument; |
| 28 |
|
import com.xpn.xwiki.doc.XWikiDocumentArchive; |
| 29 |
|
import com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent; |
| 30 |
|
import com.xpn.xwiki.doc.rcs.XWikiRCSNodeId; |
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 |
|
@version |
| 36 |
|
|
| 37 |
|
@Role |
| |
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 38 |
|
public interface XWikiVersioningStoreInterface |
| 39 |
|
{ |
| 40 |
|
void loadXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context) |
| 41 |
|
throws XWikiException; |
| 42 |
|
|
| 43 |
|
void saveXWikiDocArchive(XWikiDocumentArchive archivedoc, boolean bTransaction, XWikiContext context) |
| 44 |
|
throws XWikiException; |
| 45 |
|
|
| 46 |
|
void updateXWikiDocArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context) throws XWikiException; |
| 47 |
|
|
| 48 |
|
Version[] getXWikiDocVersions(XWikiDocument doc, XWikiContext context) throws XWikiException; |
| 49 |
|
|
| 50 |
|
XWikiDocument loadXWikiDoc(XWikiDocument doc, String version, XWikiContext context) throws XWikiException; |
| 51 |
|
|
| 52 |
|
void resetRCSArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context) throws XWikiException; |
| 53 |
|
|
| 54 |
|
XWikiDocumentArchive getXWikiDocumentArchive(XWikiDocument doc, XWikiContext context) throws XWikiException; |
| 55 |
|
|
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
@param |
| 60 |
|
|
| 61 |
|
void deleteArchive(XWikiDocument doc, boolean bTransaction, XWikiContext context) throws XWikiException; |
| 62 |
|
|
| 63 |
|
|
| 64 |
|
@link |
| 65 |
|
@link |
| 66 |
|
|
| 67 |
|
@return |
| 68 |
|
@param@link |
| 69 |
|
|
| 70 |
|
XWikiRCSNodeContent loadRCSNodeContent(XWikiRCSNodeId id, boolean bTransaction, XWikiContext context) |
| 71 |
|
throws XWikiException; |
| 72 |
|
} |