Class EntityRelationServiceImpl

    • Constructor Detail

    • Method Detail

      • find

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.relation.EntityRelation> find​(de.digitalcollections.model.list.paging.PageRequest pageRequest)
        Description copied from interface: EntityRelationService
        Get paged, sorted, filtered relations
        Specified by:
        find in interface EntityRelationService
        Parameters:
        pageRequest - request param container for paging, sorting, filtering
        Returns:
        result as paged response
      • getBySubject

        public List<de.digitalcollections.model.identifiable.entity.relation.EntityRelation> getBySubject​(UUID subjectEntityUuid)
        Specified by:
        getBySubject in interface EntityRelationService
      • save

        public List<de.digitalcollections.model.identifiable.entity.relation.EntityRelation> save​(List<de.digitalcollections.model.identifiable.entity.relation.EntityRelation> entityRelations)
        Description copied from interface: EntityRelationService
        Save (means create or update) a list of entity relations. This method is idempotent.
        Specified by:
        save in interface EntityRelationService
        Parameters:
        entityRelations - a list of entity relations to persist
        Returns:
        the persisted list of entity relations