|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttachmentVersioningStore
Interface for storing attachment versions.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
This component's role, used when code needs to look it up. |
| Method Summary | |
|---|---|
void |
deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment archive. |
XWikiAttachmentArchive |
loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Load attachment archive from store. |
void |
saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean bTransaction)
Save or update attachment archive. |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
XWikiAttachmentArchive loadArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
throws XWikiException
attachment - The attachment of archive.context - The current context.bTransaction - Should use old transaction (false) or create new (true).
XWikiException - If an error occurs.
void saveArchive(XWikiAttachmentArchive archive,
XWikiContext context,
boolean bTransaction)
throws XWikiException
archive - The attachment archive to save.context - The current context.bTransaction - Should use old transaction (false) or create new (true).
XWikiException - If an error occurs.
void deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
throws XWikiException
attachment - The attachment to delete.context - The current context.bTransaction - Should use old transaction (false) or create new (true).
XWikiException - If an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||