public interface SpeciesLookupService
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceptedNameForGuid(String guid)
Lookup the accepted name for a GUID
|
String |
getGuidForName(String name)
Lookup a GUID for a given scientific name (returns best match/accepted concept)
|
String[] |
getHeaderDetails(String field,
boolean includeCounts,
boolean includeSynonyms)
Returns the header fields to use based on the species lookup service.
|
List<String> |
getNamesForGuids(List<String> guids)
Lookup service for list of guids to names
|
List<String[]> |
getSpeciesDetails(List<String> guids,
List<Long> counts,
boolean includeCounts,
boolean includeSynonyms)
Retrieves an list of arrays that contains the information that need to be included in the CSV details.
|
String getGuidForName(String name)
name - String getAcceptedNameForGuid(String guid)
List<String> getNamesForGuids(List<String> guids)
guids - List<String[]> getSpeciesDetails(List<String> guids, List<Long> counts, boolean includeCounts, boolean includeSynonyms)
guids - The guild/lsids for the species to get the details aboutcounts - The corresponding countsincludeCounts - whether or not to included the count in the details rowincludeSynonyms - whether or not whether or not synonyms should be included in the details rowString[] getHeaderDetails(String field, boolean includeCounts, boolean includeSynonyms)
field - The field name that is causing the lookup to occur.includeCounts - whether or not counts should be included in the headerincludeSynonyms - whether or not synonyms should be included in the headerCopyright © 2014. All rights reserved.