[MOBY-guts] biomoby commit
Mark Wilkinson
mwilkinson at pub.open-bio.org
Mon Jul 25 18:17:45 UTC 2005
mwilkinson
Mon Jul 25 14:17:44 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby
In directory pub.open-bio.org:/tmp/cvs-serv20619/MOBY/Adaptor/moby
Modified Files:
queryapi.pm
Log Message:
changing the adaptor API to be more perlish. Pass the service LSID rather than the database key to be more generic
moby-live/Perl/MOBY/Adaptor/moby queryapi.pm,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm 2005/07/25 17:50:02 1.6
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm 2005/07/25 18:17:44 1.7
@@ -281,6 +281,21 @@
#
# collection_input table functions
#
+
+=head2 query_collection_input
+
+ Title : query_collection_input
+ Usage : my $un = $API->query_collection_input(%arg)
+ Function : get the collection input information for a given service
+ Args : service_lsid => String
+ Returns : listref of hashrefs:
+ [{collection_input_id => Integer
+ 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...
+=cut
+
sub query_collection_input{
die "query_collection_input not implemented in adaptor\n";
}
More information about the MOBY-guts
mailing list