Class CudamiTopicsClient


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

      • CudamiTopicsClient

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

      • findChildren

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findChildren​(UUID uuid,
                                                                                                                                        de.digitalcollections.model.list.paging.PageRequest pageRequest)
                                                                                                                                 throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • findEntities

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Entity> findEntities​(UUID uuid,
                                                                                                                                         de.digitalcollections.model.list.paging.PageRequest pageRequest)
                                                                                                                                  throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • findFileResources

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.resource.FileResource> findFileResources​(UUID uuid,
                                                                                                                                                      de.digitalcollections.model.list.paging.PageRequest pageRequest)
                                                                                                                                               throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • findSubtopics

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findSubtopics​(UUID uuid,
                                                                                                                                         de.digitalcollections.model.list.paging.PageRequest pageRequest)
                                                                                                                                  throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • findTopTopics

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.Topic> findTopTopics​(de.digitalcollections.model.list.paging.PageRequest pageRequest)
                                                                                                                                  throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getAllEntities

        public List<de.digitalcollections.model.identifiable.entity.Entity> getAllEntities​(UUID uuid)
                                                                                    throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getBreadcrumbNavigation

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

        public List<de.digitalcollections.model.identifiable.entity.Topic> getChildren​(UUID uuid)
                                                                                throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getLanguagesOfEntities

        public List<Locale> getLanguagesOfEntities​(UUID topicUuid)
                                            throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getLanguagesOfFileResources

        public List<Locale> getLanguagesOfFileResources​(UUID topicUuid)
                                                 throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getLanguagesOfTopTopics

        public List<Locale> getLanguagesOfTopTopics()
                                             throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getParent

        public de.digitalcollections.model.identifiable.entity.Topic getParent​(UUID uuid)
                                                                        throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getTopicsOfEntity

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

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

        public boolean removeChild​(UUID parentUuid,
                                   UUID childUuid)
                            throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • saveWithParentTopic

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

        public List<de.digitalcollections.model.identifiable.entity.Entity> setEntities​(UUID uuid,
                                                                                        List entities)
                                                                                 throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • setFileResources

        public List<de.digitalcollections.model.identifiable.resource.FileResource> setFileResources​(UUID uuid,
                                                                                                     List fileResources)
                                                                                              throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException