[MOBY-guts] biomoby commit

senger@ebi.ac.uk senger at pub.open-bio.org
Tue May 18 10:13:17 UTC 2004


senger
Tue May 18 06:13:17 EDT 2004
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory pub.open-bio.org:/tmp/cvs-serv26265/src/main/org/biomoby/shared

Modified Files:
	Central.java 
Log Message:
improved finding services in MobyCmdLineClient

moby-live/Java/src/main/org/biomoby/shared Central.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/Central.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/Central.java	2004/04/02 16:40:23	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/Central.java	2004/05/18 10:13:17	1.5
@@ -308,6 +308,23 @@
 	throws MobyException;
 
     /**************************************************************************
+     * Find service matching both all non-empty fields in the 'pattern' and
+     * the 'keywords', and take into account also the whole ontology tree:
+     * <p>
+     * @param includeChildrenServiceTypes - if true (which is default)
+     * then it discovers also services that are child types (more
+     * specific) than the service type in 'pattern'
+     * @param includeParentDataTypes - if true (which is default) then
+     * it finds services that operate not only on the input/output
+     * data types defined in 'pattern', but also any ontolological
+     * parent types of that data types
+     *************************************************************************/
+    MobyService[] findService (MobyService pattern, String[] keywords,
+			       boolean includeChildrenServiceTypes,
+			       boolean includeParentDataTypes)
+	throws MobyException;
+
+    /**************************************************************************
      * Call Moby registry's method with given XML as input and return whatever
      * you get back. If 'inputXML' is null or empty, the method is called
      * without any parameters.




More information about the MOBY-guts mailing list