3 #-------------------------------------------------------------------------------
4 package asset::copy_part_map;
6 asset::copy_part_map->table( 'asset.copy_part_map' );
7 asset::copy_part_map->sequence( 'asset.copy_part_map_id_seq' );
9 #-------------------------------------------------------------------------------
10 package biblio::monograph_part;
12 biblio::monograph_part->table( 'biblio.monograph_part' );
13 biblio::monograph_part->sequence( 'biblio.monograph_part_id_seq' );
15 #-------------------------------------------------------------------------------
16 package biblio::peer_bib_copy_map;
18 biblio::peer_bib_copy_map->table( 'biblio.peer_bib_copy_map' );
19 biblio::peer_bib_copy_map->sequence( 'biblio.peer_bib_copy_map_id_seq' );
21 #-------------------------------------------------------------------------------
22 package biblio::peer_type;
24 biblio::peer_type->table( 'biblio.peer_type' );
25 biblio::peer_type->sequence( 'biblio.peer_type_id_seq' );
27 #-------------------------------------------------------------------------------
28 package container::user_bucket;
30 container::user_bucket->table( 'container.user_bucket' );
31 container::user_bucket->sequence( 'container.user_bucket_id_seq' );
33 #-------------------------------------------------------------------------------
34 package container::user_bucket_item;
36 container::user_bucket_item->table( 'container.user_bucket_item' );
37 container::user_bucket_item->sequence( 'container.user_bucket_item_id_seq' );
39 #-------------------------------------------------------------------------------
40 package container::copy_bucket;
42 container::copy_bucket->table( 'container.copy_bucket' );
43 container::copy_bucket->sequence( 'container.copy_bucket_id_seq' );
45 #-------------------------------------------------------------------------------
46 package container::copy_bucket_item;
48 container::copy_bucket_item->table( 'container.copy_bucket_item' );
49 container::copy_bucket_item->sequence( 'container.copy_bucket_item_id_seq' );
51 #-------------------------------------------------------------------------------
52 package container::call_number_bucket;
54 container::call_number_bucket->table( 'container.call_number_bucket' );
55 container::call_number_bucket->sequence( 'container.call_number_bucket_id_seq' );
57 #-------------------------------------------------------------------------------
58 package container::call_number_bucket_item;
60 container::call_number_bucket_item->table( 'container.call_number_bucket_item' );
61 container::call_number_bucket_item->sequence( 'container.call_number_bucket_item_id_seq' );
63 #-------------------------------------------------------------------------------
64 package container::biblio_record_entry_bucket;
66 container::biblio_record_entry_bucket->table( 'container.biblio_record_entry_bucket' );
67 container::biblio_record_entry_bucket->sequence( 'container.biblio_record_entry_bucket_id_seq' );
69 #-------------------------------------------------------------------------------
70 package container::biblio_record_entry_bucket_item;
72 container::biblio_record_entry_bucket_item->table( 'container.biblio_record_entry_bucket_item' );
73 container::biblio_record_entry_bucket_item->sequence( 'container.biblio_record_entry_bucket_item_id_seq' );
75 #---------------------------------------------------------------------
76 package money::grocery;
78 money::grocery->table( 'money.grocery' );
79 money::grocery->sequence( 'money.billable_xact_id_seq' );
81 #---------------------------------------------------------------------
82 package money::collections_tracker;
84 money::collections_tracker->table( 'money.collections_tracker' );
85 money::collections_tracker->sequence( 'money.collections_tracker_id_seq' );
87 #---------------------------------------------------------------------
88 package money::billable_transaction;
90 money::billable_transaction->table( 'money.billable_xact' );
91 money::billable_transaction->sequence( 'money.billable_xact_id_seq' );
93 #---------------------------------------------------------------------
94 package money::billing;
96 money::billing->table( 'money.billing' );
97 money::billing->sequence( 'money.billing_id_seq' );
99 #---------------------------------------------------------------------
100 package money::desk_payment;
102 money::desk_payment->table( 'money.desk_payment_view' );
104 #---------------------------------------------------------------------
105 package money::payment;
107 money::payment->table( 'money.payment_view' );
109 #---------------------------------------------------------------------
110 package money::cash_payment;
112 money::cash_payment->table( 'money.cash_payment' );
113 money::cash_payment->sequence( 'money.payment_id_seq' );
115 #---------------------------------------------------------------------
116 package money::check_payment;
118 money::check_payment->table( 'money.check_payment' );
119 money::check_payment->sequence( 'money.payment_id_seq' );
121 #---------------------------------------------------------------------
122 package money::credit_payment;
124 money::credit_payment->table( 'money.credit_payment' );
125 money::credit_payment->sequence( 'money.payment_id_seq' );
127 #---------------------------------------------------------------------
128 package money::credit_card_payment;
130 money::credit_card_payment->table( 'money.credit_card_payment' );
131 money::credit_card_payment->sequence( 'money.payment_id_seq' );
133 #---------------------------------------------------------------------
134 package money::work_payment;
136 money::work_payment->table( 'money.work_payment' );
137 money::work_payment->sequence( 'money.payment_id_seq' );
139 #---------------------------------------------------------------------
140 package money::goods_payment;
142 money::goods_payment->table( 'money.goods_payment' );
143 money::goods_payment->sequence( 'money.payment_id_seq' );
145 #---------------------------------------------------------------------
146 package money::forgive_payment;
148 money::forgive_payment->table( 'money.forgive_payment' );
149 money::forgive_payment->sequence( 'money.payment_id_seq' );
151 #---------------------------------------------------------------------
152 package money::open_billable_transaction_summary;
154 money::open_billable_transaction_summary->table( 'money.open_billable_xact_summary' );
156 #---------------------------------------------------------------------
157 package money::billable_transaction_summary;
159 money::billable_transaction_summary->table( 'money.billable_xact_summary' );
161 #---------------------------------------------------------------------
162 package money::open_user_summary;
164 money::open_user_summary->table( 'money.open_usr_summary' );
166 #---------------------------------------------------------------------
167 package money::user_summary;
169 money::user_summary->table( 'money.usr_summary' );
171 #---------------------------------------------------------------------
172 package money::open_user_circulation_summary;
174 money::open_user_circulation_summary->table( 'money.open_usr_circulation_summary' );
176 #---------------------------------------------------------------------
177 package money::user_circulation_summary;
179 money::user_circulation_summary->table( 'money.usr_circulation_summary' );
181 #---------------------------------------------------------------------
182 package action::circulation;
184 action::circulation->table( 'action.circulation' );
185 action::circulation->sequence( 'money.billable_xact_id_seq' );
187 #---------------------------------------------------------------------
188 package booking::resource_type;
190 booking::resource_type->table( 'booking.resource_type' );
191 booking::resource_type->sequence( 'booking.resource_type_id_seq' );
193 #---------------------------------------------------------------------
194 package booking::resource;
196 booking::resource->table( 'booking.resource' );
197 booking::resource->sequence( 'booking.resource_id_seq' );
199 #---------------------------------------------------------------------
200 package booking::reservation;
202 booking::reservation->table( 'booking.reservation' );
203 booking::reservation->sequence( 'money.billable_xact_id_seq' );
205 #---------------------------------------------------------------------
206 package booking::reservation_attr_value_map;
208 booking::reservation_attr_value_map->table( 'booking.reservation_attr_value_map' );
209 booking::reservation_attr_value_map->sequence( 'booking.reservation_attr_value_map_id_seq' );
211 #---------------------------------------------------------------------
212 package booking::resource_attr_map;
214 booking::resource_attr_map->table( 'booking.resource_attr_map' );
215 booking::resource_attr_map->sequence( 'booking.resource_attr_map_id_seq' );
217 #---------------------------------------------------------------------
218 package action::non_cat_in_house_use;
220 action::non_cat_in_house_use->table( 'action.non_cat_in_house_use' );
221 action::non_cat_in_house_use->sequence( 'action.non_cat_in_house_use_id_seq' );
223 #---------------------------------------------------------------------
224 package action::in_house_use;
226 action::in_house_use->table( 'action.in_house_use' );
227 action::in_house_use->sequence( 'action.in_house_use_id_seq' );
229 #---------------------------------------------------------------------
230 package action::non_cataloged_circulation;
232 action::non_cataloged_circulation->table( 'action.non_cataloged_circulation' );
233 action::non_cataloged_circulation->sequence( 'action.non_cataloged_circulation_id_seq' );
235 #---------------------------------------------------------------------
236 package action::open_circulation;
238 action::open_circulation->table( 'action.open_circulation' );
240 #---------------------------------------------------------------------
241 package action::survey;
243 action::survey->table( 'action.survey' );
244 action::survey->sequence( 'action.survey_id_seq' );
246 #---------------------------------------------------------------------
247 package action::survey_question;
249 action::survey_question->table( 'action.survey_question' );
250 action::survey_question->sequence( 'action.survey_question_id_seq' );
252 #---------------------------------------------------------------------
253 package action::survey_answer;
255 action::survey_answer->table( 'action.survey_answer' );
256 action::survey_answer->sequence( 'action.survey_answer_id_seq' );
258 #---------------------------------------------------------------------
259 package action::survey_response;
261 action::survey_response->table( 'action.survey_response' );
262 action::survey_response->sequence( 'action.survey_response_id_seq' );
264 #---------------------------------------------------------------------
265 package config::non_cataloged_type;
267 config::non_cataloged_type->table( 'config.non_cataloged_type' );
268 config::non_cataloged_type->sequence( 'config.non_cataloged_type_id_seq' );
270 #---------------------------------------------------------------------
271 package config::copy_status;
273 config::copy_status->table( 'config.copy_status' );
274 config::copy_status->sequence( 'config.copy_status_id_seq' );
276 #---------------------------------------------------------------------
277 package config::rules::circ_duration;
279 config::rules::circ_duration->table( 'config.rule_circ_duration' );
280 config::rules::circ_duration->sequence( 'config.rule_circ_duration_id_seq' );
282 #---------------------------------------------------------------------
283 package config::rules::age_hold_protect;
285 config::rules::age_hold_protect->table( 'config.rule_age_hold_protect' );
286 config::rules::age_hold_protect->sequence( 'config.rule_age_hold_protect_id_seq' );
288 #---------------------------------------------------------------------
289 package config::rules::max_fine;
291 config::rules::max_fine->table( 'config.rule_max_fine' );
292 config::rules::max_fine->sequence( 'config.rule_max_fine_id_seq' );
294 #---------------------------------------------------------------------
295 package config::rules::recurring_fine;
297 config::rules::recurring_fine->table( 'config.rule_recurring_fine' );
298 config::rules::recurring_fine->sequence( 'config.rule_recurring_fine_id_seq' );
300 #---------------------------------------------------------------------
301 package config::net_access_level;
303 config::net_access_level->table( 'config.net_access_level' );
304 config::net_access_level->sequence( 'config.net_access_level_id_seq' );
306 #---------------------------------------------------------------------
307 package config::standing;
309 config::standing->table( 'config.standing' );
310 config::standing->sequence( 'config.standing_id_seq' );
312 #---------------------------------------------------------------------
313 package config::metabib_field;
315 config::metabib_field->table( 'config.metabib_field' );
316 config::metabib_field->sequence( 'config.metabib_field_id_seq' );
318 #---------------------------------------------------------------------
319 package config::bib_source;
321 config::bib_source->table( 'config.bib_source' );
322 config::bib_source->sequence( 'config.bib_source_id_seq' );
324 #---------------------------------------------------------------------
325 package config::identification_type;
327 config::identification_type->table( 'config.identification_type' );
328 config::identification_type->sequence( 'config.identification_type_id_seq' );
330 #---------------------------------------------------------------------
331 package asset::call_number_note;
333 asset::call_number_note->table( 'asset.call_number_note' );
334 asset::call_number_note->sequence( 'asset.call_number_note_id_seq' );
336 #---------------------------------------------------------------------
337 package asset::copy_note;
339 asset::copy_note->table( 'asset.copy_note' );
340 asset::copy_note->sequence( 'asset.copy_note_id_seq' );
342 #---------------------------------------------------------------------
343 package asset::call_number;
345 asset::call_number->table( 'asset.call_number' );
346 asset::call_number->sequence( 'asset.call_number_id_seq' );
348 #---------------------------------------------------------------------
349 package asset::call_number_suffix;
351 asset::call_number_suffix->table( 'asset.call_number_suffix' );
352 asset::call_number_suffix->sequence( 'asset.call_number_suffix_id_seq' );
354 #---------------------------------------------------------------------
355 package asset::call_number_prefix;
357 asset::call_number_prefix->table( 'asset.call_number_prefix' );
358 asset::call_number_prefix->sequence( 'asset.call_number_prefix_id_seq' );
360 #---------------------------------------------------------------------
361 package asset::call_number_class;
363 asset::call_number_class->table( 'asset.call_number_class' );
364 asset::call_number_class->sequence( 'asset.call_number_class_id_seq' );
366 #---------------------------------------------------------------------
367 package asset::copy_location_order;
369 asset::copy_location_order->table( 'asset.copy_location_order' );
370 asset::copy_location_order->sequence( 'asset.copy_location_order_id_seq' );
372 #---------------------------------------------------------------------
373 package asset::copy_location;
375 asset::copy_location->table( 'asset.copy_location' );
376 asset::copy_location->sequence( 'asset.copy_location_id_seq' );
378 #---------------------------------------------------------------------
381 asset::copy->table( 'asset.copy' );
382 asset::copy->sequence( 'asset.copy_id_seq' );
384 #---------------------------------------------------------------------
385 package asset::stat_cat;
387 asset::stat_cat->table( 'asset.stat_cat' );
388 asset::stat_cat->sequence( 'asset.stat_cat_id_seq' );
390 #---------------------------------------------------------------------
391 package asset::stat_cat_entry;
393 asset::stat_cat_entry->table( 'asset.stat_cat_entry' );
394 asset::stat_cat_entry->sequence( 'asset.stat_cat_entry_id_seq' );
396 #---------------------------------------------------------------------
397 package asset::stat_cat_entry_copy_map;
399 asset::stat_cat_entry_copy_map->table( 'asset.stat_cat_entry_copy_map' );
400 asset::stat_cat_entry_copy_map->sequence( 'asset.stat_cat_entry_copy_map_id_seq' );
402 #---------------------------------------------------------------------
403 package authority::record_entry;
405 authority::record_entry->table( 'authority.record_entry' );
406 authority::record_entry->sequence( 'authority.record_entry_id_seq' );
408 #---------------------------------------------------------------------
409 package biblio::record_entry;
411 biblio::record_entry->table( 'biblio.record_entry' );
412 biblio::record_entry->sequence( 'biblio.record_entry_id_seq' );
414 #---------------------------------------------------------------------
415 #package biblio::record_marc;
417 #biblio::record_marc->table( 'biblio.record_marc' );
418 #biblio::record_marc->sequence( 'biblio.record_marc_id_seq' );
420 #---------------------------------------------------------------------
421 package authority::record_note;
423 authority::record_note->table( 'authority.record_note' );
424 authority::record_note->sequence( 'authority.record_note_id_seq' );
426 #---------------------------------------------------------------------
427 package biblio::record_note;
429 biblio::record_note->table( 'biblio.record_note' );
430 biblio::record_note->sequence( 'biblio.record_note_id_seq' );
432 #---------------------------------------------------------------------
433 package actor::workstation;
435 actor::workstation->table( 'actor.workstation' );
436 actor::workstation->sequence( 'actor.workstation_id_seq' );
438 #---------------------------------------------------------------------
441 actor::user->table( 'actor.usr' );
442 actor::user->sequence( 'actor.usr_id_seq' );
444 #---------------------------------------------------------------------
445 package actor::org_unit::closed_date;
447 actor::org_unit::closed_date->table( 'actor.org_unit_closed' );
448 actor::org_unit::closed_date->sequence( 'actor.org_unit_closed_id_seq' );
450 #---------------------------------------------------------------------
451 package actor::org_unit_setting;
453 actor::org_unit_setting->table( 'actor.org_unit_setting' );
454 actor::org_unit_setting->sequence( 'actor.org_unit_setting_id_seq' );
456 #---------------------------------------------------------------------
457 package actor::user_standing_penalty;
459 actor::user_standing_penalty->table( 'actor.usr_standing_penalty' );
460 actor::user_standing_penalty->sequence( 'actor.usr_standing_penalty_id_seq' );
462 #---------------------------------------------------------------------
463 package actor::user_setting;
465 actor::user_setting->table( 'actor.usr_setting' );
466 actor::user_setting->sequence( 'actor.usr_setting_id_seq' );
468 #---------------------------------------------------------------------
469 package actor::user_address;
471 actor::user_address->table( 'actor.usr_address' );
472 actor::user_address->sequence( 'actor.usr_address_id_seq' );
474 #---------------------------------------------------------------------
475 package actor::org_address;
477 actor::org_address->table( 'actor.org_address' );
478 actor::org_address->sequence( 'actor.org_address_id_seq' );
480 #---------------------------------------------------------------------
481 package actor::usr_org_unit_opt_in;
483 actor::usr_org_unit_opt_in->table( 'actor.usr_org_unit_opt_in' );
484 actor::usr_org_unit_opt_in->sequence( 'actor.usr_org_unit_opt_in_id_seq' );
486 #---------------------------------------------------------------------
487 package actor::org_unit_proximity;
489 actor::org_unit_proximity->table( 'actor.org_unit_proximity' );
490 actor::org_unit_proximity->sequence( 'actor.org_unit_proximity_id_seq' );
492 #---------------------------------------------------------------------
493 package actor::org_unit_type;
495 actor::org_unit_type->table( 'actor.org_unit_type' );
496 actor::org_unit_type->sequence( 'actor.org_unit_type_id_seq' );
498 #---------------------------------------------------------------------
499 package actor::org_unit::hours_of_operation;
501 actor::org_unit::hours_of_operation->table( 'actor.hours_of_operation' );
503 #---------------------------------------------------------------------
504 package actor::org_unit;
506 actor::org_unit->table( 'actor.org_unit' );
507 actor::org_unit->sequence( 'actor.org_unit_id_seq' );
509 #---------------------------------------------------------------------
510 package actor::stat_cat;
512 actor::stat_cat->table( 'actor.stat_cat' );
513 actor::stat_cat->sequence( 'actor.stat_cat_id_seq' );
515 #---------------------------------------------------------------------
516 package actor::stat_cat_entry;
518 actor::stat_cat_entry->table( 'actor.stat_cat_entry' );
519 actor::stat_cat_entry->sequence( 'actor.stat_cat_entry_id_seq' );
521 #---------------------------------------------------------------------
522 package actor::stat_cat_entry_default;
524 actor::stat_cat_entry_default->table( 'actor.stat_cat_entry_default' );
525 actor::stat_cat_entry_default->sequence( 'actor.stat_cat_entry_default_id_seq' );
527 #---------------------------------------------------------------------
528 package actor::stat_cat_entry_user_map;
530 actor::stat_cat_entry_user_map->table( 'actor.stat_cat_entry_usr_map' );
531 actor::stat_cat_entry_user_map->sequence( 'actor.stat_cat_entry_usr_map_id_seq' );
533 #---------------------------------------------------------------------
536 actor::card->table( 'actor.card' );
537 actor::card->sequence( 'actor.card_id_seq' );
539 #---------------------------------------------------------------------
540 package actor::usr_note;
542 actor::usr_note->table( 'actor.usr_note' );
543 actor::usr_note->sequence( 'actor.usr_note_id_seq' );
545 #---------------------------------------------------------------------
547 #-------------------------------------------------------------------------------
548 package metabib::metarecord;
550 metabib::metarecord->table( 'metabib.metarecord' );
551 metabib::metarecord->sequence( 'metabib.metarecord_id_seq' );
554 #-------------------------------------------------------------------------------
556 #-------------------------------------------------------------------------------
557 package metabib::identifier_field_entry;
559 metabib::identifier_field_entry->table( 'metabib.identifier_field_entry' );
560 metabib::identifier_field_entry->sequence( 'metabib.identifier_field_entry_id_seq' );
561 metabib::identifier_field_entry->columns( 'FTS' => 'index_vector' );
563 #-------------------------------------------------------------------------------
565 #-------------------------------------------------------------------------------
566 package metabib::title_field_entry;
568 metabib::title_field_entry->table( 'metabib.title_field_entry' );
569 metabib::title_field_entry->sequence( 'metabib.title_field_entry_id_seq' );
570 metabib::title_field_entry->columns( 'FTS' => 'index_vector' );
572 # metabib::title_field_entry->add_trigger(
573 # before_create => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
575 # metabib::title_field_entry->add_trigger(
576 # before_update => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
579 #-------------------------------------------------------------------------------
581 #-------------------------------------------------------------------------------
582 package metabib::author_field_entry;
584 metabib::author_field_entry->table( 'metabib.author_field_entry' );
585 metabib::author_field_entry->sequence( 'metabib.author_field_entry_id_seq' );
586 metabib::author_field_entry->columns( 'FTS' => 'index_vector' );
588 #-------------------------------------------------------------------------------
590 #-------------------------------------------------------------------------------
591 package metabib::subject_field_entry;
593 metabib::subject_field_entry->table( 'metabib.subject_field_entry' );
594 metabib::subject_field_entry->sequence( 'metabib.subject_field_entry_id_seq' );
595 metabib::subject_field_entry->columns( 'FTS' => 'index_vector' );
597 #-------------------------------------------------------------------------------
599 #-------------------------------------------------------------------------------
600 package metabib::keyword_field_entry;
602 metabib::keyword_field_entry->table( 'metabib.keyword_field_entry' );
603 metabib::keyword_field_entry->sequence( 'metabib.keyword_field_entry_id_seq' );
604 metabib::keyword_field_entry->columns( 'FTS' => 'index_vector' );
606 #-------------------------------------------------------------------------------
607 package metabib::series_field_entry;
609 metabib::series_field_entry->table( 'metabib.series_field_entry' );
610 metabib::series_field_entry->sequence( 'metabib.series_field_entry_id_seq' );
611 metabib::series_field_entry->columns( 'FTS' => 'index_vector' );
613 #-------------------------------------------------------------------------------
615 #-------------------------------------------------------------------------------
616 #package metabib::title_field_entry_source_map;
618 #metabib::title_field_entry_source_map->table( 'metabib.title_field_entry_source_map' );
620 #-------------------------------------------------------------------------------
622 #-------------------------------------------------------------------------------
623 #package metabib::author_field_entry_source_map;
625 #metabib::author_field_entry_source_map->table( 'metabib.author_field_entry_source_map' );
627 #-------------------------------------------------------------------------------
629 #-------------------------------------------------------------------------------
630 #package metabib::subject_field_entry_source_map;
632 #metabib::subject_field_entry_source_map->table( 'metabib.subject_field_entry_source_map' );
634 #-------------------------------------------------------------------------------
636 #-------------------------------------------------------------------------------
637 #package metabib::keyword_field_entry_source_map;
639 #metabib::keyword_field_entry_source_map->table( 'metabib.keyword_field_entry_source_map' );
641 #-------------------------------------------------------------------------------
643 #-------------------------------------------------------------------------------
644 package metabib::metarecord_source_map;
646 metabib::metarecord_source_map->table( 'metabib.metarecord_source_map' );
647 metabib::metarecord_source_map->sequence( 'metabib.metarecord_source_map_id_seq' );
649 #-------------------------------------------------------------------------------
650 package authority::record_descriptor;
652 authority::record_descriptor->table( 'authority.rec_descriptor' );
653 authority::record_descriptor->sequence( 'authority.rec_descriptor_id_seq' );
655 #-------------------------------------------------------------------------------
656 package metabib::record_descriptor;
658 metabib::record_descriptor->table( 'metabib.rec_descriptor' );
659 metabib::record_descriptor->sequence( 'metabib.rec_descriptor_id_seq' );
661 #-------------------------------------------------------------------------------
664 #-------------------------------------------------------------------------------
665 package authority::full_rec;
667 authority::full_rec->table( 'authority.full_rec' );
668 authority::full_rec->sequence( 'authority.full_rec_id_seq' );
669 authority::full_rec->columns( 'FTS' => 'index_vector' );
671 #-------------------------------------------------------------------------------
672 package metabib::full_rec;
674 metabib::full_rec->table( 'metabib.full_rec' );
675 metabib::full_rec->sequence( 'metabib.full_rec_id_seq' );
676 metabib::full_rec->columns( 'FTS' => 'index_vector' );
678 #-------------------------------------------------------------------------------
680 package permission::perm_list;
682 permission::perm_list->sequence( 'permission.perm_list_id_seq' );
683 permission::perm_list->table('permission.perm_list');
685 #-------------------------------------------------------------------------------
687 package permission::grp_tree;
689 permission::grp_tree->sequence( 'permission.grp_tree_id_seq' );
690 permission::grp_tree->table('permission.grp_tree');
692 #-------------------------------------------------------------------------------
694 package permission::usr_grp_map;
696 permission::usr_grp_map->sequence( 'permission.usr_grp_map_id_seq' );
697 permission::usr_grp_map->table('permission.usr_grp_map');
699 #-------------------------------------------------------------------------------
701 package permission::usr_work_ou_map;
702 permission::usr_work_ou_map->sequence('permission.usr_work_ou_map_id_seq');
703 permission::usr_work_ou_map->table('permission.usr_work_ou_map');
705 #-------------------------------------------------------------------------------
707 package permission::usr_perm_map;
709 permission::usr_perm_map->sequence( 'permission.usr_perm_map_id_seq' );
710 permission::usr_perm_map->table('permission.usr_perm_map');
712 #-------------------------------------------------------------------------------
714 package permission::grp_perm_map;
716 permission::grp_perm_map->sequence( 'permission.grp_perm_map_id_seq' );
717 permission::grp_perm_map->table('permission.grp_perm_map');
719 #-------------------------------------------------------------------------------
721 package action::hold_request;
723 action::hold_request->sequence( 'action.hold_request_id_seq' );
724 action::hold_request->table('action.hold_request');
726 #-------------------------------------------------------------------------------
728 package action::hold_notification;
730 action::hold_notification->sequence( 'action.hold_notification_id_seq' );
731 action::hold_notification->table('action.hold_notification');
733 #-------------------------------------------------------------------------------
735 package action::hold_copy_map;
737 action::hold_copy_map->sequence( 'action.hold_copy_map_id_seq' );
738 action::hold_copy_map->table('action.hold_copy_map');
740 #-------------------------------------------------------------------------------
742 package action::hold_transit_copy;
744 action::hold_transit_copy->sequence( 'action.transit_copy_id_seq' );
745 action::hold_transit_copy->table('action.hold_transit_copy');
747 #-------------------------------------------------------------------------------
749 package action::reservation_transit_copy;
751 action::reservation_transit_copy->sequence( 'action.transit_copy_id_seq' );
752 action::reservation_transit_copy->table('action.reservation_transit_copy');
754 #-------------------------------------------------------------------------------
756 package action::transit_copy;
758 action::transit_copy->sequence( 'action.transit_copy_id_seq' );
759 action::transit_copy->table('action.transit_copy');
761 #-------------------------------------------------------------------------------
763 package action::unfulfilled_hold_list;
765 action::unfulfilled_hold_list->sequence( 'action.unfulfilled_hold_list_id_seq' );
766 action::unfulfilled_hold_list->table('action.unfulfilled_hold_list');
768 #-------------------------------------------------------------------------------
770 package serial::subscription;
772 serial::subscription->sequence( 'serial.subscription_id_seq' );
773 serial::subscription->table('serial.subscription');
775 #-------------------------------------------------------------------------------
777 package serial::issuance;
779 serial::issuance->sequence( 'serial.issuance_id_seq' );
780 serial::issuance->table('serial.issuance');
782 #-------------------------------------------------------------------------------
784 package serial::item;
786 serial::item->sequence( 'serial.item_id_seq' );
787 serial::item->table('serial.item');
789 #-------------------------------------------------------------------------------
791 package serial::unit;
793 serial::unit->sequence( 'asset.copy_id_seq' );
794 serial::unit->table('serial.unit');
796 #-------------------------------------------------------------------------------
798 package config::language_map;
799 config::language_map->table('config.language_map');
801 #-------------------------------------------------------------------------------
803 package config::i18n_locale;
804 config::i18n_locale->table('config.i18n_locale');
806 #-------------------------------------------------------------------------------
808 package config::i18n_core;
809 config::i18n_core->sequence( 'config.i18n_core_id_seq' );
810 config::i18n_core->table('config.i18n_core');
812 #-------------------------------------------------------------------------------
814 package config::item_form_map;
815 config::item_form_map->table('config.item_form_map');
817 #-------------------------------------------------------------------------------
819 package config::lit_form_map;
820 config::lit_form_map->table('config.lit_form_map');
822 #-------------------------------------------------------------------------------
824 package config::item_type_map;
825 config::item_type_map->table('config.item_type_map');
827 #-------------------------------------------------------------------------------
828 package config::audience_map;
829 config::audience_map->table('config.audience_map');
831 #-------------------------------------------------------------------------------
839 metabib::title_field_entry
840 metabib::author_field_entry
841 metabib::subject_field_entry
842 metabib::keyword_field_entry
843 metabib::series_field_entry
844 metabib::metarecord_source_map
845 metabib::record_descriptor
847 authority::record_descriptor
851 (my $method_class = $class) =~ s/::/./go;
853 for my $type ( qw/create create_start create_push create_finish/ ) {
854 my ($name,$part) = split('_', $type);
856 my $apiname = "open-ils.storage.direct.$method_class.batch.$name";
857 $apiname .= ".$part" if ($part);
859 OpenILS::Application::Storage->register_method(
860 api_name => $apiname,
861 method => "copy_$type",
863 'package' => 'OpenILS::Application::Storage',