[MOBY-guts] biomoby commit
    Mark Wilkinson 
    mwilkinson at pub.open-bio.org
       
    Wed Oct 22 11:29:09 EDT 2003
    
    
  
mwilkinson
Wed Oct 22 10:29:09 EDT 2003
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv7066/Perl/MOBY
Modified Files:
	Central.html 
Log Message:
updating documentation for the website
moby-live/Perl/MOBY Central.html,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Perl/MOBY/Central.html	2003/07/18 21:44:55	1.6
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.html	2003/10/22 14:29:09	1.7
@@ -42,7 +42,7 @@
 		<li><a href="#retrievenamespaces">retrieveNamespaces</a></li>
 		<li><a href="#retrieveobject">retrieveObject</a></li>
 		<li><a href="#relationships">Relationships</a></li>
-		<li><a href="#dump">DUMP</a></li>
+		<li><a href="#dump_mysql">DUMP_MySQL</a></li>
 	</ul>
 
 	<li><a href="#internal_object_methods">Internal Object Methods</a></li>
@@ -92,13 +92,11 @@
          die ref $res ? $res->faultstring : $soap->transport->status, "\n";
       };</pre>
 <pre>
- my $reg = $Central->registerService("
- );
- print "success ", $reg->success;
- print "\nmessage ", $reg->message;
- print "\nregistration_id ", $reg->registration_id;
- print "\n\n";</pre>
-<p>----------------------------------------</p>
+ my $NAMES_XML = MOBY::Central->retrieveObjectNames;
+ print $NAMES_XML;
+ # ... do something with the XML
+ 
+----------------------------------------</pre>
 <p>
 </p>
 <hr />
@@ -633,8 +631,24 @@
  Returns   :    see input XML for registerObjectClass
  Input XML :
          <retrieveObjectDefinition>
-                         <objectType>ExistingObjectClassname</objectType>
+                         <obqjectType>ExistingObjectClassname</objectType>
                  </retrieveObjectDefinition></pre>
+<pre>
+ Ouptut XML :
+        <retrieveObjectDefinition>
+            <objectType>NewObjectType</objectType>
+            <Description><![CDATA[
+                    human readable description
+                    of data type]]>
+            </Description>
+            <Relationship relationshipType="RelationshipOntologyTerm">
+               <objectType articleName="SomeName">ExistingObjectType</objectType>
+            </Relationship>
+            ...
+            ...
+            <authURI>owner.URI.here</authURI>
+            <contactEmail>owner at their.address.com</contactEmail>
+        </retrieveObjectDefinition></pre>
 <p>
 </p>
 <h2><a name="retrievenamespaces">retrieveNamespaces</a></h2>
@@ -692,6 +706,7 @@
  input XML :
         <Relationships>
            <objectType>$term</objectType>
+           <expandRelationship>1|0</expandRelationship>
            <relationshipType>$relationship_term</relationshipType>
            ... more relationship types
            ...
@@ -699,6 +714,7 @@
  OR
         <Relationships>
            <serviceType>$term</serviceType>
+           <expandRelationship>1|0</expandRelationship>
            <relationshipType>$relationship_term</relationshipType>
            ... more relationship types
            ...
@@ -728,10 +744,10 @@
   </Relationships></pre>
 <p>
 </p>
-<h2><a name="dump">DUMP</a></h2>
+<h2><a name="dump_mysql">DUMP_MySQL</a></h2>
 <pre>
- Title     :    DUMP
- Usage     :    ($central,$object,$service,$namespace,$relat) = $MOBY->DUMP()
+ Title     :    DUMP_MySQL
+ Usage     :    $SQL = $MOBY->DUMP_MySQL; ($central,$object,$service,$namespace,$relat) = @{$SQL};
  Function  :    return a mysql dump of each of the current MOBY Central databases
  Returns   :    an array of SQL strings that can be used to recreate the database locally
  Args      :    none</pre>
@@ -756,9 +772,7 @@
  Usage     :    @valid = $MOBY->_getValidServices($dbh, $sth_hash, $query)
  Function  :    execute the query in $query to return a non-redundant list of matching services
  Returns   :    list of response strings in wsdl
- Args      :    none
-
-</pre>
+ Args      :    none</pre>
 <p>
 </p>
 <h2><a name="_traverseservicedag">_traverseServiceDAG</a></h2>
@@ -768,9 +782,7 @@
  Function  :    starting from $serviceType, find all child services non-redundantly
                 by traversing the DAG.
  Returns   :    list of Service.id database entries.
- Args      :    none
-
-</pre>
+ Args      :    none</pre>
 <p>
 </p>
 <h2><a name="_traverseobjectdag">_traverseObjectDAG</a></h2>
    
    
More information about the MOBY-guts
mailing list