Class CudamiWorksClient

java.lang.Object
de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.work.WorkImpl>
de.digitalcollections.cudami.client.entity.work.CudamiWorksClient

public class CudamiWorksClient
extends CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.work.WorkImpl>
  • Constructor Details

    • CudamiWorksClient

      public CudamiWorksClient​(java.net.http.HttpClient http, java.lang.String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
  • Method Details

    • create

      public de.digitalcollections.model.api.identifiable.entity.work.Work create()
    • count

      public long count() throws HttpException
      Throws:
      HttpException
    • find

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

      public de.digitalcollections.model.api.paging.PageResponse findByLanguageAndInitial​(de.digitalcollections.model.api.paging.PageRequest pageRequest, java.lang.String language, java.lang.String initial) throws HttpException
      Throws:
      HttpException
    • findByLanguageAndInitial

      public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.work.WorkImpl> findByLanguageAndInitial​(int pageNumber, int pageSize, java.lang.String sortField, java.lang.String sortDirection, java.lang.String nullHandling, java.lang.String language, java.lang.String initial) throws HttpException
      Throws:
      HttpException
    • findOne

      public de.digitalcollections.model.api.identifiable.entity.work.Work findOne​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • findOneByIdentifier

      public de.digitalcollections.model.api.identifiable.entity.work.Work findOneByIdentifier​(java.lang.String namespace, java.lang.String id) throws HttpException
      Throws:
      HttpException
    • getCreators

      public java.util.Set<de.digitalcollections.model.api.identifiable.entity.agent.Agent> getCreators​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getItems

      public java.util.List getItems​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • save

      public de.digitalcollections.model.api.identifiable.entity.work.Work save​(de.digitalcollections.model.api.identifiable.entity.work.Work work) throws HttpException
      Throws:
      HttpException
    • update

      public de.digitalcollections.model.api.identifiable.entity.work.Work update​(java.util.UUID uuid, de.digitalcollections.model.api.identifiable.entity.work.Work work) throws HttpException
      Throws:
      HttpException