@Role
public interface XWikiAttachmentStoreInterface
Modifier and Type | Method and Description |
---|---|
default boolean |
attachmentContentExists(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
cleanUp(XWikiContext context) |
void |
deleteXWikiAttachment(XWikiAttachment attachment,
boolean parentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
deleteXWikiAttachment(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
String |
getHint() |
void |
loadAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
saveAttachmentContent(XWikiAttachment attachment,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction) |
void |
saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction) |
void |
saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean bParentUpdate,
XWikiContext context,
boolean bTransaction) |
String getHint()
void saveAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void saveAttachmentContent(XWikiAttachment attachment, boolean bParentUpdate, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiDocument doc, boolean bParentUpdate, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void loadAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
default boolean attachmentContentExists(XWikiAttachment attachment, XWikiContext context, boolean bTransaction) throws XWikiException
attachment
- context
- the XWiki contextbTransaction
- XWikiException
- when it's not possible to check of the content existvoid deleteXWikiAttachment(XWikiAttachment attachment, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void deleteXWikiAttachment(XWikiAttachment attachment, boolean parentUpdate, XWikiContext context, boolean bTransaction) throws XWikiException
XWikiException
void cleanUp(XWikiContext context)
Copyright © 2004–2022 XWiki. All rights reserved.