[MOBY-guts] biomoby commit

Dennis Wang dwang at pub.open-bio.org
Fri Aug 26 21:33:24 UTC 2005


dwang
Fri Aug 26 17:33:24 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby
In directory pub.open-bio.org:/tmp/cvs-serv9530/Perl/MOBY/Adaptor/moby

Modified Files:
	queryapi.pm 
Log Message:
formated documentation spacing

moby-live/Perl/MOBY/Adaptor/moby queryapi.pm,1.27,1.28
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm	2005/08/04 02:12:52	1.27
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm	2005/08/26 21:33:24	1.28
@@ -299,7 +299,7 @@
  Args      :    service_lsid => String
  Returns   :    listref of hashrefs:
                 [{collection_input_id => Integer
-                article_name        => String}, ...]
+                  article_name        => String}, ...]
 		one hashref for each collection that service consumes
  Notes     : the fact that it returns a collection_input_id is bad since this
              is only useful to an SQL-based API...
@@ -314,7 +314,7 @@
  Usage     :	my $un = $API->insert_collection_input(%args)
  Function  :	Inserts a Collection input into the database
  Args      :   	article_name           => String,
-				service_instance_lsid  => String,				
+		service_instance_lsid  => String,				
  Returns   :    Integer insertid
  Notes     : 	the fact that it returns an insertid is bad since this
              	is only useful to an SQL-based API...
@@ -330,8 +330,8 @@
  Function  :	Deletes Collection inputs according to the service instance
  Args      :    service_instance_lsid => String,
  Returns   :    ($err, $errstr)
