public interface PresentationRepository
| Modifier and Type | Method and Description |
|---|---|
de.digitalcollections.iiif.model.sharedcanvas.AnnotationList |
getAnnotationList(String identifier,
String name,
String canvasId) |
de.digitalcollections.iiif.model.sharedcanvas.Collection |
getCollection(String name) |
default Instant |
getCollectionModificationDate(String identifier) |
de.digitalcollections.iiif.model.sharedcanvas.Manifest |
getManifest(String identifier) |
default Instant |
getManifestModificationDate(String identifier) |
de.digitalcollections.iiif.model.sharedcanvas.AnnotationList getAnnotationList(String identifier, String name, String canvasId) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException
identifier - unique identifier of the corresponding manifestname - unique name of annotation listcanvasId - name of the corresponding canvasResolvingException - if no annotation list foundde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException - if annotation list with given name can not be foundInvalidDataException - if data is corruptedde.digitalcollections.iiif.model.sharedcanvas.Collection getCollection(String name) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException
name - unique name of collectionResolvingException - in case Collection does not exist or can not be deliveredde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException - if Collection with given name can not be foundInvalidDataException - if collection contains invalid datade.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest(String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException
identifier - unique id for IIIF resourceResolvingException - in case Manifest does not exist or can not be deliveredde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException - if Manifest with given identifier can not be foundInvalidDataException - if manifest contains invalid datadefault Instant getManifestModificationDate(String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
ResolvingExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundExceptiondefault Instant getCollectionModificationDate(String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
ResolvingExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundExceptionCopyright © 2019. All rights reserved.