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
FieldsFields inherited from interface org.nuxeo.ecm.core.api.externalblob.ExternalBlobAdapter
PREFIX_SEPARATOR -
Constructor Summary
Constructors -
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.voidSets the prefix to use as marker for this adaptervoidsetProperties(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, waitMethods 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:ExternalBlobAdapterReturns the prefix to use as marker for this adapter- Specified by:
getPrefixin interfaceExternalBlobAdapter
-
setPrefix
Description copied from interface:ExternalBlobAdapterSets the prefix to use as marker for this adapter- Specified by:
setPrefixin interfaceExternalBlobAdapter
-
getProperties
Description copied from interface:ExternalBlobAdapterReturn specific properties for this adapter. Can be used for whatever useful property.- Specified by:
getPropertiesin interfaceExternalBlobAdapter
-
getProperty
Description copied from interface:ExternalBlobAdapterReturn property with gievn name.Returns null if no property value is found.
- Specified by:
getPropertyin interfaceExternalBlobAdapter
-
setProperties
Description copied from interface:ExternalBlobAdapterSet specific properties for this adapter. Can be used for whatever useful property.- Specified by:
setPropertiesin interfaceExternalBlobAdapter
-
getLocalName
- Throws:
PropertyException
-