Interface IAttachmentStore

All Known Implementing Classes:
AttachmentDBSystem, AttachmentFileSystem

public interface IAttachmentStore
Store provider interface for storage of attachment content
  • Method Details

    • loadLOBData

      boolean loadLOBData(MAttachment attach, MStorageProvider prov)
      Load binary attachment content
      Parameters:
      attach -
      prov -
      Returns:
      true if successfully loaded
    • save

      boolean save(MAttachment attach, MStorageProvider prov)
      Save attachment content
      Parameters:
      attach -
      prov -
      Returns:
      true if successfully save
    • delete

      boolean delete(MAttachment attach, MStorageProvider prov)
      Delete stored attachment content
      Parameters:
      attach -
      prov -
      Returns:
      true if successfully deleted
    • deleteEntry

      boolean deleteEntry(MAttachment mAttachment, MStorageProvider provider, int index)
      Delete attachment content by index
      Parameters:
      mAttachment -
      provider -
      index - index of content to delete (for e.g zip entry #2 of a zip file)
      Returns:
      true if successfully deleted