[open-ils-commits] r8808 - in trunk/Open-ILS/src/perlmods/OpenILS/Application: . Actor Circ Search

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Feb 21 13:05:08 EST 2008


Author: miker
Date: 2008-02-21 12:34:28 -0500 (Thu, 21 Feb 2008)
New Revision: 8808

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/UserGroups.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
Log:
adding authoritative method varients

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/UserGroups.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/UserGroups.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/UserGroups.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -13,6 +13,7 @@
 __PACKAGE__->register_method(
 	method => 'get_users_from_usergroup',
 	api_name	=> 'open-ils.actor.usergroup.members.retrieve',
+    authoritative => 1,
 	signature	=> q/
 		Returns a list of ids for users that are in the given usergroup
 	/

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -914,6 +914,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "user_retrieve_by_barcode",
+    authoritative => 1,
 	api_name	=> "open-ils.actor.user.fleshed.retrieve_by_barcode",);
 
 sub user_retrieve_by_barcode {
@@ -1340,6 +1341,7 @@
 __PACKAGE__->register_method(
 	method	=> "user_fines_summary",
 	api_name	=> "open-ils.actor.user.fines.summary",
+    authoritative => 1,
 	notes		=> <<"	NOTES");
 	Returns a short summary of the users total open fines, excluding voided fines
 	Params are login_session, user_id
@@ -1636,6 +1638,7 @@
 __PACKAGE__->register_method(
 	method	=> "hold_request_count",
 	api_name	=> "open-ils.actor.user.hold_requests.count",
+    authoritative => 1,
 	argc		=> 1,
 	notes		=> <<"	NOTES");
 	Returns hold ready/total counts
@@ -1719,6 +1722,7 @@
 __PACKAGE__->register_method(
 	method		=> "checked_out",
 	api_name		=> "open-ils.actor.user.checked_out",
+    authoritative => 1,
 	argc			=> 2,
 	signature	=> q/
 		Returns a structure of circulations objects sorted by
@@ -1736,6 +1740,7 @@
 __PACKAGE__->register_method(
 	method		=> "checked_out",
 	api_name		=> "open-ils.actor.user.checked_out.count",
+    authoritative => 1,
 	argc			=> 2,
 	signature	=> q/@see open-ils.actor.user.checked_out/
 );
@@ -1907,6 +1912,7 @@
 __PACKAGE__->register_method(
 	method		=> "checked_in_with_fines",
 	api_name		=> "open-ils.actor.user.checked_in_with_fines",
+    authoritative => 1,
 	argc			=> 2,
 	signature	=> q/@see open-ils.actor.user.checked_out/
 );
@@ -1969,6 +1975,7 @@
 __PACKAGE__->register_method(
 	method	=> "user_transaction_history",
 	api_name	=> "open-ils.actor.user.transactions.history.have_balance",
+    authoritative => 1,
 	argc		=> 1,
 	notes		=> <<"	NOTES");
 	Returns a list of billable transaction ids for a user that have a balance, optionally by type
@@ -1983,6 +1990,7 @@
 __PACKAGE__->register_method(
 	method	=> "user_transaction_history",
 	api_name	=> "open-ils.actor.user.transactions.history.have_bill",
+    authoritative => 1,
 	argc		=> 1,
 	notes		=> <<"	NOTES");
 	Returns a list of billable transaction ids for a user that has billings
@@ -2431,6 +2439,7 @@
 __PACKAGE__->register_method (
 	method		=> 'fetch_patron_note',
 	api_name		=> 'open-ils.actor.note.retrieve.all',
+    authoritative => 1,
 	signature	=> q/
 		Returns a list of notes for a given user
 		Requestor must have VIEW_USER permission if pub==false and
@@ -2627,6 +2636,7 @@
 __PACKAGE__->register_method(
 	method => 'barcode_exists',
 	api_name	=> 'open-ils.actor.barcode.exists',
+    authoritative => 1,
 	signature => q/
 		Returns 1 if the requested barcode exists, returns 0 otherwise
 	/

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -495,6 +495,7 @@
 __PACKAGE__->register_method(
 	method	=> "biblio_record_record_metadata",
 	api_name	=> "open-ils.cat.biblio.record.metadata.retrieve",
+    authoritative => 1,
 	argc		=> 1, #(session_id, biblio_tree ) 
 	notes		=> "Walks the tree and commits any changed nodes " .
 					"adds any new nodes, and deletes any deleted nodes",
@@ -625,6 +626,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "orgs_for_title",
+    authoritative => 1,
 	api_name	=> "open-ils.cat.actor.org_unit.retrieve_by_title"
 );
 
@@ -643,6 +645,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "retrieve_copies",
+    authoritative => 1,
 	api_name	=> "open-ils.cat.asset.copy_tree.retrieve");
 
 __PACKAGE__->register_method(

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/CopyLocations.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -139,6 +139,7 @@
 
 __PACKAGE__->register_method(
 	method => 'fetch_loc',
+    authoritative => 1,
 	api_name => 'open-ils.circ.copy_location.retrieve',
 );
 

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -301,6 +301,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "retrieve_holds",
+    authoritative => 1,
 	api_name	=> "open-ils.circ.holds.id_list.retrieve",
 	notes		=> <<NOTE);
 Retrieves all the hold ids for the specified
@@ -1518,6 +1519,7 @@
 
 __PACKAGE__->register_method(
 	method => 'uber_hold',
+    authoritative => 1,
 	api_name => 'open-ils.circ.hold.details.retrieve'
 );
 

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -256,6 +256,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "retrieve_payments2",
+    authoritative => 1,
 	api_name	=> "open-ils.circ.money.payment.retrieve.all",
 	notes		=> "Returns a list of payments attached to a given transaction"
 	);
@@ -342,6 +343,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "billing_items",
+    authoritative => 1,
 	api_name	=> "open-ils.circ.money.billing.retrieve.all",
 	notes		=><<"	NOTE");
 	Returns a list of billing items for the given transaction.
@@ -504,6 +506,7 @@
 
 __PACKAGE__->register_method (
 	method => 'fetch_mbts',
+    authoritative => 1,
 	api_name => 'open-ils.circ.money.billable_xact_summary.retrieve'
 );
 sub fetch_mbts {

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/NonCat.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -161,6 +161,7 @@
 
 __PACKAGE__->register_method(
 	method => 'fetch_open_noncats',
+    authoritative => 1,
 	api_name	=> 'open-ils.circ.open_non_cataloged_circulation.user',
 	signature => q/
 		Returns an id-list of non-cataloged circulations that are considered

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -884,6 +884,7 @@
 
 __PACKAGE__->register_method(
 	method => 'copy_details_barcode',
+    authoritative => 1,
 	api_name => 'open-ils.circ.copy_details.retrieve.barcode');
 sub copy_details_barcode {
 	my( $self, $conn, $auth, $barcode ) = @_;
@@ -1054,6 +1055,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "fleshed_circ_retrieve",
+    authoritative => 1,
 	api_name	=> "open-ils.circ.fleshed.retrieve",);
 
 sub fleshed_circ_retrieve {

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm	2008-02-20 22:14:12 UTC (rev 8807)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm	2008-02-21 17:34:28 UTC (rev 8808)
@@ -102,6 +102,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "record_id_to_mods_slim",
+    authoritative => 1,
 	api_name	=> "open-ils.search.biblio.record.mods_slim.retrieve",
 	argc		=> 1, 
 	note		=> "Provide ID, we provide the mods"
@@ -130,6 +131,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "record_id_to_copy_count",
+    authoritative => 1,
 	api_name	=> "open-ils.search.biblio.record.copy_count.staff",
 );
 
@@ -234,6 +236,7 @@
 
 __PACKAGE__->register_method(
 	method	=> "fleshed_copy_retrieve_batch",
+    authoritative => 1,
 	api_name	=> "open-ils.search.asset.copy.fleshed.batch.retrieve");
 
 sub fleshed_copy_retrieve_batch { 
@@ -1324,6 +1327,7 @@
 
 __PACKAGE__->register_method(
 	method => "fetch_cn",
+    authoritative => 1,
 	api_name => "open-ils.search.callnumber.retrieve",
 	notes		=> "retrieves a callnumber based on ID",
 	);



More information about the open-ils-commits mailing list