com.xpn.xwiki.store
Interface XWikiAttachmentStoreInterface

All Known Implementing Classes:
XWikiHibernateAttachmentStore

@Role
public interface XWikiAttachmentStoreInterface

Interface for Attachment store system.

Version:
$Id: 82eb7fe21f2e52ecd451bba47f7a47c98ab61960 $

Method Summary
 void cleanUp(XWikiContext context)
           
 void deleteXWikiAttachment(XWikiAttachment attachment, boolean parentUpdate, XWikiContext context, boolean bTransaction)
           
 void deleteXWikiAttachment(XWikiAttachment attachment, XWikiContext context, boolean bTransaction)
           
 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)
           
 

Method Detail

saveAttachmentContent

void saveAttachmentContent(XWikiAttachment attachment,
                           XWikiContext context,
                           boolean bTransaction)
                           throws XWikiException
Throws:
XWikiException

saveAttachmentContent

void saveAttachmentContent(XWikiAttachment attachment,
                           boolean bParentUpdate,
                           XWikiContext context,
                           boolean bTransaction)
                           throws XWikiException
Throws:
XWikiException

saveAttachmentsContent

void saveAttachmentsContent(List<XWikiAttachment> attachments,
                            XWikiDocument doc,
                            boolean bParentUpdate,
                            XWikiContext context,
                            boolean bTransaction)
                            throws XWikiException
Throws:
XWikiException

loadAttachmentContent

void loadAttachmentContent(XWikiAttachment attachment,
                           XWikiContext context,
                           boolean bTransaction)
                           throws XWikiException
Throws:
XWikiException

deleteXWikiAttachment

void deleteXWikiAttachment(XWikiAttachment attachment,
                           XWikiContext context,
                           boolean bTransaction)
                           throws XWikiException
Throws:
XWikiException

deleteXWikiAttachment

void deleteXWikiAttachment(XWikiAttachment attachment,
                           boolean parentUpdate,
                           XWikiContext context,
                           boolean bTransaction)
                           throws XWikiException
Throws:
XWikiException

cleanUp

void cleanUp(XWikiContext context)


Copyright © 2004–2014 XWiki. All rights reserved.