Interface CudamiCollectionsClient


  • public interface CudamiCollectionsClient
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      static CudamiCollectionsClient build​(java.lang.String serverUrl)  
      default de.digitalcollections.model.api.identifiable.entity.Collection createCollection()  
      de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.api.identifiable.entity.Collection> findCollections​(int pageNumber, int pageSize, java.lang.String sortField, java.lang.String sortDirection, java.lang.String nullHandling)  
      default de.digitalcollections.model.api.paging.PageResponse findCollections​(de.digitalcollections.model.api.paging.PageRequest pageRequest)  
      de.digitalcollections.model.api.identifiable.entity.Collection getCollection​(java.util.UUID uuid)  
      de.digitalcollections.model.api.identifiable.entity.Collection saveCollection​(de.digitalcollections.model.api.identifiable.entity.Collection collection)  
      de.digitalcollections.model.api.identifiable.entity.Collection saveCollectionWithParentCollection​(de.digitalcollections.model.api.identifiable.entity.Collection collection, java.util.UUID parentCollectionUuid)  
      default de.digitalcollections.model.api.identifiable.entity.Collection updateCollection​(de.digitalcollections.model.api.identifiable.entity.Collection collection)  
      de.digitalcollections.model.api.identifiable.entity.Collection updateCollection​(java.util.UUID uuid, de.digitalcollections.model.api.identifiable.entity.Collection collection)  
    • Method Detail

      • createCollection

        default de.digitalcollections.model.api.identifiable.entity.Collection createCollection()
      • findCollections

        default de.digitalcollections.model.api.paging.PageResponse findCollections​(de.digitalcollections.model.api.paging.PageRequest pageRequest)
      • findCollections

        de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.api.identifiable.entity.Collection> findCollections​(int pageNumber,
                                                                                                                                            int pageSize,
                                                                                                                                            java.lang.String sortField,
                                                                                                                                            java.lang.String sortDirection,
                                                                                                                                            java.lang.String nullHandling)
      • getCollection

        de.digitalcollections.model.api.identifiable.entity.Collection getCollection​(java.util.UUID uuid)
                                                                              throws HttpException
        Throws:
        HttpException
      • saveCollectionWithParentCollection

        de.digitalcollections.model.api.identifiable.entity.Collection saveCollectionWithParentCollection​(de.digitalcollections.model.api.identifiable.entity.Collection collection,
                                                                                                          java.util.UUID parentCollectionUuid)
      • saveCollection

        de.digitalcollections.model.api.identifiable.entity.Collection saveCollection​(de.digitalcollections.model.api.identifiable.entity.Collection collection)
      • updateCollection

        default de.digitalcollections.model.api.identifiable.entity.Collection updateCollection​(de.digitalcollections.model.api.identifiable.entity.Collection collection)
      • updateCollection

        de.digitalcollections.model.api.identifiable.entity.Collection updateCollection​(java.util.UUID uuid,
                                                                                        de.digitalcollections.model.api.identifiable.entity.Collection collection)