Class GeoBrowserServiceImpl

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, GeoBrowserService

    @Lazy
    @Component
    public class GeoBrowserServiceImpl
    extends Object
    implements GeoBrowserService, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    This is marked as Lazy since we don't use it outside Gemma Web, so it won't be loaded unless it's needed.
    Author:
    pavlidis
    • Constructor Detail

      • GeoBrowserServiceImpl

        public GeoBrowserServiceImpl()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception
      • searchGeoRecords

        public List<GeoRecord> searchGeoRecords​(String searchString,
                                                int start,
                                                int count,
                                                boolean detailed)
                                         throws IOException
        Specified by:
        searchGeoRecords in interface GeoBrowserService
        Parameters:
        searchString - can be null
        start - first record to retrieve
        count - how many records to retrieve
        detailed - if true, more information is retrieved (slow)
        Returns:
        collection of GeoRecords
        Throws:
        IOException