@Role
public interface AttachmentVersioningStore
Modifier and Type | Method and Description |
---|---|
void |
deleteArchive(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
Permanently delete attachment archive.
|
String |
getHint() |
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.
|
String getHint()
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.Copyright © 2004–2022 XWiki. All rights reserved.