Class CudamiCorporateBodiesClient

java.lang.Object
de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>
de.digitalcollections.cudami.client.identifiable.entity.agent.CudamiCorporateBodiesClient

public class CudamiCorporateBodiesClient
extends CudamiBaseClient<de.digitalcollections.model.identifiable.entity.agent.CorporateBody>
  • Constructor Details

    • CudamiCorporateBodiesClient

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

    • count

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

      public de.digitalcollections.model.identifiable.entity.agent.CorporateBody create()
    • fetchAndSaveByGndId

      public de.digitalcollections.model.identifiable.entity.agent.CorporateBody fetchAndSaveByGndId​(java.lang.String gndId) throws HttpException
      Throws:
      HttpException
    • find

      @Deprecated(since="5.0", forRemoval=true) public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.agent.CorporateBody> find​(de.digitalcollections.model.paging.PageRequest pageRequest) throws HttpException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      HttpException
    • find

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

      public de.digitalcollections.model.identifiable.entity.agent.CorporateBody findOne​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • findOne

      public de.digitalcollections.model.identifiable.entity.agent.CorporateBody findOne​(java.util.UUID uuid, java.lang.String locale) throws HttpException
      Throws:
      HttpException
    • findOneByIdentifier

      public de.digitalcollections.model.identifiable.entity.agent.CorporateBody findOneByIdentifier​(java.lang.String namespace, java.lang.String id) throws HttpException
      Throws:
      HttpException
    • getLanguages

      public java.util.List<java.util.Locale> getLanguages() throws HttpException
      Throws:
      HttpException
    • save

      public de.digitalcollections.model.identifiable.entity.agent.CorporateBody save​(de.digitalcollections.model.identifiable.entity.agent.CorporateBody corporateBody) throws HttpException
      Throws:
      HttpException
    • update

      public de.digitalcollections.model.identifiable.entity.agent.CorporateBody update​(java.util.UUID uuid, de.digitalcollections.model.identifiable.entity.agent.CorporateBody corporateBody) throws HttpException
      Throws:
      HttpException