Class EntityRelationsServiceImpl

    • Constructor Detail

    • Method Detail

      • find

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

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