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 BlobHolderInterface for an object that holds aBlob.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobgetBlob()Returns the Blob held inside the object.List<Blob>getBlobs()Returns a list of blobs, if holder implementation supports multiple blobs.StringgetFilePath()Returns a filesystem-like path to represent the held blob.StringgetHash()Returns a hash for the held blob.CalendargetModificationDate()Returns the held blob modification date.Map<String,Serializable>getProperties()Returns all properties as a Map.SerializablegetProperty(String name)Returns a named property.voidsetBlob(Blob blob)Sets a blob in the object.
-
-
-
Method Detail
-
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.
-
-