Interface BlobHolder

All Known Subinterfaces:
CachableBlobHolder
All Known Implementing Classes:
AbstractBlobHolder, DocumentBlobHolder, DocumentStringBlobHolder, DownloadBlobHolder, DownloadContextBlobHolder, MailMessageBlobHolder, PictureBlobHolder, PictureBookBlobHolder, ScanFileBlobHolder, SimpleBlobHolder, SimpleBlobHolderWithProperties, SimpleCachableBlobHolder, ZipCachableBlobHolder

public interface BlobHolder
Interface for an object that holds a Blob.
  • Method Details

    • getBlob

      Blob getBlob()
      Returns the Blob held inside the object.
    • setBlob

      void setBlob(Blob blob)
      Sets a blob in the object.

      The underlying document must be saved by the caller.

    • getFilePath

      String getFilePath()
      Returns a filesystem-like path to represent the held blob.
    • getModificationDate

      Calendar getModificationDate()
      Returns the held blob modification date.
    • getHash

      String getHash()
      Returns a hash for the held blob.
    • getBlobs

      List<Blob> getBlobs()
      Returns a list of blobs, if holder implementation supports multiple blobs.
    • getProperty

      Serializable getProperty(String name)
      Returns a named property.
    • getProperties

      Map<String,Serializable> getProperties()
      Returns all properties as a Map.