1 package Koha::Illrequest::SupplierUpdateProcessor;
3 # Copyright 2022 PTFS Europe Ltd
5 # This file is part of Koha.
7 # Koha is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with Koha; if not, see <http://www.gnu.org/licenses>.
24 Koha::Illrequest::SupplierUpdateProcessor - Represents a SupplerUpdate processor
28 Object-oriented class that provides an object allowing us to perform processing on
33 Object-oriented base class that provides an object allowing us to perform processing on
35 ** This class should not be directly instantiated, it should only be sub-classed **
43 my $processor = Koha::Illrequest::SupplierUpdateProcessor->new(
48 Create a new Koha::Illrequest::SupplierUpdateProcessor object.
53 my ( $class, $target_source_type, $target_source_name, $processor_name ) = @_;
56 $self->{target_source_type} = $target_source_type;
57 $self->{target_source_name} = $target_source_name;
58 $self->{name} = $processor_name;
67 Koha::Illrequest::SupplierUpdateProcessor->run();
75 my ( $package, $filename ) = caller;
76 warn __PACKAGE__ . " run should only be invoked by a subclass\n";
81 Andrew Isherwood <andrew.isherwood@ptfs-europe.com>