| 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 sConceptID, int iHierarchyID, boolean bUseCacheFlag) throws CDBException, CConceptException, SQLException |
| + * StringArray __getAlgorithmNames__() throws java.rmi.RemoteException |
| Line 7 was replaced by line 6 |
| - * CRelatedConcept[] __findRelatedConcepts__(String sConceptID, int[] oHierarchyIDs, String sRelationshipType, int iDistance, boolean bUseCacheFlag) throws SQLException, CDBException, CConceptException, IllegalArgumentException |
| + * void __getAlgorithmDetails__(String algorithmName, StringHolder author, StringHolder description) throws java.rmi.RemoteException |
| Line 9 was replaced by line 8 |
| - * float __measureRelationship__(String sConceptID1, String sConceptID2, int[] oHierarchyIDs, String sRelationshipType, int iDistance, boolean bUseCacheFlag) throws SQLException, CDBException, CConceptException, IllegalArgumentException |
| + * CAuthorityArray __getAuthorities__() throws java.rmi.RemoteException |
| Line 11 was replaced by line 10 |
| - * CNode[] __getTree__(String sConceptID, String sXMLDesc, int iHierarchyID, boolean bUseCacheFlag) throws CDBException, SQLException |
| + * StringArray __getAuthorityNames__() throws java.rmi.RemoteException |
| Lines 13-14 were replaced by line 12 |
| - !! Current Query APIs using Matching |
| - * CWeightedConcept[] __findConcepts__(CConcept taxonQuery, String algorithm, float threshold, boolean useCache) throws CTOSException |
| + * void __getAuthorityDetails__(String authorityName, StringHolder revision, StringHolder description, StringHolder termsOfUse) throws java.rmi.RemoteException |
| Line 16 was replaced by lines 14-15 |
| - * float __compareConcepts__(String sConceptID1, int iHierarchyID1, String sConceptID2, int iHierarchyID2, String sSimilarityAlgorithm, boolean bUseCacheFlag) throws CConceptException, CDBException, CAlgorithmException, SQLException |
| + !! Query APIs using simple lookup |
| + * CConcept __getConcept__(String conceptGuid) throws java.rmi.RemoteException |
| Lines 18-19 were replaced by line 17 |
| - !! Current Modification APIs |
| - * String __addConcept__(CConcept concept) throws CTOSException |
| + * CTaxonName __getName__(String nameGuid) throws java.rmi.RemoteException |
| Line 21 was replaced by line 19 |
| - * String __addRelationship__(String fromGuid, String toGuid, String relationshipType, CAccordingTo accTo) throws CTOSException |
| + * CSpecimen __getSpecimen__(String specimenGuid) throws java.rmi.RemoteException |
| Line 23 was replaced by line 21 |
| - * CConceptIDPair[] __enterProviderData__(String sTESPath, int iHierarchyID) throws CTOSException, SQLException, CParserException |
| + * StringArray __getSynonymousNames__(String conceptGuid) throws java.rmi.RemoteException |
| Lines 25-26 were replaced by lines 23-43 |
| - !! This one is going away! |
| - * float __compareConceptRelationships__(String sConceptID1, int iHierarchyID1, String sConceptID2, int iHierarchyID2, String sRelateAlgorithm, boolean bUseCacheFlag) throws Exception |
| + * CRelationshipInfo __findRelatedConcepts__(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache) throws java.rmi.RemoteException |
| + |
| + * void __findRelatedConceptGuids__(String conceptGuid, String relationshipType, boolean includeAssertions, boolean useCache, StringHolderArray arrGuids, StringHolderArray arrRelTypes) throws java.rmi.RemoteException |
| + |
| + * void __getBestConcept__(String name, String authorityName, StringHolderArray arrGuids, FloatHolderArray arrScores) throws CTOSException |
| + |
| + * StringArray __getAuthoritativeList__(CAuthority auth, String conceptGuid, String targetRankCode) throws java.rmi.RemoteException |
| + |
| + * CConceptArray __getHigherTaxon__(CTaxonName name, String targetRankCode, CAuthority authority) throws java.rmi.RemoteException |
| + |
| + * 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 |
| + |
| + |