more POD!
[catagits/Reaction.git] / lib / Reaction / InterfaceModel / Action / DBIC / ResultSet / DeleteAll.pm
CommitLineData
b8faba69 1package Reaction::InterfaceModel::Action::DBIC::ResultSet::DeleteAll;
2
e739c9a2 3use Reaction::Types::DBIC 'ResultSet';
b8faba69 4use Reaction::Class;
5use Reaction::InterfaceModel::Action;
6
81393881 7use namespace::clean -except => [ qw(meta) ];
1c601a76 8extends 'Reaction::InterfaceModel::Action::DBIC::ResultSet';
9with 'Reaction::InterfaceModel::Action::Role::SimpleMethodCall';
b8faba69 10
1c601a76 11sub _target_model_method { 'delete_all' }
b8faba69 12
81393881 13__PACKAGE__->meta->make_immutable;
14
b8faba69 151;
16
1c601a76 17__END__;
b8faba69 18
19=head1 NAME
20
21Reaction::InterfaceModel::Action::DBIC::ResultSet::DeleteAll
22
23=head1 DESCRIPTION
24
1c601a76 25C<DeleteAll> is a subclass of
26L<Action::DBIC::ResultSet|Reaction::InterfaceModel::Action::DBIC::ResultSet> using
27L<Role::SimpleMethodCall|'Reaction::InterfaceModel::Action::Role::SimpleMethodCall>
28to call the C<target_model>'s C<delete_all> method, deleting every item in the
29resultset.
30
31=head1 METHODS
32
33=head2 _target_model_method
b8faba69 34
1c601a76 35Returns 'delete_all'
b8faba69 36
1c601a76 37=head1 SEE ALSO
b8faba69 38
1c601a76 39L<Create|Reaction::InterfaceModel::Action::DBIC::ResultSet::Create>,
40L<Update|Reaction::InterfaceModel::Action::DBIC::Result::Update>,
41L<Delete|Reaction::InterfaceModel::Action::DBIC::Result::Delete>,
b8faba69 42
43=head1 AUTHORS
44
45See L<Reaction::Class> for authors.
46
47=head1 LICENSE
48
49See L<Reaction::Class> for the license.
50
51=cut