|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gcube.data.spd.itis.Utils
public class Utils
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static Calendar |
getCalendar(String date)
|
static List<org.gcube.data.spd.plugin.fwk.model.CommonName> |
getCommonNameFromId(String id)
Get a list of common names from a id |
static org.gcube.data.spd.plugin.fwk.model.Taxon |
getHierarchyFromId(String id)
Get Hierarchy by ID (return Taxon) |
static org.gcube.data.spd.plugin.fwk.model.TaxonomyItem |
getHierarchyTaxFromId(String id)
Get Hierarchy by ID (return TaxonomyItem) |
static String |
getInfoFromId(String id,
String type)
Get information (author or rank) by Id |
static void |
retrieveTaxa(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> writer,
String name,
String type)
Retrive taxa |
static void |
searchByTsn(String tsn,
org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.plugin.fwk.model.ResultItem> writer,
String completeName,
String type,
String id)
Search by id (if you are looking for a common name) or search by scientific name |
static org.gcube.data.spd.plugin.fwk.model.TaxonomyStatus |
setTaxonomyStatus(String status,
String notes,
String id)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static void searchByTsn(String tsn,
org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.plugin.fwk.model.ResultItem> writer,
String completeName,
String type,
String id)
public static org.gcube.data.spd.plugin.fwk.model.Taxon getHierarchyFromId(String id)
public static org.gcube.data.spd.plugin.fwk.model.TaxonomyItem getHierarchyTaxFromId(String id)
public static org.gcube.data.spd.plugin.fwk.model.TaxonomyStatus setTaxonomyStatus(String status,
String notes,
String id)
public static List<org.gcube.data.spd.plugin.fwk.model.CommonName> getCommonNameFromId(String id)
public static String getInfoFromId(String id,
String type)
public static Calendar getCalendar(String date)
public static void retrieveTaxa(org.gcube.data.spd.plugin.fwk.writers.ObjectWriter<org.gcube.data.spd.plugin.fwk.model.TaxonomyItem> writer,
String name,
String type)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||