NAME
DBIx::Changeset::Collection - Factory Interface to a collection of changeset files
SYNOPSIS
Factory Interface to a collection of changeset files
Perhaps a little code snippet.
use DBIx::Changeset::Collection;
my $foo = DBIx::Changeset::Collection->new('type', $opts);
...
$foo->find_all();
ATTRIBUTES
INTERFACE
retrieve_all This is the find_all interface to implement in your own class
retrieve_like This is the find_like interface to implement in your own class
add_changeset This is the add_changeset interface implement in your own class creates a new record based on uri and adds to end of current file list
METHODS
init Called automatically to intialise the factory objects takes params passed to new and assigns them to accessors if they exist
retrieve Retrieve a name file
next The next file
next_outstanding Returns the next file with an outstanding flag set
next_valid Returns the next file with a valid flag set
next_skipped Returns the next file with a skipped flag set
reset Returns to the first record in the collection
total The total number of records
total_outstanding Returns the total number of records with outstanding flag set
total_valid Returns the total number of records with valid flag set
total_skipped Returns the total number of records with skipped flag set
TYPES Default types included
disk Simply reads files from disk expects a changeset_location of directories
COPYRIGHT & LICENSE
Copyright 2004-2008 Grox Pty Ltd.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.