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

Difference between version 22 and version 12:

Lines 1-2 were replaced by lines 1-2
- !! 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.
+ !! Informational APIs (to get parameters for other queries)
+ * AAlgorithmMetaArray __getAlgorithmMetadata__() throws java.rmi.RemoteException
Lines 4-5 were replaced by line 4
- !! Current Query APIs using simple lookup
- * CConcept __getConcept__(String conceptGuid) throws CTOSException
+ * StringArray __getAlgorithmNames__() throws java.rmi.RemoteException
Line 7 was replaced by line 6
- * CRelationshipInfo __findRelatedConcepts__(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache) throws CTOSException
+ * void __getAlgorithmDetails__(String algorithmName, StringHolder author, StringHolder description) throws java.rmi.RemoteException
Line 9 was replaced by line 8
- * void __findRelatedConceptGuids__(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache, String[] arrGuids, String[] arrRelTypes) throws CTOSException
+ * CAuthorityArray __getAuthorities__() throws java.rmi.RemoteException
Line 11 was replaced by line 10
- * findRelatedConceptGuids
+ * StringArray __getAuthorityNames__() throws java.rmi.RemoteException
Line 13 was replaced by line 12
- * CWeightedConcept[] __getBestConcept__(CTaxonName name, CAuthority auth) throws CTOSException
+ * void __getAuthorityDetails__(String authorityName, StringHolder revision, StringHolder description, StringHolder termsOfUse) throws java.rmi.RemoteException
Line 15 was replaced by lines 14-15
- * String[] __getAuthoritativeList__(CAuthority auth, String conceptGuid, String targetRankCode) throws CTOSException
+ !! Query APIs using simple lookup
+ * CConcept __getConcept__(String conceptGuid) throws java.rmi.RemoteException
Line 17 was replaced by line 17
- * CConcept[] __getHigherTaxon__(CTaxonName name, String targetRankCode, CAuthority authority) throws CTOSException
+ * CTaxonName __getName__(String nameGuid) throws java.rmi.RemoteException
Line 19 was replaced by line 19
- * CTaxonName __getName__(String nameGuid) throws CTOSException
+ * CSpecimen __getSpecimen__(String specimenGuid) throws java.rmi.RemoteException
Line 21 was replaced by line 21
- * String[] getSynonymousNames(String conceptGuid) throws CTOSException
+ * StringArray __getSynonymousNames__(String conceptGuid) throws java.rmi.RemoteException
Line 23 was replaced by line 23
- * CSpecimen __getSpecimen__(String specimenGuid) throws CTOSException
+ * CRelationshipInfo __findRelatedConcepts__(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache) throws java.rmi.RemoteException
Lines 25-26 were replaced by line 25
- !! Current Query APIs using Algorithm Matching
- * CWeightedConcept[] __findConcepts__(CConcept taxonQuery, String algorithm, float threshold, boolean useCache) throws CTOSException
+ * void __findRelatedConceptGuids__(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache, StringHolderArray arrGuids, StringHolderArray arrRelTypes) throws java.rmi.RemoteException
Lines 28-29 were replaced by line 27
- !! Current Modification APIs
- * String __addConcept__(CConcept concept) throws CTOSException
+ * void __getBestConcept__(String name, String authorityName, StringHolderArray arrGuids, FloatHolderArray arrScores) throws CTOSException
Line 31 was replaced by line 29
- * String __addRelationship__(String fromGuid, String toGuid, String relationshipType, CAccordingTo accTo) throws CTOSException
+ * StringArray __getAuthoritativeList__(CAuthority auth, String conceptGuid, String targetRankCode) throws java.rmi.RemoteException
Line 33 was replaced by line 31
- * CConceptIDPair[] __enterProviderData__(String sTESPath, int iHierarchyID) throws CTOSException, SQLException, CParserException
+ * CConceptArray __getHigherTaxon__(CTaxonName name, String targetRankCode, CAuthority authority) throws java.rmi.RemoteException
Lines 35-36 were replaced by lines 33-42
- !! Informational APIs (to get parameters for other queries)
- * AAlgorithmMeta[] __getAlgorithmMetadata__() throws CTOSException
+ * StringArray __getHigherTaxonName__(String name, String targetRankCode, String authorityName) throws java.rmi.RemoteException
+
+ !! Query APIs using Algorithm Matching
+ * CWeightedConceptArray __findConcepts__(CConcept taxonQuery, String algorithm, float threshold, boolean useCache) throws java.rmi.RemoteException
+
+ !! Modification APIs (may not be publicly/universally accessible)
+ * String __addConcept__(CConcept concept) throws java.rmi.RemoteException
+
+ * String __addRelationship__(String fromGuid, String toGuid, String relationshipType, CAccordingTo accTo) throws java.rmi.RemoteException
+
Removed line 38
- * CAuthority[] __getAuthorities__() throws CTOSException

Back to TOSAPI Signatures, or to the Page History.