Class CudamiEntitiesClient


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

      • CudamiEntitiesClient

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

      • create

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

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

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

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

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

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

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

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

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