public interface PresentationRepository
| Modifier and Type | Method and Description |
|---|---|
Collection |
getCollection(String name) |
Collection |
getCollection(URI collectionUri) |
Manifest |
getManifest(String identifier) |
Manifest |
getManifest(URI manifestUri) |
org.json.simple.JSONObject |
getResourceAsJsonObject(String resourceUri) |
org.json.simple.JSONObject |
getResourceAsJsonObject(URI resourceUri) |
String |
getResourceJson(URI resourceUri) |
Collection getCollection(String name) throws NotFoundException
name - unique name of collectionNotFoundException - in case Collection does
not exist or can not be deliveredCollection getCollection(URI collectionUri) throws NotFoundException
NotFoundExceptionManifest getManifest(String identifier) throws NotFoundException
identifier - unique id for IIIF resourceNotFoundException - in case Manifest does not
exist or can not be deliveredManifest getManifest(URI manifestUri) throws NotFoundException
NotFoundExceptionString getResourceJson(URI resourceUri) throws NotFoundException
NotFoundExceptionorg.json.simple.JSONObject getResourceAsJsonObject(URI resourceUri) throws NotFoundException, org.json.simple.parser.ParseException
NotFoundExceptionorg.json.simple.parser.ParseExceptionorg.json.simple.JSONObject getResourceAsJsonObject(String resourceUri) throws NotFoundException, org.json.simple.parser.ParseException
NotFoundExceptionorg.json.simple.parser.ParseExceptionCopyright © 2017. All rights reserved.