Interface GeoBrowserService
-
- All Known Implementing Classes:
GeoBrowserServiceImpl
public interface GeoBrowserService
- Author:
- paul
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDetails(String accession, String contextPath)
Get details from GEO about an accession.List<GeoRecord>
getRecentGeoRecords(int start, int count)
List<GeoRecord>
searchGeoRecords(String searchString, int start, int count, boolean detailed)
boolean
toggleUsability(String accession)
-
-
-
Method Detail
-
getDetails
String getDetails(String accession, String contextPath) throws IOException
Get details from GEO about an accession.- Parameters:
accession
- accession- Returns:
- details
- Throws:
IOException
- if there is a problem while manipulating the file
-
getRecentGeoRecords
List<GeoRecord> getRecentGeoRecords(int start, int count) throws IOException, ParseException
- 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
boolean toggleUsability(String accession)
-
-