Interface StoredFileContentManager

  • All Superinterfaces:
    CustomBean
    All Known Implementing Classes:
    AmazonS3StoredFileContentManagerImpl, DbStoredFileContentManagerImpl, FsStoredFileContentManagerImpl, GoogleCloudStoredFileContentManagerImpl

    public interface StoredFileContentManager
    extends CustomBean
    Custom interface for the management of StoredFile's contents.
    You can create a new implementation of this interface and configure it in the cyclos.properties if you want to use your own storage different from those offered out of the box: database, file and Amazon S3.
    This interface is not intended to be used directly from the services, instead the services will interact through the StoredFileHandler. Moreover, the implementation of this manager is not automatically published in the script's context. The metadata parameter used in the methods contains information needed to locate a content and its type/format is implementation-dependent.