NAME
Data::Beacon::Collection - Abstract collection of named BEACON link sets.
DESCRIPTION
Actually this class represents a hash that stores Beacon objects.
The current implementation is only a dummy.
See Data::Beacon::Collection::DBI and Data::Beacon::Collection::Files for implementation drafts.
METHODS
new ( { param => value ... } )
Create a new Beacon collection. Up to know only collections in a database (Data::Beacon::Collection::DBI) are supported, so you must specify at least parameter dbi
or this method will croak.
get ( $name )
Get a named Beacon.
insert ( $name, $beacon )
Insert a named Beacon. This method works as 'upsert', that means you can replace or add a Beacon.
remove ( $name )
Remove a named Beacon.
list ( [ %meta ] )
List the names of all namad Beacons. Optionally you can ask for specific meta fields that must match.
AUTHOR
Jakob Voss <jakob.voss@gbv.de>
LICENSE
Copyright (C) 2010 by Verbundzentrale Goettingen (VZG) and Jakob Voss
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
In addition you may fork this library under the terms of the GNU Affero General Public License.