Science Environment for Ecological Knowledge
Ecoinformatics site parent site of Partnership for Biodiversity Informatics site parent site of SEEK - Home
Science Environment for Ecological Knowledge









 

 

 



TOSAPI Signatures

This is version 11. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


Disclaimer

These APIs will change slightly by early Dec 2004 - do not code directly to them now! I will add a link to the code documentation for complete object descriptions at that time. For the time being, look at the TCS.

Current Query APIs using simple lookup

  • CConcept getConcept(String conceptGuid) throws CTOSException

  • CRelationshipInfo findRelatedConcepts(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache) throws CTOSException

  • CWeightedConcept getBestConcept(CTaxonName name, CAuthority auth) throws CTOSException

  • String getAuthoritativeList(CAuthority auth, String conceptGuid, String targetRankCode) throws CTOSException

  • CConcept getHigherTaxon(CTaxonName name, String targetRankCode, CAuthority authority) throws CTOSException

  • CTaxonName getName(String nameGuid) throws CTOSException

Current Query APIs using Algorithm Matching

  • CWeightedConcept findConcepts(CConcept taxonQuery, String algorithm, float threshold, boolean useCache) throws CTOSException

Current Modification APIs

  • String addConcept(CConcept concept) throws CTOSException

  • String addRelationship(String fromGuid, String toGuid, String relationshipType, CAccordingTo accTo) throws CTOSException

  • CConceptIDPair enterProviderData(String sTESPath, int iHierarchyID) throws CTOSException, SQLException, CParserException

Informational APIs (to get parameters for other queries)

  • AAlgorithmMeta getAlgorithmMetadata() throws CTOSException

  • CAuthority getAuthorities() throws CTOSException



Go to top   More info...   Attach file...
This particular version was published on 22-Nov-2005 06:53:09 PST by KU.stewart.