Class AbstractResourceService

    • Field Detail

      • IIIF_ENDPOINT

        protected String IIIF_ENDPOINT
        These values are defined in dspace configuration.
      • IMAGE_SERVICE

        protected String IMAGE_SERVICE
      • SEARCH_URL

        protected String SEARCH_URL
      • CLIENT_URL

        protected String CLIENT_URL
      • IIIF_LOGO_IMAGE

        protected String IIIF_LOGO_IMAGE
      • BITSTREAM_PATH_PREFIX

        protected String BITSTREAM_PATH_PREFIX
      • DEFAULT_CANVAS_WIDTH

        protected int DEFAULT_CANVAS_WIDTH
      • DEFAULT_CANVAS_HEIGHT

        protected int DEFAULT_CANVAS_HEIGHT
      • DOCUMENT_VIEWING_HINT

        protected static String DOCUMENT_VIEWING_HINT
        Possible values: "paged" or "individuals". The property value is set in dspace configuration.
      • defaultCanvasWidthFallback

        protected static Integer defaultCanvasWidthFallback
      • defaultCanvasHeightFallback

        protected static Integer defaultCanvasHeightFallback
    • Constructor Detail

      • AbstractResourceService

        public AbstractResourceService()
    • Method Detail

      • setConfiguration

        protected void setConfiguration​(org.dspace.services.ConfigurationService configurationService)
        Set constants using DSpace configuration definitions.
        Parameters:
        configurationService - the DSpace configuration service
      • setDefaultCanvasDimensions

        protected void setDefaultCanvasDimensions()
      • getManifestId

        protected String getManifestId​(UUID uuid)
        Creates the manifest id from the provided uuid.
        Parameters:
        uuid - the item id
        Returns:
        the manifest identifier (url)