Class AnnotationListService


  • @RequestScope
    @Component
    public class AnnotationListService
    extends AbstractResourceService
    This service provides methods for creating an Annotation List. There should be a single instance of this service per request. The @RequestScope provides a single instance created and available during complete lifecycle of the HTTP request.
    Author:
    Michael Spalti mspalti@willamette.edu, Andrea Bollini (andrea.bollini at 4science.it)
    • Constructor Detail

      • AnnotationListService

        public AnnotationListService​(org.dspace.services.ConfigurationService configurationService)
    • Method Detail

      • getSeeAlsoAnnotations

        public String getSeeAlsoAnnotations​(Context context,
                                            UUID id)
                                     throws RuntimeException
        Returns an AnnotationList for bitstreams in the OtherContent bundle. These resources are not appended directly to the manifest but can be accessed via the seeAlso link. The semantics of this linking property may be extended to full text files, but machine readable formats like ALTO, METS, and schema.org descriptions are preferred.
        Parameters:
        context - DSpace context
        id - bitstream uuid
        Returns:
        AnnotationList as JSON
        Throws:
        RuntimeException