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 aBlob
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Blob
getBlob()
Returns the Blob held inside the object.List<Blob>
getBlobs()
Returns a list of blobs, if holder implementation supports multiple blobs.String
getFilePath()
Returns a filesystem-like path to represent the held blob.String
getHash()
Returns a hash for the held blob.Calendar
getModificationDate()
Returns the held blob modification date.Map<String,Serializable>
getProperties()
Returns all properties as a Map.Serializable
getProperty(String name)
Returns a named property.void
setBlob(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.
-
-