Class PresentationServiceImpl

    • Constructor Detail

      • PresentationServiceImpl

        @Autowired
        public PresentationServiceImpl​(PresentationRepository presentationRepository,
                                       @Autowired(required=false)
                                       PresentationSecurityService presentationSecurityService)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getAnnotationList

        public de.digitalcollections.iiif.model.sharedcanvas.AnnotationList getAnnotationList​(String identifier,
                                                                                              String name,
                                                                                              String canvasId)
                                                                                       throws ResolvingException,
                                                                                              de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                                              InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getAnnotationList in interface PresentationService
        Parameters:
        identifier - unique identifier of the corresponding manifest
        name - unique name of annotation list
        canvasId - name of the corresponding canvas
        Returns:
        AnnotationList specified by name
        Throws:
        ResolvingException - if no annotation list found
        de.digitalcollections.model.exception.ResourceNotFoundException - if annotation list with given name can not be found
        InvalidDataException - if data is corrupted
      • getCollection

        public de.digitalcollections.iiif.model.sharedcanvas.Collection getCollection​(String name)
                                                                               throws ResolvingException,
                                                                                      de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                                      InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getCollection in interface PresentationService
        Parameters:
        name - unique name of collection
        Returns:
        Collection specified by name
        Throws:
        ResolvingException - if no collection found or access disallowed
        de.digitalcollections.model.exception.ResourceNotFoundException - if collection with given name can not be found
        InvalidDataException - if data is corrupted
      • getManifest

        public de.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest​(String identifier)
                                                                           throws ResolvingException,
                                                                                  de.digitalcollections.model.exception.ResourceNotFoundException,
                                                                                  InvalidDataException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getManifest in interface PresentationService
        Parameters:
        identifier - unique id for IIIF resource
        Returns:
        Manifest specifying presentation for IIIF resource
        Throws:
        ResolvingException - if no manifest found or access disallowed
        de.digitalcollections.model.exception.ResourceNotFoundException - if Manifest with given identifier can not be found
        InvalidDataException - if data is corrupted