Class CudamiWebpagesClient


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

      • CudamiWebpagesClient

        public CudamiWebpagesClient​(HttpClient http,
                                    String serverUrl,
                                    com.fasterxml.jackson.databind.ObjectMapper mapper)
    • Method Detail

      • 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
      • findActiveSubpages

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

        public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.web.Webpage> findSubpages​(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​(UUID uuid,
                                                                                                                                       de.digitalcollections.model.paging.PageRequest pageRequest)
                                                                                                                                throws HttpException
        Throws:
        HttpException
      • getActiveChildrenTree

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

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

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

        public de.digitalcollections.model.identifiable.entity.Website getWebsite​(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,
                                                                                          UUID parentWebpageUuid)
                                                                                   throws HttpException
        Throws:
        HttpException
      • saveWithParentWebsite

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

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

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