All Superinterfaces:
EntityRepository<de.digitalcollections.model.identifiable.entity.Topic>, IdentifiableRepository<de.digitalcollections.model.identifiable.entity.Topic>, NodeRepository<de.digitalcollections.model.identifiable.entity.Topic>, PagingSortingFilteringRepository<de.digitalcollections.model.identifiable.entity.Topic>, UniqueObjectRepository<de.digitalcollections.model.identifiable.entity.Topic>

public interface TopicRepository extends NodeRepository<de.digitalcollections.model.identifiable.entity.Topic>, EntityRepository<de.digitalcollections.model.identifiable.entity.Topic>
Repository for Topic persistence handling.
  • Method Details

    • addEntities

      default boolean addEntities(de.digitalcollections.model.identifiable.entity.Topic topic, List<de.digitalcollections.model.identifiable.entity.Entity> entities) throws RepositoryException
      Throws:
      RepositoryException
    • addEntities

      boolean addEntities(UUID topicUuid, List<de.digitalcollections.model.identifiable.entity.Entity> entities) throws RepositoryException
      Throws:
      RepositoryException
    • addEntity

      default boolean addEntity(de.digitalcollections.model.identifiable.entity.Topic topic, de.digitalcollections.model.identifiable.entity.Entity entity) throws RepositoryException
      Throws:
      RepositoryException
    • addFileResource

      default boolean addFileResource(de.digitalcollections.model.identifiable.entity.Topic topic, de.digitalcollections.model.identifiable.resource.FileResource fileResource) throws RepositoryException
      Throws:
      RepositoryException
    • addFileResources

      default boolean addFileResources(de.digitalcollections.model.identifiable.entity.Topic topic, List<de.digitalcollections.model.identifiable.resource.FileResource> fileResources) throws RepositoryException
      Throws:
      RepositoryException
    • addFileResources

      boolean addFileResources(UUID topicUuid, List<de.digitalcollections.model.identifiable.resource.FileResource> fileResources) throws RepositoryException
      Throws:
      RepositoryException
    • findEntities

      default de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Entity> findEntities(de.digitalcollections.model.identifiable.entity.Topic topic, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • findEntities

      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Entity> findEntities(UUID topicUuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • findFileResources

      default de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.resource.FileResource> findFileResources(de.digitalcollections.model.identifiable.entity.Topic topic, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • findFileResources

      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.resource.FileResource> findFileResources(UUID topicUuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • findTopicsOfEntity

      default de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopicsOfEntity(de.digitalcollections.model.identifiable.entity.Entity entity, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • findTopicsOfEntity

      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopicsOfEntity(UUID entityUuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • findTopicsOfFileResource

      default de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopicsOfFileResource(de.digitalcollections.model.identifiable.resource.FileResource fileResource, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • findTopicsOfFileResource

      de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopicsOfFileResource(UUID fileResourceUuid, de.digitalcollections.model.list.paging.PageRequest pageRequest) throws RepositoryException
      Throws:
      RepositoryException
    • getFileResources

      default List<de.digitalcollections.model.identifiable.resource.FileResource> getFileResources(de.digitalcollections.model.identifiable.entity.Topic topic) throws RepositoryException
      Throws:
      RepositoryException
    • getFileResources

      List<de.digitalcollections.model.identifiable.resource.FileResource> getFileResources(UUID topicUuid) throws RepositoryException
      Throws:
      RepositoryException
    • getLanguagesOfEntities

      default List<Locale> getLanguagesOfEntities(de.digitalcollections.model.identifiable.entity.Topic topic) throws RepositoryException
      Throws:
      RepositoryException
    • getLanguagesOfEntities

      List<Locale> getLanguagesOfEntities(UUID topicUuid) throws RepositoryException
      Throws:
      RepositoryException
    • getLanguagesOfFileResources

      default List<Locale> getLanguagesOfFileResources(de.digitalcollections.model.identifiable.entity.Topic topic) throws RepositoryException
      Throws:
      RepositoryException
    • getLanguagesOfFileResources

      List<Locale> getLanguagesOfFileResources(UUID topicUuid) throws RepositoryException
      Throws:
      RepositoryException
    • getTopicsOfEntity

      default List<de.digitalcollections.model.identifiable.entity.Topic> getTopicsOfEntity(de.digitalcollections.model.identifiable.entity.Entity entity) throws RepositoryException
      Throws:
      RepositoryException
    • getTopicsOfEntity

      List<de.digitalcollections.model.identifiable.entity.Topic> getTopicsOfEntity(UUID entityUuid) throws RepositoryException
      Throws:
      RepositoryException
    • getTopicsOfFileResource

      default List<de.digitalcollections.model.identifiable.entity.Topic> getTopicsOfFileResource(de.digitalcollections.model.identifiable.resource.FileResource fileResource) throws RepositoryException
      Throws:
      RepositoryException
    • getTopicsOfFileResource

      List<de.digitalcollections.model.identifiable.entity.Topic> getTopicsOfFileResource(UUID fileResourceUuid) throws RepositoryException
      Throws:
      RepositoryException
    • removeEntity

      default boolean removeEntity(de.digitalcollections.model.identifiable.entity.Topic topic, de.digitalcollections.model.identifiable.entity.Entity entity) throws RepositoryException
      Throws:
      RepositoryException
    • removeEntity

      boolean removeEntity(UUID topicUuid, UUID entityUuid) throws RepositoryException
      Throws:
      RepositoryException
    • removeFileResource

      default boolean removeFileResource(de.digitalcollections.model.identifiable.entity.Topic topic, de.digitalcollections.model.identifiable.resource.FileResource fileResource) throws RepositoryException
      Throws:
      RepositoryException
    • removeFileResource

      boolean removeFileResource(UUID topicUuid, UUID fileResourceUuid) throws RepositoryException
      Throws:
      RepositoryException
    • setEntities

      default boolean setEntities(de.digitalcollections.model.identifiable.entity.Topic topic, List<de.digitalcollections.model.identifiable.entity.Entity> entities) throws RepositoryException
      Throws:
      RepositoryException
    • setEntities

      boolean setEntities(UUID topicUuid, List<de.digitalcollections.model.identifiable.entity.Entity> entities) throws RepositoryException
      Throws:
      RepositoryException
    • setFileResources

      default boolean setFileResources(de.digitalcollections.model.identifiable.entity.Topic topic, List<de.digitalcollections.model.identifiable.resource.FileResource> fileResources) throws RepositoryException
      Throws:
      RepositoryException
    • setFileResources

      boolean setFileResources(UUID topicUuid, List<de.digitalcollections.model.identifiable.resource.FileResource> fileResources) throws RepositoryException
      Throws:
      RepositoryException