@Repository public class PresentationRepositoryImpl extends Object implements PresentationRepository
| Constructor and Description |
|---|
PresentationRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
de.digitalcollections.iiif.model.sharedcanvas.Collection |
getCollection(String name) |
Instant |
getCollectionModificationDate(String identifier) |
de.digitalcollections.iiif.model.sharedcanvas.Manifest |
getManifest(String identifier) |
Instant |
getManifestModificationDate(String identifier) |
protected String |
getResourceJson(URI resourceUri) |
public de.digitalcollections.iiif.model.sharedcanvas.Collection getCollection(String name) throws ResolvingException
getCollection in interface PresentationRepositoryname - unique name of collectionResolvingException - in case Collection does not exist or can not be deliveredpublic de.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest(String identifier) throws ResolvingException
getManifest in interface PresentationRepositoryidentifier - unique id for IIIF resourceResolvingException - in case Manifest does not exist or can not be deliveredpublic Instant getManifestModificationDate(String identifier) throws ResolvingException
getManifestModificationDate in interface PresentationRepositoryResolvingExceptionpublic Instant getCollectionModificationDate(String identifier) throws ResolvingException
getCollectionModificationDate in interface PresentationRepositoryResolvingExceptionprotected String getResourceJson(URI resourceUri) throws ResolvingException
ResolvingExceptionCopyright © 2018. All rights reserved.