Class CudamiSubtopicsClient

java.lang.Object
de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>
de.digitalcollections.cudami.client.CudamiSubtopicsClient

public class CudamiSubtopicsClient
extends CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl>
  • Constructor Details

    • CudamiSubtopicsClient

      public CudamiSubtopicsClient​(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.parts.Subtopic create()
    • count

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

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

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

      public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic findOne​(java.util.UUID uuid, java.util.Locale locale) throws HttpException
      Throws:
      HttpException
    • findOne

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

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

      public de.digitalcollections.model.api.view.BreadcrumbNavigation getBreadcrumbNavigation​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getChildren

      public java.util.List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getChildren​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getChildren

      public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getChildren​(java.util.UUID uuid, de.digitalcollections.model.api.paging.PageRequest pageRequest) throws HttpException
      Throws:
      HttpException
    • getEntities

      public java.util.List getEntities​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getFileResources

      public java.util.List getFileResources​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getParent

      public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic getParent​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getRelatedFileResources

      public java.util.List getRelatedFileResources​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getSubtopicsOfEntity

      public java.util.List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getSubtopicsOfEntity​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getSubtopicsOfFileResource

      public java.util.List<de.digitalcollections.model.impl.identifiable.entity.parts.SubtopicImpl> getSubtopicsOfFileResource​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getTopic

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

      public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic save​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic) throws HttpException
      Throws:
      HttpException
    • saveEntities

      public java.util.List<de.digitalcollections.model.api.identifiable.entity.Entity> saveEntities​(java.util.UUID uuid, java.util.List entities) throws HttpException
      Throws:
      HttpException
    • saveFileResources

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

      public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic saveWithParentTopic​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic, java.util.UUID parentTopicUuid) throws HttpException
      Throws:
      HttpException
    • saveWithParentSubtopic

      public de.digitalcollections.model.api.identifiable.entity.parts.Subtopic saveWithParentSubtopic​(de.digitalcollections.model.api.identifiable.entity.parts.Subtopic subtopic, java.util.UUID parentSubtopicUuid) throws HttpException
      Throws:
      HttpException
    • update

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