Class CudamiTopicsClient


  • public class CudamiTopicsClient
    extends CudamiBaseClient<de.digitalcollections.model.identifiable.entity.Topic>
    • Constructor Detail

      • CudamiTopicsClient

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

      • create

        public de.digitalcollections.model.identifiable.entity.Topic create()
      • find

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

        public de.digitalcollections.model.paging.SearchPageResponse<de.digitalcollections.model.identifiable.entity.Topic> find​(de.digitalcollections.model.paging.SearchPageRequest pageRequest)
                                                                                                                          throws HttpException
        Throws:
        HttpException
      • findOneByRefId

        public de.digitalcollections.model.identifiable.entity.Topic findOneByRefId​(long refId)
                                                                             throws HttpException
        Throws:
        HttpException
      • findSubtopics

        public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findSubtopics​(UUID uuid,
                                                                                                                                    de.digitalcollections.model.paging.SearchPageRequest searchPageRequest)
                                                                                                                             throws HttpException
        Throws:
        HttpException
      • findTopCollections

        public de.digitalcollections.model.paging.SearchPageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopCollections​(de.digitalcollections.model.paging.SearchPageRequest searchPageRequest)
                                                                                                                                        throws HttpException
        Throws:
        HttpException
      • findTopTopics

        public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopTopics​(de.digitalcollections.model.paging.PageRequest pageRequest)
                                                                                                                             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.entity.Topic> getChildren​(UUID uuid,
                                                                                                                                  de.digitalcollections.model.paging.PageRequest pageRequest)
                                                                                                                           throws HttpException
        Throws:
        HttpException
      • getEntities

        public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Entity> getEntities​(UUID uuid,
                                                                                                                                   de.digitalcollections.model.paging.PageRequest pageRequest)
                                                                                                                            throws HttpException
        Throws:
        HttpException
      • getFileResources

        public de.digitalcollections.model.paging.PageResponse<de.digitalcollections.model.identifiable.resource.FileResource> getFileResources​(UUID uuid,
                                                                                                                                                de.digitalcollections.model.paging.PageRequest pageRequest)
                                                                                                                                         throws HttpException
        Throws:
        HttpException
      • getRelatedFileResources

        public List<de.digitalcollections.model.identifiable.resource.FileResource> getRelatedFileResources​(UUID uuid)
                                                                                                     throws HttpException
        Throws:
        HttpException
      • getSubtopics

        @Deprecated
        public List<de.digitalcollections.model.identifiable.entity.Topic> getSubtopics​(UUID uuid)
                                                                                 throws HttpException
        Deprecated.
        use getChildren(uuid)
        Parameters:
        uuid -
        Returns:
        Throws:
        HttpException
      • getTopicsOfFileResource

        public List<de.digitalcollections.model.identifiable.entity.Topic> getTopicsOfFileResource​(UUID uuid)
                                                                                            throws HttpException
        Throws:
        HttpException
      • save

        public de.digitalcollections.model.identifiable.entity.Topic save​(de.digitalcollections.model.identifiable.entity.Topic topic)
                                                                   throws HttpException
        Throws:
        HttpException
      • saveFileResources

        public List<de.digitalcollections.model.identifiable.resource.FileResource> saveFileResources​(UUID uuid,
                                                                                                      List fileResources)
                                                                                               throws HttpException
        Throws:
        HttpException
      • saveWithParentTopic

        public de.digitalcollections.model.identifiable.entity.Topic saveWithParentTopic​(de.digitalcollections.model.identifiable.entity.Topic subtopic,
                                                                                         UUID parentTopicUuid)
                                                                                  throws HttpException
        Throws:
        HttpException
      • update

        public de.digitalcollections.model.identifiable.entity.Topic update​(UUID uuid,
                                                                            de.digitalcollections.model.identifiable.entity.Topic topic)
                                                                     throws HttpException
        Throws:
        HttpException