CatalystX-CRUD
view release on metacpan or search on metacpan
lib/CatalystX/CRUD/ModelAdapter/File.pm view on Meta::CPAN
=cut
sub iterator {
my ( $self, $controller, $c, @arg ) = @_;
my $model = $c->model( $self->model_name );
$model->iterator(@arg);
}
=head2 count( I<context>, I<args> )
Implements required method.
=cut
sub count {
my ( $self, $controller, $c, @arg ) = @_;
my $model = $c->model( $self->model_name );
$model->count(@arg);
}
=head2 make_query( I<context>, I<args> )
Implements required method.
=cut
sub make_query {
my ( $self, $controller, $c, @arg ) = @_;
my $model = $c->model( $self->model_name );
$model->make_query(@arg);
}
=head2 create( I<context>, I<file_object> )
Implements required CRUD method.
=cut
sub create {
my ( $self, $c, $file ) = @_;
$file->create;
}
=head2 read( I<context>, I<file_object> )
Implements required CRUD method.
=cut
sub read {
my ( $self, $c, $file ) = @_;
$file->read;
}
=head2 update( I<context>, I<file_object> )
Implements required CRUD method.
=cut
sub update {
my ( $self, $c, $file ) = @_;
$file->update;
}
=head2 delete( I<context>, I<file_object> )
Implements required CRUD method.
=cut
sub delete {
my ( $self, $c, $file ) = @_;
$file->delete;
}
1;
=head1 AUTHOR
Peter Karman, C<< <perl at peknet.com> >>
=head1 BUGS
Please report any bugs or feature requests to
C<bug-catalystx-crud at rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CatalystX-CRUD>.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc CatalystX::CRUD
You can also look for information at:
=over 4
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/CatalystX-CRUD>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/CatalystX-CRUD>
=item * RT: CPAN's request tracker
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=CatalystX-CRUD>
=item * Search CPAN
L<http://search.cpan.org/dist/CatalystX-CRUD>
=back
=head1 COPYRIGHT & LICENSE
Copyright 2008 Peter Karman, all rights reserved.
( run in 0.557 second using v1.01-cache-2.11-cpan-39bf76dae61 )