Class CudamiWebsitesClient

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

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

    • CudamiWebsitesClient

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

      @Deprecated(since="5.0", forRemoval=true) public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Website> 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.Website> find​(de.digitalcollections.model.paging.SearchPageRequest searchPageRequest) throws HttpException
      Throws:
      HttpException
    • findOne

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

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

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

      public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.web.Webpage> findRootPages​(java.util.UUID uuid, de.digitalcollections.model.paging.SearchPageRequest searchPageRequest) throws HttpException
      Throws:
      HttpException
    • getLanguages

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

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

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

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

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