Package org.compiere.model
Class AttachmentFileSystem
java.lang.Object
org.compiere.model.AttachmentFileSystem
- All Implemented Interfaces:
IAttachmentStore
File system backed implementation of
IAttachmentStore- Author:
- juliana
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandelete(MAttachment attach, MStorageProvider provider) Delete stored attachment contentbooleandeleteEntry(MAttachment attach, MStorageProvider provider, int index) Delete attachment content by indexbooleanloadLOBData(MAttachment attach, MStorageProvider prov) Load binary attachment contentbooleansave(MAttachment attach, MStorageProvider prov) Save attachment contentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.compiere.model.IAttachmentStore
save
-
Constructor Details
-
AttachmentFileSystem
public AttachmentFileSystem()
-
-
Method Details
-
save
Description copied from interface:IAttachmentStoreSave attachment content- Specified by:
savein interfaceIAttachmentStore- Returns:
- true if successfully save
-
loadLOBData
Description copied from interface:IAttachmentStoreLoad binary attachment content- Specified by:
loadLOBDatain interfaceIAttachmentStore- Returns:
- true if successfully loaded
-
delete
Description copied from interface:IAttachmentStoreDelete stored attachment content- Specified by:
deletein interfaceIAttachmentStore- Returns:
- true if successfully deleted
-
deleteEntry
Description copied from interface:IAttachmentStoreDelete attachment content by index- Specified by:
deleteEntryin interfaceIAttachmentStoreindex- index of content to delete (for e.g zip entry #2 of a zip file)- Returns:
- true if successfully deleted
-