NAME

Persistence::Fetchable - Fetching method base class.

SYNOPSIS

Abstract class.

DESCRIPTION

Represents a base class for attributes that use eager or lazy fetch methods.

EXPORT

LAZY EAGER by ':all' tag.

ATTRIBUTES

fetch_method

LAZY, EAGER

METHODS

eager_fetch_filter

Returns list of objects that have EAGER fetch method. Takes hash ref of objects.

lazy_fetch_filter

Returns list of objects that have LAZY fetch method. Takes hash ref of objects.

fetch_objects_filter

Returns list of objects that have specyfied fetch method. Takes hash ref of objects, fetch method.

lazy_fetch_handler

SEE ALSO

Persistence::Entity Persistence::Relationship::OneToMany Persistence::Relationship::ManyToMany

COPYRIGHT AND LICENSE

The Persistence::Relationship module is free software. You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.

AUTHOR

Adrian Witas, adrian@webapp.strefa.pl