Interface PresentationRepository
-
- All Known Implementing Classes:
PresentationRepositoryImpl
public interface PresentationRepositoryInterface to be implemented by project/user of this library.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description de.digitalcollections.iiif.model.sharedcanvas.AnnotationListgetAnnotationList(java.lang.String identifier, java.lang.String name, java.lang.String canvasId)de.digitalcollections.iiif.model.sharedcanvas.CollectiongetCollection(java.lang.String name)default java.time.InstantgetCollectionModificationDate(java.lang.String identifier)de.digitalcollections.iiif.model.sharedcanvas.ManifestgetManifest(java.lang.String identifier)default java.time.InstantgetManifestModificationDate(java.lang.String identifier)
-
-
-
Method Detail
-
getAnnotationList
de.digitalcollections.iiif.model.sharedcanvas.AnnotationList getAnnotationList(java.lang.String identifier, java.lang.String name, java.lang.String canvasId) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException- Parameters:
identifier- unique identifier of the corresponding manifestname- unique name of annotation listcanvasId- name of the corresponding canvas- Returns:
- AnnotationList specified by name
- Throws:
ResolvingException- 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 corrupted
-
getCollection
de.digitalcollections.iiif.model.sharedcanvas.Collection getCollection(java.lang.String name) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException- Parameters:
name- unique name of collection- Returns:
- Collection specified by name
- Throws:
ResolvingException- 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 data
-
getManifest
de.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest(java.lang.String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException- Parameters:
identifier- unique id for IIIF resource- Returns:
- Manifest specifying presentation for IIIF resource
- Throws:
ResolvingException- 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 data
-
getManifestModificationDate
default java.time.Instant getManifestModificationDate(java.lang.String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException- Throws:
ResolvingExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
-
getCollectionModificationDate
default java.time.Instant getCollectionModificationDate(java.lang.String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException- Throws:
ResolvingExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
-
-