|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Role public interface AttachmentVersioningStore
Interface for storing attachment versions.
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. |
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 |