Class RangeService


  • @RequestScope
    @Component
    public class RangeService
    extends AbstractResourceService
    This service provides methods for creating a Range. 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

      • RangeService

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

      • getRangeReference

        public RangeGenerator getRangeReference​(RangeGenerator range)
        Ranges expect the Sub range object to have only an identifier.
        Parameters:
        range - the sub range to reference
        Returns:
        RangeGenerator able to create the reference