NAME

MOBY::Adaptor::moby::DataAdapterI - An interface definition for MOBY Central underlying data-stores


SYNOPSIS

 use MOBY::Adaptor::moby::queryapi::mysql  # implements this interface def


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)


AUTHORS

Mark Wilkinson markw_at_ illuminae dot com Dennis Wang oikisai _at_ hotmail dot com BioMOBY Project: http://www.biomoby.org


METHODS

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";     
}

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";     
}

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";     
}

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;