Class AbstractExternalBlobAdapter
java.lang.Object
org.nuxeo.ecm.core.api.externalblob.AbstractExternalBlobAdapter
- All Implemented Interfaces:
Serializable
,ExternalBlobAdapter
- Direct Known Subclasses:
FileSystemExternalBlobAdapter
Abstract class for external blob adapters.
Provides generic methods
Extend this class if you want your contributions to be robust to interface changes.
- Author:
- Anahide Tchertchian
- See Also:
-
Field Summary
Fields inherited from interface org.nuxeo.ecm.core.api.externalblob.ExternalBlobAdapter
PREFIX_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLocalName
(String uri) Returns the prefix to use as marker for this adapterReturn specific properties for this adapter.getProperty
(String name) Return property with gievn name.void
Sets the prefix to use as marker for this adaptervoid
setProperties
(Map<String, String> properties) Set specific properties for this adapter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.core.api.externalblob.ExternalBlobAdapter
getBlob
-
Field Details
-
prefix
-
properties
-
-
Constructor Details
-
AbstractExternalBlobAdapter
public AbstractExternalBlobAdapter()
-
-
Method Details
-
getPrefix
Description copied from interface:ExternalBlobAdapter
Returns the prefix to use as marker for this adapter- Specified by:
getPrefix
in interfaceExternalBlobAdapter
-
setPrefix
Description copied from interface:ExternalBlobAdapter
Sets the prefix to use as marker for this adapter- Specified by:
setPrefix
in interfaceExternalBlobAdapter
-
getProperties
Description copied from interface:ExternalBlobAdapter
Return specific properties for this adapter. Can be used for whatever useful property.- Specified by:
getProperties
in interfaceExternalBlobAdapter
-
getProperty
Description copied from interface:ExternalBlobAdapter
Return property with gievn name.Returns null if no property value is found.
- Specified by:
getProperty
in interfaceExternalBlobAdapter
-
setProperties
Description copied from interface:ExternalBlobAdapter
Set specific properties for this adapter. Can be used for whatever useful property.- Specified by:
setProperties
in interfaceExternalBlobAdapter
-
getLocalName
- Throws:
PropertyException
-