Interface ExternalBlobAdapter

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    AbstractExternalBlobAdapter, FileSystemExternalBlobAdapter

    public interface ExternalBlobAdapter
    extends Serializable
    Interface to implement when defining a way to get a Blob that is not stored at the usual place handled by the repository.

    This is done storing a string instead of a blob, using a prefix that makes it possible to find the adapter in charge of retrieving the file. It makes it also possible to use the same adapter implementation for different configurations, in conjunction with properties.

    The string will look something like "fs:file/foo.odt", "fs" being the prefix, and "file/foo.odt" being the local name, with all the needed information to retrieve the actual file for this adapter.

    Author:
    Anahide Tchertchian