1 package OpenILS::Application::Search::AddedContent;
2 use base qw/OpenSRF::Application/;
3 use strict; use warnings;
5 sub initialize { return 1; }
8 __PACKAGE__->register_method(
10 api_name => "open-ils.search.added_content.summary.retrieve",
12 Returns an object like so:
15 Inventory : true/false
16 Annotation : true/false
21 This object indicates the existance of each type of added content for the given ISBN
29 Annotation => "false",
37 __PACKAGE__->register_method(
39 api_name => "open-ils.search.added_content.review.retrieve.random",
41 Returns a singe random review article object
45 __PACKAGE__->register_method(
47 api_name => "open-ils.search.added_content.review.retrieve.all",
49 Returns an array review article objects
53 sub reviews { return []; }
56 __PACKAGE__->register_method(
58 api_name => "open-ils.search.added_content.toc.retrieve",
60 Returns the table of contents for the given ISBN
64 sub toc { return ""; }