Class PresentationServiceImpl
- java.lang.Object
-
- de.digitalcollections.iiif.hymir.presentation.business.PresentationServiceImpl
-
- All Implemented Interfaces:
PresentationService
@Service @Deprecated(forRemoval=true) public class PresentationServiceImpl extends Object implements PresentationService
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Summary
Constructors Constructor Description PresentationServiceImpl(PresentationRepository presentationRepository, PresentationSecurityService presentationSecurityService)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description de.digitalcollections.iiif.model.sharedcanvas.AnnotationListgetAnnotationList(String identifier, String name, String canvasId)Deprecated, for removal: This API element is subject to removal in a future version.de.digitalcollections.iiif.model.sharedcanvas.CollectiongetCollection(String name)Deprecated, for removal: This API element is subject to removal in a future version.InstantgetCollectionModificationDate(String identifier)Deprecated, for removal: This API element is subject to removal in a future version.de.digitalcollections.iiif.model.sharedcanvas.ManifestgetManifest(String identifier)Deprecated, for removal: This API element is subject to removal in a future version.InstantgetManifestModificationDate(String identifier)Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.digitalcollections.iiif.hymir.presentation.business.api.PresentationService
copyAttributionInfo, getCanvas, getCanvas, getRange, getRange, getSequence, getSequence
-
-
-
-
Constructor Detail
-
PresentationServiceImpl
@Autowired public PresentationServiceImpl(PresentationRepository presentationRepository, @Autowired(required=false) PresentationSecurityService presentationSecurityService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getAnnotationList
public de.digitalcollections.iiif.model.sharedcanvas.AnnotationList getAnnotationList(String identifier, String name, String canvasId) throws ResolvingException, de.digitalcollections.model.exception.ResourceNotFoundException, InvalidDataException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAnnotationListin interfacePresentationService- 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.exception.ResourceNotFoundException- if annotation list with given name can not be foundInvalidDataException- if data is corrupted
-
getCollection
public de.digitalcollections.iiif.model.sharedcanvas.Collection getCollection(String name) throws ResolvingException, de.digitalcollections.model.exception.ResourceNotFoundException, InvalidDataException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getCollectionin interfacePresentationService- Parameters:
name- unique name of collection- Returns:
- Collection specified by name
- Throws:
ResolvingException- if no collection found or access disallowedde.digitalcollections.model.exception.ResourceNotFoundException- if collection with given name can not be foundInvalidDataException- if data is corrupted
-
getManifest
public de.digitalcollections.iiif.model.sharedcanvas.Manifest getManifest(String identifier) throws ResolvingException, de.digitalcollections.model.exception.ResourceNotFoundException, InvalidDataException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getManifestin interfacePresentationService- Parameters:
identifier- unique id for IIIF resource- Returns:
- Manifest specifying presentation for IIIF resource
- Throws:
ResolvingException- if no manifest found or access disallowedde.digitalcollections.model.exception.ResourceNotFoundException- if Manifest with given identifier can not be foundInvalidDataException- if data is corrupted
-
getManifestModificationDate
public Instant getManifestModificationDate(String identifier) throws ResolvingException, de.digitalcollections.model.exception.ResourceNotFoundException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getManifestModificationDatein interfacePresentationService- Throws:
ResolvingExceptionde.digitalcollections.model.exception.ResourceNotFoundException
-
getCollectionModificationDate
public Instant getCollectionModificationDate(String identifier) throws ResolvingException, de.digitalcollections.model.exception.ResourceNotFoundException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getCollectionModificationDatein interfacePresentationService- Throws:
ResolvingExceptionde.digitalcollections.model.exception.ResourceNotFoundException
-
-