Interface GeoBrowserService
- All Known Implementing Classes:
GeoBrowserServiceImpl
public interface GeoBrowserService
- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptiongetDetails
(String accession, String contextPath) Get details from GEO about an accession.getRecentGeoRecords
(int start, int count) searchGeoRecords
(String searchString, int start, int count, boolean detailed) boolean
toggleUsability
(String accession)
-
Method Details
-
getDetails
Get details from GEO about an accession.- Parameters:
accession
- accession- Returns:
- details
- Throws:
IOException
- if there is a problem while manipulating the file
-
getRecentGeoRecords
- Parameters:
start
- page number, not starting recordcount
- page size- Returns:
- geo records
- Throws:
IOException
- if there is a problem while manipulating the fileParseException
- if there is a problem with parsing
-
searchGeoRecords
List<GeoRecord> searchGeoRecords(@Nullable String searchString, int start, int count, boolean detailed) throws IOException - Parameters:
searchString
- can be nullstart
- first record to retrievecount
- how many records to retrievedetailed
- if true, more information is retrieved (slow)- Returns:
- collection of GeoRecords
- Throws:
IOException
-
toggleUsability
-