Interface IEntityFileSystemPersistenceAdapter<PersistenceContext,​Entity,​Scope>

  • Type Parameters:
    PersistenceContext - Type of the persistence context used for accessing the persistence layer.
    Entity - Type of the entity that exists within a scope.
    Scope - Type of the scope in which the entities are scoped, such as a client or project.
    All Superinterfaces:
    ICrudPersistenceAdapter<PersistenceContext,​Entity>, IFileDataPersistenceAdapter<PersistenceContext,​Entity>, IScopedEntityPersistenceAdapter<PersistenceContext,​Entity,​Scope>, Serializable
    All Known Implementing Classes:
    FileEntityPersistenceAdapter, FileEntityViewPersistenceAdapter, FileProvidingEntityAdapter, FormThemeFileViewPersistenceAdapter

    public interface IEntityFileSystemPersistenceAdapter<PersistenceContext,​Entity,​Scope>
    extends ICrudPersistenceAdapter<PersistenceContext,​Entity>, IFileDataPersistenceAdapter<PersistenceContext,​Entity>, IScopedEntityPersistenceAdapter<PersistenceContext,​Entity,​Scope>
    Persistence adapter for an EntityFileSystem. Allows the entity file system implementation to work in a general manner, without having to care about the details how the entities are synchronized with the persistence layer. Contains CRUD operations for creating, reading, updating, and deleting the file metadata of the entities (file name, size, last modified date etc.); as well as operations to read and write the binary data of the file.

    In addition, all entities can be scoped to a particular scope, such as a client or project. Reading a list of entities will only return entities from that scope.

    Since:
    8.3.0
    Author:
    XIMA MEDIA GmbH