Class DemoPresentationRepositoryImpl

java.lang.Object
de.digitalcollections.iiif.hymir.presentation.backend.PresentationRepositoryImpl
de.digitalcollections.iiif.demo.repository.DemoPresentationRepositoryImpl
All Implemented Interfaces:
de.digitalcollections.iiif.hymir.presentation.backend.api.PresentationRepository

@Primary
@Repository
public class DemoPresentationRepositoryImpl
extends de.digitalcollections.iiif.hymir.presentation.backend.PresentationRepositoryImpl
IIIF Presentation repository for all manifests.
  • Constructor Summary

    Constructors 
    Constructor Description
    DemoPresentationRepositoryImpl()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getResourceJson​(de.digitalcollections.model.api.identifiable.resource.FileResource resource)  
    java.lang.String replaceUrlEndpoints​(java.lang.String json)  
    void setServerUrl​(java.lang.String serverUrl)  

    Methods inherited from class de.digitalcollections.iiif.hymir.presentation.backend.PresentationRepositoryImpl

    getAnnotationList, getCollection, getCollectionModificationDate, getManifest, getManifestModificationDate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getResourceJson

      public java.lang.String getResourceJson​(de.digitalcollections.model.api.identifiable.resource.FileResource resource) throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException, de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
      Overrides:
      getResourceJson in class de.digitalcollections.iiif.hymir.presentation.backend.PresentationRepositoryImpl
      Throws:
      de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
      de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceNotFoundException
    • setServerUrl

      public void setServerUrl​(java.lang.String serverUrl)
    • replaceUrlEndpoints

      public java.lang.String replaceUrlEndpoints​(java.lang.String json)