Class CudamiWebsitesClient


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

      • CudamiWebsitesClient

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

      • create

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

        public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.api.identifiable.entity.parts.Webpage> getRootPages​(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​(UUID uuid,
                                                                                  de.digitalcollections.model.api.identifiable.entity.Website website)
                                                                           throws HttpException
        Throws:
        HttpException
      • updateRootPagesOrder

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