1 package OpenILS::Application::Search::AddedContent;
2 use base qw/OpenSRF::Application/;
3 use strict; use warnings;
6 __PACKAGE__->register_method(
8 api_name => "open-ils.search.added_content.summary.retrieve",
10 Returns an object like so:
13 Inventory : true/false
14 Annotation : true/false
19 This object indicates the existance of each type of added content for the given ISBN
27 Annotation => "false",
35 __PACKAGE__->register_method(
37 api_name => "open-ils.search.added_content.review.retrieve.random",
39 Returns a singe random review article object
43 __PACKAGE__->register_method(
45 api_name => "open-ils.search.added_content.review.retrieve.all",
47 Returns an array review article objects
51 sub reviews { return []; }
54 __PACKAGE__->register_method(
56 api_name => "open-ils.search.added_content.toc.retrieve",
58 Returns the table of contents for the given ISBN
62 sub toc { return ""; }