Class CudamiDigitalObjectsClient


  • public class CudamiDigitalObjectsClient
    extends CudamiEntitiesClient<de.digitalcollections.model.identifiable.entity.DigitalObject>
    • Constructor Detail

      • CudamiDigitalObjectsClient

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

      • findActiveCollections

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

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

        public de.digitalcollections.model.identifiable.entity.DigitalObject getByIdentifierAndFillWEMI​(String namespace,
                                                                                                        String id)
                                                                                                 throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • findProjects

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

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.DigitalObject> getAllForParent​(de.digitalcollections.model.identifiable.entity.DigitalObject parent)
                                                                                                                                            throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getAllForParent

        public de.digitalcollections.model.list.paging.PageResponse<de.digitalcollections.model.identifiable.entity.DigitalObject> getAllForParent​(de.digitalcollections.model.identifiable.entity.DigitalObject parent,
                                                                                                                                                   de.digitalcollections.model.list.paging.PageRequest pageRequest)
                                                                                                                                            throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getAllReduced

        public List<de.digitalcollections.model.identifiable.entity.DigitalObject> getAllReduced()
                                                                                          throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getFileResources

        public List<de.digitalcollections.model.identifiable.resource.FileResource> getFileResources​(UUID uuid)
                                                                                              throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getImageFileResources

        public List<de.digitalcollections.model.identifiable.resource.ImageFileResource> getImageFileResources​(UUID uuid)
                                                                                                        throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getItem

        public de.digitalcollections.model.identifiable.entity.work.Item getItem​(UUID uuid)
                                                                          throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getLanguagesOfCollections

        public List<Locale> getLanguagesOfCollections​(UUID uuid)
                                               throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getLanguagesOfContainedDigitalObjects

        public List<Locale> getLanguagesOfContainedDigitalObjects​(UUID uuid)
                                                           throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getLanguagesOfProjects

        public List<Locale> getLanguagesOfProjects​(UUID uuid)
                                            throws de.digitalcollections.model.exception.TechnicalException
        Throws:
        de.digitalcollections.model.exception.TechnicalException
      • getRandomDigitalObjects

        public List<de.digitalcollections.model.identifiable.entity.DigitalObject> getRandomDigitalObjects​(int count)
                                                                                                    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