LS::Service::DataService - Data service for LSID resolution


lsid-perl documentation  | view source Contained in the lsid-perl distribution.

Index


NAME

Top

LS::Service::DataService - Data service for LSID resolution

SYNOPSIS

Top

 my $ns = LS::Service::Namespace->new;

 my $metadata_or_data = new LS::Service::DataService;
 $metadata_or_data->addNamespace(new LS::Service::Namespace( $ns );

DESCRIPTION

Top

This class provides support for acquiring the data or metadata for a list of namespaces.

CONSTRUCTORS

Top

new ( %options )

No options.

METHODS

Top

addNamespace ( $LS::Service::Namespace )

Adds a namespace that the data service knows of. Whenever getData or getMetadata is called, the service will dispatch the call to the correct namespace. If the namespace does not exist an erro will be returned.

authenticate ( @credentials )

Reserved.

getData ( $lsid )

This call will attempt to dispatch the request to the appropriate namespace and will return the value (the data for the LSID) to the caller.

getMetadata ( $lsid, $accepted_formats )

This call will attempt to dispatch the request to the appropriate namespace and will return the value (the data for the LSID) to the caller.

COPYRIGHT

Top


lsid-perl documentation  | view source Contained in the lsid-perl distribution.