@Service public class PresentationServiceImpl extends Object implements PresentationService
| Constructor and Description |
|---|
PresentationServiceImpl(PresentationRepository presentationRepository,
PresentationSecurityService presentationSecurityService) |
| 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) |
Instant |
getCollectionModificationDate(String identifier) |
de.digitalcollections.iiif.model.sharedcanvas.Manifest |
getManifest(String identifier) |
Instant |
getManifestModificationDate(String identifier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyAttributionInfo, getCanvas, getCanvas, getRange, getRange, getSequence, getSequence@Autowired public PresentationServiceImpl(PresentationRepository presentationRepository, @Autowired(required=false) PresentationSecurityService presentationSecurityService)
public de.digitalcollections.iiif.model.sharedcanvas.AnnotationList getAnnotationList(String identifier, String name, String canvasId) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException
getAnnotationList in interface PresentationServicename - unique name of annotation listResolvingException - 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 corruptedpublic de.digitalcollections.iiif.model.sharedcanvas.Collection getCollection(String name) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException
getCollection in interface PresentationServicename - unique name of collectionResolvingException - if no collection found or access disallowedde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException - if collection with given name can not be foundInvalidDataException - if data is corruptedpublic de.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest(String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException, InvalidDataException
getManifest in interface PresentationServiceidentifier - unique id for IIIF resourceResolvingException - if no manifest found or access disallowedde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException - if Manifest with given identifier can not be foundInvalidDataException - if data is corruptedpublic Instant getManifestModificationDate(String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
getManifestModificationDate in interface PresentationServiceResolvingExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundExceptionpublic Instant getCollectionModificationDate(String identifier) throws ResolvingException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
getCollectionModificationDate in interface PresentationServiceResolvingExceptionde.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundExceptionCopyright © 2019. All rights reserved.