public abstract class AbstractBlobProvider extends Object implements BlobProvider
BlobProvider
providing common logic.Modifier and Type | Field and Description |
---|---|
String |
blobProviderId |
Map<String,String> |
properties |
Constructor and Description |
---|
AbstractBlobProvider() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String blobProviderId,
Map<String,String> properties)
Initializes the blob provider.
|
boolean |
supportsUserUpdate()
Checks if user update is supported.
|
protected boolean |
supportsUserUpdateDefaultFalse() |
protected boolean |
supportsUserUpdateDefaultTrue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, freezeVersion, getAppLinks, getAvailableConversions, getBinaryManager, getConvertedStream, getStream, getThumbnail, getURI, isVersion, performsExternalAccessControl, readBlob, writeBlob
public String blobProviderId
public Map<String,String> properties
public AbstractBlobProvider()
public void initialize(String blobProviderId, Map<String,String> properties) throws IOException
BlobProvider
initialize
in interface BlobProvider
blobProviderId
- the blob provider id for this binary managerproperties
- initialization propertiesIOException
protected boolean supportsUserUpdateDefaultTrue()
protected boolean supportsUserUpdateDefaultFalse()
public boolean supportsUserUpdate()
BlobProvider
A user update refers to the fact that a blob from this provider may be overwritten with another blob, wherever the original blob may occur (usually in a document property).
supportsUserUpdate
in interface BlobProvider
true
if user update is supportedCopyright © 2016 Nuxeo SA. All rights reserved.