- 				$err = 1 if there was an delete error, 0 if successful
- 				$errstr = String error message if there was an error	
+ 		$err = 1 if there was an delete error, 0 if successful
+ 		$errstr = String error message if there was an error	
  
 =cut
 sub delete_collection_input{
@@ -348,9 +348,9 @@
  Function  :	Executes a query for Collection outputs according to the service instance
  Args      :    service_instance_lsid => String,				
  Returns   :    listref of hashrefs:
- 				[{collection_output_id => Integer,
-      			article_name		 => String,
-      			service_instance_id	 => Integer}, ...]
+ 		[{collection_output_id => Integer,
+      		article_name	       => String,
+      		service_instance_id    => Integer}, ...]
  Notes     : 	Only allows querying by lsid or type term, so service_instance_id is retrieved from lsid or term
 =cut
 sub query_collection_output{
@@ -363,7 +363,7 @@
  Usage     :	my $un = $API->insert_collection_output(%args)
  Function  :	Inserts a Collection output into the database
  Args      :   	article_name           => String,
-				service_instance_lsid  => String,				
+		service_instance_lsid  => String,				
  Returns   :    Integer insertid
  Notes     : 	the fact that it returns an insertid is bad since this
              	is only useful to an SQL-based API...
@@ -387,8 +387,8 @@
  Function  :	Deletes Collection outputs according to the service instance
  Args      :    service_instance_lsid => String,
  Returns   :    ($err, $errstr)
- 				$err = 1 if there was an delete error, 0 if successful
- 				$errstr = String error message if there was an error	
+ 		$err = 1 if there was an delete error, 0 if successful
+ 		$errstr = String error message if there was an error	
  
 =cut
 sub delete_collection_output{
@@ -406,12 +406,12 @@
  Args      :    service_instance_lsid => String,
  				collection_input_id  => Integer
  Returns   :    listref of hashrefs:
- 				[{simple_input_id 	 => Integer,
-      			object_type_uri		 => String,
-     		 	namespace_type_uris	 => String,
-      			article_name		 => String,
-      			service_instance_id	 => Integer,
-      			collection_input_id => Integer}, ...]
+ 		[{simple_input_id 	 => Integer,
+      		object_type_uri		 => String,
+     		namespace_type_uris	 => String,
+      		article_name		 => String,
+      		service_instance_id	 => Integer,
+      		collection_input_id      => Integer}, ...]
  Notes     : 	Only allows querying by lsid or type term, so service_instance_id is retrieved from lsid or term
 =cut
 sub query_simple_input{
@@ -424,10 +424,10 @@
  Usage     :	my $un = $API->insert_simple_input(%args)
  Function  :	Inserts a Simple input into the database
  Args      :    object_type_uri        => String,
-				namespace_type_uris    => String,
-				article_name           => String,
-				service_instance_lsid  => String,
-				collection_input_id   => Integer
+		namespace_type_uris    => String,
+		article_name           => String,
+		service_instance_lsid  => String,
+		collection_input_id    => Integer
  Returns   :    Integer insertid
  Notes     : 	the fact that it returns an insertid is bad since this
              	is only useful to an SQL-based API...
@@ -444,8 +444,8 @@
  Args      :    service_instance_lsid => String,
  				collection_input_id => Integer
  Returns   :    ($err, $errstr)
- 				$err = 1 if there was an delete error, 0 if successful
- 				$errstr = String error message if there was an error	
+ 		$err = 1 if there was an delete error, 0 if successful
+ 		$errstr = String error message if there was an error	
  
 =cut
 sub delete_simple_input{
@@ -463,12 +463,12 @@
  Args      :    service_instance_lsid => String,
  				collection_output_id  => Integer
  Returns   :    listref of hashrefs:
- 				[{simple_output_id 	 => Integer,
-      			object_type_uri		 => String,
-     		 	namespace_type_uris	 => String,
-      			article_name		 => String,
-      			service_instance_id	 => Integer,
-      			collection_output_id => Integer}, ...]
+ 		[{simple_output_id 	 => Integer,
+      		object_type_uri		 => String,
+     		namespace_type_uris	 => String,
+      		article_name		 => String,
+      		service_instance_id	 => Integer,
+      		collection_output_id     => Integer}, ...]
  Notes     : 	Only allows querying by lsid or type term, so service_instance_id is retrieved from lsid or term
 =cut
 sub query_simple_output{
@@ -481,10 +481,10 @@
  Usage     :	my $un = $API->insert_simple_output(%args)
  Function  :	Inserts a Simple output into the database
  Args      :    object_type_uri        => String,
-				namespace_type_uris    => String,
-				article_name           => String,
-				service_instance_lsid  => String,
-				collection_output_id   => Integer
+		namespace_type_uris    => String,
+		article_name           => String,
+		service_instance_lsid  => String,
+		collection_output_id   => Integer
  Returns   :    Integer insertid
  Notes     : 	the fact that it returns an insertid is bad since this
              	is only useful to an SQL-based API...
@@ -501,8 +501,8 @@
  Args      :    service_instance_lsid => String,
  				collection_output_id => Integer
  Returns   :    ($err, $errstr)
- 				$err = 1 if there was an delete error, 0 if successful
- 				$errstr = String error message if there was an error	
+ 		$err = 1 if there was an delete error, 0 if successful
+ 		$errstr = String error message if there was an error	
  
 =cut
 sub delete_simple_output{
@@ -517,14 +517,14 @@
  Function  :	Executes a query for Secondary input articles in the database
  Args      :    service_instance_lsid => String
  Returns   :    listref of hashrefs:
- 				[{secondary_input_id => Integer,
-      			default_value		 => String,
-      			maximum_value		 => Float,
-     		 	minimum_value		 => Float,
-     			enum_value			 => String,
-      			datatype			 => String,
-      			article_name		 => String,
-      			service_instance_id  => Integer}, ...]
+ 		[{secondary_input_id => Integer,
+      		default_value	     => String,
+      		maximum_value	     => Float,
+     		minimum_value	     => Float,
+     		enum_value	     => String,
+      		datatype	     => String,
+      		article_name	     => String,
+      		service_instance_id  => Integer}, ...]
  Notes     : 	Only allows querying by lsid or type term, so service_instance_id is retrieved from lsid or term
 =cut
 sub query_secondary_input{
@@ -537,12 +537,12 @@
  Usage     :	my $un = $API->insert_secondar_input(%args)
  Function  :	Inserts a Secondary input into the database
  Args      :    default_value 		  => String,
-				maximum_value 		  => Float,
-				minimum_value 		  => Float,
-				enum_value 			  => String,
-				datatype 			  => String,
-				article_name 		  => String,
-				service_instance_lsid => String
+		maximum_value 		  => Float,
+		minimum_value 		  => Float,
+		enum_value 	       	  => String,
+		datatype 	       	  => String,
+		article_name 		  => String,
+		service_instance_lsid     => String
  Returns   :    Integer insertid
  Notes     : 	the fact that it returns an insertid is bad since this
              	is only useful to an SQL-based API...




More information about the MOBY-guts mailing list