Class CudamiWebpagesClient

java.lang.Object
de.digitalcollections.cudami.client.CudamiBaseClient<de.digitalcollections.model.identifiable.web.Webpage>
de.digitalcollections.cudami.client.identifiable.web.CudamiWebpagesClient

public class CudamiWebpagesClient
extends CudamiBaseClient<de.digitalcollections.model.identifiable.web.Webpage>
  • Constructor Details

    • CudamiWebpagesClient

      public CudamiWebpagesClient​(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.web.Webpage create()
    • find

      public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.web.Webpage> find​(de.digitalcollections.model.paging.PageRequest pageRequest) throws HttpException
      Throws:
      HttpException
    • findActiveOne

      public de.digitalcollections.model.identifiable.web.Webpage findActiveOne​(java.util.UUID uuid, java.util.Locale locale) throws HttpException
      Throws:
      HttpException
    • findActiveSubpages

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

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

      public de.digitalcollections.model.identifiable.web.Webpage findOne​(java.util.UUID uuid, java.util.Locale locale) throws HttpException
      Throws:
      HttpException
    • findOne

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

      public de.digitalcollections.model.identifiable.web.Webpage findOneByIdentifier​(java.lang.String namespace, java.lang.String id) throws HttpException
      Throws:
      HttpException
    • findSubpages

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

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

      public java.util.List<de.digitalcollections.model.identifiable.web.Webpage> getActiveChildrenTree​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getBreadcrumbNavigation

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

      public java.util.List<de.digitalcollections.model.identifiable.web.Webpage> getChildren​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getChildren

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

      public java.util.List<de.digitalcollections.model.identifiable.web.Webpage> getChildrenTree​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getParent

      public de.digitalcollections.model.identifiable.web.Webpage getParent​(java.util.UUID uuid) throws HttpException
      Throws:
      HttpException
    • getRelatedFileResources

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

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

      public de.digitalcollections.model.identifiable.web.Webpage save​(de.digitalcollections.model.identifiable.web.Webpage webpage) throws HttpException
      Throws:
      HttpException
    • saveWithParentWebpage

      public de.digitalcollections.model.identifiable.web.Webpage saveWithParentWebpage​(de.digitalcollections.model.identifiable.web.Webpage webpage, java.util.UUID parentWebpageUuid) throws HttpException
      Throws:
      HttpException
    • saveWithParentWebsite

      public de.digitalcollections.model.identifiable.web.Webpage saveWithParentWebsite​(de.digitalcollections.model.identifiable.web.Webpage webpage, java.util.UUID parentWebsiteUuid) throws HttpException
      Throws:
      HttpException
    • update

      public de.digitalcollections.model.identifiable.web.Webpage update​(java.util.UUID uuid, de.digitalcollections.model.identifiable.web.Webpage webpage) throws HttpException
      Throws:
      HttpException
    • updateChildrenOrder

      public boolean updateChildrenOrder​(java.util.UUID webpageUuid, java.util.List<de.digitalcollections.model.identifiable.web.Webpage> children) throws HttpException
      Throws:
      HttpException