Class CudamiEntitiesClient


  • public class CudamiEntitiesClient
    extends CudamiBaseClient<de.digitalcollections.model.identifiable.entity.Entity>
    • Constructor Detail

      • CudamiEntitiesClient

        public CudamiEntitiesClient​(HttpClient http,
                                    String serverUrl,
                                    com.fasterxml.jackson.databind.ObjectMapper mapper)
    • Method Detail

      • create

        public de.digitalcollections.model.identifiable.entity.Entity create()
      • find

        public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Entity> find​(de.digitalcollections.model.paging.PageRequest pageRequest)
                                                                                                                     throws HttpException
        Throws:
        HttpException
      • find

        public de.digitalcollections.model.paging.SearchPageResponse<de.digitalcollections.model.identifiable.entity.Entity> find​(de.digitalcollections.model.paging.SearchPageRequest searchPageRequest)
                                                                                                                           throws HttpException
        Throws:
        HttpException
      • findOneByRefId

        public de.digitalcollections.model.identifiable.entity.Entity findOneByRefId​(long refId)
                                                                              throws HttpException
        Throws:
        HttpException
      • getRelations

        public List<de.digitalcollections.model.identifiable.entity.relation.EntityRelation> getRelations​(UUID subjectEntityUuid)
                                                                                                   throws HttpException
        Throws:
        HttpException
      • save

        public de.digitalcollections.model.identifiable.entity.Entity save​(de.digitalcollections.model.identifiable.entity.Entity entity)
                                                                    throws HttpException
        Throws:
        HttpException
      • saveRelatedFileResources

        public List<de.digitalcollections.model.identifiable.resource.FileResource> saveRelatedFileResources​(UUID uuid,
                                                                                                             List fileResources)
                                                                                                      throws HttpException
        Throws:
        HttpException
      • saveRelationsForSubject

        public List<de.digitalcollections.model.identifiable.entity.relation.EntityRelation> saveRelationsForSubject​(List relations)
                                                                                                              throws HttpException
        Throws:
        HttpException
      • update

        public de.digitalcollections.model.identifiable.entity.Entity update​(UUID uuid,
                                                                             de.digitalcollections.model.identifiable.entity.Entity entity)
                                                                      throws HttpException
        Throws:
        HttpException