|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xwiki.store.legacy.store.internal.FilesystemAttachmentStore
@Component @Named(value="file") @Singleton public class FilesystemAttachmentStore
Filesystem based implementation of XWikiAttachmentStoreInterface.
Constructor Summary | |
---|---|
FilesystemAttachmentStore()
Constructor for component manager. |
|
FilesystemAttachmentStore(FilesystemStoreTools fileTools)
Testing Constructor. |
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 updateDocument,
XWikiContext context,
boolean bTransaction)
This implementation cannot operate in a larger transaction so it starts a new transaction no matter whether bTransaction is true or false. |
void |
saveAttachmentContent(XWikiAttachment attachment,
XWikiContext context,
boolean bTransaction)
This implementation cannot operate in a larger transaction so it starts a new transaction no matter whether bTransaction is true or false. |
void |
saveAttachmentsContent(List<XWikiAttachment> attachments,
XWikiDocument doc,
boolean updateDocument,
XWikiContext context,
boolean bTransaction)
This implementation cannot operate in a larger transaction so it starts a new transaction no matter whether bTransaction is true or false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilesystemAttachmentStore(FilesystemStoreTools fileTools)
fileTools
- tools for getting files to store given content in and locks.public FilesystemAttachmentStore()
Method Detail |
---|
public void saveAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction) throws XWikiException
saveAttachmentContent
in interface XWikiAttachmentStoreInterface
XWikiException
XWikiAttachmentStoreInterface.saveAttachmentContent(
XWikiAttachment, XWikiContext, boolean)
public void saveAttachmentContent(XWikiAttachment attachment, boolean updateDocument, XWikiContext context, boolean bTransaction) throws XWikiException
saveAttachmentContent
in interface XWikiAttachmentStoreInterface
XWikiException
XWikiAttachmentStoreInterface.saveAttachmentContent(
XWikiAttachment, boolean, XWikiContext, boolean)
public void saveAttachmentsContent(List<XWikiAttachment> attachments, XWikiDocument doc, boolean updateDocument, XWikiContext context, boolean bTransaction) throws XWikiException
saveAttachmentsContent
in interface XWikiAttachmentStoreInterface
XWikiException
XWikiAttachmentStoreInterface.saveAttachmentsContent(
List, XWikiDocument, boolean, XWikiContext, boolean)
public void loadAttachmentContent(XWikiAttachment attachment, XWikiContext context, boolean bTransaction) throws XWikiException
loadAttachmentContent
in interface XWikiAttachmentStoreInterface
XWikiException
public void deleteXWikiAttachment(XWikiAttachment attachment, XWikiContext context, boolean bTransaction) throws XWikiException
deleteXWikiAttachment
in interface XWikiAttachmentStoreInterface
XWikiException
public void deleteXWikiAttachment(XWikiAttachment attachment, boolean parentUpdate, XWikiContext context, boolean bTransaction) throws XWikiException
deleteXWikiAttachment
in interface XWikiAttachmentStoreInterface
XWikiException
public void cleanUp(XWikiContext context)
cleanUp
in interface XWikiAttachmentStoreInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |