Koha::ILL::Backend::Standard - Koha ILL Backend: Standard
Koha ILL implementation for the "Standard" backend .
We will be providing the Abstract interface which requires we implement the following methods: - create -> initial placement of the request for an ILL order - confirm -> confirm placement of the ILL order (No-op in Standard) - cancel -> request an already 'confirm'ed ILL order be cancelled - status_graph -> return a hashref of additional statuses - name -> return the name of this backend - metadata -> return mapping of fields from requestattributes
The Standard backend is a simple backend that is supposed to act as a fallback. It provides the end user with some mandatory fields in a form as well as the option to enter additional fields with arbitrary names & values.
my $backend = Koha::ILL::Backend::Standard->new;
Return the name of this backend.
$capability = $backend->capabilities($name);
Return the sub implementing a capability selected by NAME, or 0 if that capability is not implemented.
Return a hashref containing canonical values from the key/value illrequestattributes store. We may want to ignore certain values that we do not consider to be metadata
This backend provides no additional actions on top of the core_status_graph.
my $response = $backend->create({ params => $params });
We just want to generate a form that allows the end-user to associate key value pairs in the database.
my $response = $backend->confirm({ params => $params });
Confirm the placement of the previously "selected" request (by using the 'create' method).
In the Standard backend we only want to display a bit of text to let staff confirm that they have taken the steps they need to take to "confirm" the request.
my $response = $backend->cancel({ params => $params });
We will attempt to cancel a request that was confirmed.
In the Standard backend this simply means displaying text to the librarian asking them to confirm they have taken all steps needed to cancel a confirmed request.
Migrate a request into or out of this backend.
View and manage an ILL request
my $request_details = _get_request_details($params, $other);
Return the illrequestattributes for a given request
Return a comma delimited, quoted, string of core field keys
Return a hashref of core fields
Add an ILL request
Take a hashref of OpenURL parameters and return those same parameters but transformed to the ILL schema
Create a local submission from data supplied via an API call
Given the parameters we've been passed, should we create the request
Given supplied metadata from a Standard request, create a basic biblio record and return its ID
_set_suppression($record);
Take a MARC::Record object and set it to be suppressed
Alex Sassmannshausen <alex.sassmannshausen@ptfs-europe.com> Martin Renvoize <martin.renvoize@ptfs-europe.com> Andrew Isherwood <andrew.isherwood@ptfs-europe.com>