Request structures, on which aleph.reactToAMQPMessage() reacts.
All strucutures defined here are simple dataholders, based on namedtuple.
Bases: edeposit.amqp.aleph.datastructures.requests.CountRequest
Put one of the Queries to .query property and result will be just the number of records, instead of records itself.
This helps to save some of Aleph resources (yeah, it is restricted to give too much queries by license).
GenericQuery, ISBNQuery, .. (Any)Query structure defined in aleph module.
See also
aleph.reactToAMQPMessage() returns aleph.datastructures.results.CountResult as response.
Bases: edeposit.amqp.aleph.datastructures.requests.SearchRequest
Perform search in Aleph with given query.
GenericQuery, ISBNQuery, .. (Any)Query structure defined in aleph module.
See also
aleph.reactToAMQPMessage() returns aleph.datastructures.results.SearchResult as response.
Bases: edeposit.amqp.aleph.datastructures.requests.ISBNValidationRequest
Validate given ISBN.
ISBN, which will be validated.
See also
aleph.reactToAMQPMessage() returns aleph.datastructures.results.ISBNValidationResult as response.
Bases: edeposit.amqp.aleph.datastructures.requests.AlephExport
Request to export data to Aleph.
aleph.datastructures.epublication.EPublication structure, which will be exported to Aleph
Warning
ISBN, nazev, Místo vydání, Měsíc a rok vydání, Pořadí vydání, Zpracovatel záznamu, vazba/forma, Formát (poze pro epublikace) and Nakladatel has to be present, or AssertionError will be thrown.
ISBN has to be valid, or request will be rejected with ExportException.
See also
aleph.reactToAMQPMessage() returns aleph.datastructures.results.ExportResult as response.