[MOBY-guts] biomoby commit

Dennis Wang dwang at pub.open-bio.org
Mon Jul 25 23:43:43 UTC 2005


dwang
Mon Jul 25 19:43:43 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby
In directory pub.open-bio.org:/tmp/cvs-serv22279/Perl/MOBY/Adaptor/moby

Modified Files:
	queryapi.pm 
Log Message:
more documentation

moby-live/Perl/MOBY/Adaptor/moby queryapi.pm,1.11,1.12
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm	2005/07/25 23:31:56	1.11
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm	2005/07/25 23:43:43	1.12
@@ -559,6 +559,19 @@
 	die "checkClassUsedByService not implemented in adaptor\n";
 }
 
+=head2 checkNamespaceUsedByService
+
+ Title     :	checkNamespaceUsedByService
+ Usage     :	my $un = $API->checkNamespaceUsedByService(%args)
+ Function  :	Execute a custom query for namespaces that are used by some service
+ Args      :    namespace_type_uris => String - namespace_type_uris you are checking for
+				term => String - the type of the namespace
+ Returns   :    a list:
+ 				($err, $errstr)
+ 				$err = 1 if namespace is used by a service, 0 otherwise
+ 				$errstr = contains the error message 
+ 
+=cut
 # custom query routine for Moby::Central.pm -> deregisterNamespace()
 sub checkNamespaceUsedByService{
 	die "checkNamespaceUsedByService not implemented in adaptor\n";




More information about the MOBY-guts mailing list