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 | 
|---|---|
Map<String,String> | 
getProperties()
Returns the properties of the blob provider. 
 | 
boolean | 
hasCreateFromKeyPermission()
Checks if current user has the rights to create blobs in the blob provider using a key. 
 | 
void | 
initialize(String blobProviderId,
          Map<String,String> properties)
Initializes the blob provider. 
 | 
boolean | 
isTransient()
Checks whether this blob provider is transient: blobs may disappear after a while, so a caller should not rely on
 them being available forever. 
 | 
boolean | 
supportsUserUpdate()
Checks if user update is supported. 
 | 
protected boolean | 
supportsUserUpdateDefaultFalse()  | 
protected boolean | 
supportsUserUpdateDefaultTrue()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanConvert, close, getAppLinks, getAvailableConversions, getBinaryManager, getStream, getThumbnail, getURI, isVersion, performsExternalAccessControl, readBlob, writeBlobpublic String blobProviderId
public Map<String,String> properties
public AbstractBlobProvider()
public void initialize(String blobProviderId, Map<String,String> properties) throws IOException
BlobProviderinitialize in interface BlobProviderblobProviderId - the blob provider id for this binary managerproperties - initialization propertiesIOExceptionprotected boolean supportsUserUpdateDefaultTrue()
protected boolean supportsUserUpdateDefaultFalse()
public boolean supportsUserUpdate()
BlobProviderA 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 BlobProvidertrue if user update is supportedpublic boolean isTransient()
BlobProviderisTransient in interface BlobProviderpublic Map<String,String> getProperties()
BlobProvidergetProperties in interface BlobProviderpublic boolean hasCreateFromKeyPermission()
BlobProviderhasCreateFromKeyPermission in interface BlobProviderCopyright © 2019 Nuxeo. All rights reserved.