public abstract class AbstractBlobHolder extends Object implements BlobHolder
BlobHolder implementers| Constructor and Description | 
|---|
AbstractBlobHolder()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract String | 
getBasePath()  | 
abstract 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. 
 | 
protected String | 
getMD5Digest()  | 
abstract Calendar | 
getModificationDate()
Returns the held blob modification date. 
 | 
void | 
setBlob(Blob blob)
Sets a blob in the object. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperties, getPropertypublic AbstractBlobHolder()
public abstract Blob getBlob()
BlobHoldergetBlob in interface BlobHolderpublic void setBlob(Blob blob)
BlobHolderThe underlying document must be saved by the caller.
setBlob in interface BlobHolderpublic List<Blob> getBlobs()
BlobHoldergetBlobs in interface BlobHolderprotected abstract String getBasePath()
public String getFilePath()
BlobHoldergetFilePath in interface BlobHolderpublic String getHash()
BlobHoldergetHash in interface BlobHolderprotected String getMD5Digest()
public abstract Calendar getModificationDate()
BlobHoldergetModificationDate in interface BlobHolderCopyright © 2019 Nuxeo. All rights reserved.