java.lang.Object
de.digitalcollections.cudami.server.business.impl.service.identifiable.entity.EntityRelationsServiceImpl
All Implemented Interfaces:
EntityRelationsService

@Service
public class EntityRelationsServiceImpl
extends java.lang.Object
implements EntityRelationsService
  • Constructor Summary

    Constructors
    Constructor Description
    EntityRelationsServiceImpl​(EntityRelationsRepository repository)  
  • Method Summary

    Modifier and Type Method Description
    de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.api.identifiable.entity.EntityRelation> find​(de.digitalcollections.model.api.paging.PageRequest pageRequest)
    Get paged, sorted, filtered relations
    java.util.List<de.digitalcollections.model.api.identifiable.entity.EntityRelation> saveEntityRelations​(java.util.List<de.digitalcollections.model.api.identifiable.entity.EntityRelation> entityRelations)
    Save (means create or update) a list of entity relations.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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 java.util.List<de.digitalcollections.model.api.identifiable.entity.EntityRelation> saveEntityRelations​(java.util.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