MOBY
view release on metacpan or search on metacpan
lib/MOBY/Adaptor/moby/DataAdapterI.pm view on Meta::CPAN
=head1 SYNOPSIS
use MOBY::Adaptor::moby::queryapi::mysql # implements this interface def
=cut
=head1 DESCRIPTION
This is an interface definition. There is NO implementation in this module
with the exception that certain calls to required parameters have get/setter
functions in this module (that can be overridden)
=head1 AUTHORS
Mark Wilkinson markw_at_ illuminae dot com
Dennis Wang oikisai _at_ hotmail dot com
BioMOBY Project: http://www.biomoby.org
=cut
=head1 METHODS
=head2 create
Title : create
Usage : my $un = $API->create(%args)
Function : create an Object and register it into mobycentral
Args :
Returns : 1 if creation was successful
0 otherwise
=cut
sub create{
die "create not implemented in the DataAdapterI Interface file.\n";
}
=cut
=head2 delete
Title : delete
Usage : my $un = $API->delete(%args)
Function : delete an Object from mobycentral
Args :
Returns : 1 if deletion was successful
0 otherwise
=cut
sub delete{
die "delete not implemented in the DataAdapterI Interface file.\n";
}
=head2 update
Title : update
Usage : my $un = $API->update(%args)
Function : update an Object in mobycentral
Args :
Returns : 1 if the update was successful
0 otherwise
=cut
sub update{
die "update not implemented in the DataAdapterI Interface file.\n";
}
=head2 query
Title : query
Usage : my $un = $API->query(%args)
Function : retrieve an Object from mobycentral
Args :
Returns : 1 if deletion was successful
0 otherwise
=cut
sub query{
die "query not implemented in the DataAdapterI Interface file.\n";
}
1;
( run in 0.482 second using v1.01-cache-2.11-cpan-39bf76dae61 )