NAME
Reaction::InterfaceModel::Collection::DBIC::Role::Base
DESCRIPTION
Provides methods to allow a collection to be populated by a DBIx::Class::ResultSet
Attributes
_source_resultset
Required, Read-only. Contains the DBIx::Class::ResultSet used to populate the collection.
member_type
Read-only, lazy_build. The name of the IM Object Class that the resultset inside this collection will inflate to. Predicate: has_member_type
METHODS
clone
Returns a clone of the current collection, complete with a cloned _source_resultset
count_members
Returns the number of items found by the ResultSet
add_member
remove_member
These will die as they have not been implemented yet.
PRIVATE METHODS
_build_im_class
Will attempt to remove the suffix "Collection" from the current class name and return that. I.e. MyApp::MyIM::Roles::Collection
would return MyApp::MyIM::Roles
_build_collection_store
Replace the default builder to populate the collection with all results returned by the resultset.
AUTHORS
See Reaction::Class for authors.
LICENSE
See Reaction::Class for the license.