Class CudamiTopicsClient

java.lang.Object
de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.TopicImpl>
de.digitalcollections.cudami.client.CudamiTopicsClient

public class CudamiTopicsClient
extends CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.TopicImpl>
  • Constructor Details

    • CudamiTopicsClient

      public CudamiTopicsClient​(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.Topic create()
    • count

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

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

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

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

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

      public java.util.List<de.digitalcollections.model.api.identifiable.entity.parts.Subtopic> getSubtopics​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • save

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

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