Class CudamiWebsitesClient

java.lang.Object
de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.impl.identifiable.entity.WebsiteImpl>
de.digitalcollections.cudami.client.CudamiWebsitesClient

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

    • CudamiWebsitesClient

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

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

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

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

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

      public de.digitalcollections.model.api.identifiable.entity.Website 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
    • getRootPages

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

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

      public de.digitalcollections.model.api.identifiable.entity.Website update​(java.util.UUID uuid, de.digitalcollections.model.api.identifiable.entity.Website website) throws HttpException
      Throws:
      HttpException
    • updateRootPagesOrder

      public boolean updateRootPagesOrder​(java.util.UUID websiteUuid, java.util.List<de.digitalcollections.model.api.identifiable.entity.parts.Webpage> rootpages) throws HttpException
      Throws:
      HttpException