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 #---------------------------------------------------------------------
379 package asset::copy_location_group;
381 asset::copy_location_group->table( 'asset.copy_location_group' );
382 asset::copy_location_group->sequence( 'asset.copy_location_group_id_seq' );
384 #---------------------------------------------------------------------
387 asset::copy->table( 'asset.copy' );
388 asset::copy->sequence( 'asset.copy_id_seq' );
390 #---------------------------------------------------------------------
391 package asset::stat_cat;
393 asset::stat_cat->table( 'asset.stat_cat' );
394 asset::stat_cat->sequence( 'asset.stat_cat_id_seq' );
396 #---------------------------------------------------------------------
397 package asset::stat_cat_entry;
399 asset::stat_cat_entry->table( 'asset.stat_cat_entry' );
400 asset::stat_cat_entry->sequence( 'asset.stat_cat_entry_id_seq' );
402 #---------------------------------------------------------------------
403 package asset::stat_cat_entry_copy_map;
405 asset::stat_cat_entry_copy_map->table( 'asset.stat_cat_entry_copy_map' );
406 asset::stat_cat_entry_copy_map->sequence( 'asset.stat_cat_entry_copy_map_id_seq' );
408 #---------------------------------------------------------------------
409 package authority::record_entry;
411 authority::record_entry->table( 'authority.record_entry' );
412 authority::record_entry->sequence( 'authority.record_entry_id_seq' );
414 #---------------------------------------------------------------------
415 package biblio::record_entry;
417 biblio::record_entry->table( 'biblio.record_entry' );
418 biblio::record_entry->sequence( 'biblio.record_entry_id_seq' );
420 #---------------------------------------------------------------------
421 #package biblio::record_marc;
423 #biblio::record_marc->table( 'biblio.record_marc' );
424 #biblio::record_marc->sequence( 'biblio.record_marc_id_seq' );
426 #---------------------------------------------------------------------
427 package authority::record_note;
429 authority::record_note->table( 'authority.record_note' );
430 authority::record_note->sequence( 'authority.record_note_id_seq' );
432 #---------------------------------------------------------------------
433 package biblio::record_note;
435 biblio::record_note->table( 'biblio.record_note' );
436 biblio::record_note->sequence( 'biblio.record_note_id_seq' );
438 #---------------------------------------------------------------------
439 package actor::workstation;
441 actor::workstation->table( 'actor.workstation' );
442 actor::workstation->sequence( 'actor.workstation_id_seq' );
444 #---------------------------------------------------------------------
447 actor::user->table( 'actor.usr' );
448 actor::user->sequence( 'actor.usr_id_seq' );
450 #---------------------------------------------------------------------
451 package actor::org_unit::closed_date;
453 actor::org_unit::closed_date->table( 'actor.org_unit_closed' );
454 actor::org_unit::closed_date->sequence( 'actor.org_unit_closed_id_seq' );
456 #---------------------------------------------------------------------
457 package actor::org_unit_setting;
459 actor::org_unit_setting->table( 'actor.org_unit_setting' );
460 actor::org_unit_setting->sequence( 'actor.org_unit_setting_id_seq' );
462 #---------------------------------------------------------------------
463 package actor::user_standing_penalty;
465 actor::user_standing_penalty->table( 'actor.usr_standing_penalty' );
466 actor::user_standing_penalty->sequence( 'actor.usr_standing_penalty_id_seq' );
468 #---------------------------------------------------------------------
469 package actor::user_setting;
471 actor::user_setting->table( 'actor.usr_setting' );
472 actor::user_setting->sequence( 'actor.usr_setting_id_seq' );
474 #---------------------------------------------------------------------
475 package actor::user_address;
477 actor::user_address->table( 'actor.usr_address' );
478 actor::user_address->sequence( 'actor.usr_address_id_seq' );
480 #---------------------------------------------------------------------
481 package actor::org_address;
483 actor::org_address->table( 'actor.org_address' );
484 actor::org_address->sequence( 'actor.org_address_id_seq' );
486 #---------------------------------------------------------------------
487 package actor::usr_org_unit_opt_in;
489 actor::usr_org_unit_opt_in->table( 'actor.usr_org_unit_opt_in' );
490 actor::usr_org_unit_opt_in->sequence( 'actor.usr_org_unit_opt_in_id_seq' );
492 #---------------------------------------------------------------------
493 package actor::org_unit_proximity;
495 actor::org_unit_proximity->table( 'actor.org_unit_proximity' );
496 actor::org_unit_proximity->sequence( 'actor.org_unit_proximity_id_seq' );
498 #---------------------------------------------------------------------
499 package actor::org_unit_type;
501 actor::org_unit_type->table( 'actor.org_unit_type' );
502 actor::org_unit_type->sequence( 'actor.org_unit_type_id_seq' );
504 #---------------------------------------------------------------------
505 package actor::org_unit::hours_of_operation;
507 actor::org_unit::hours_of_operation->table( 'actor.hours_of_operation' );
509 #---------------------------------------------------------------------
510 package actor::org_unit;
512 actor::org_unit->table( 'actor.org_unit' );
513 actor::org_unit->sequence( 'actor.org_unit_id_seq' );
515 #---------------------------------------------------------------------
516 package actor::stat_cat;
518 actor::stat_cat->table( 'actor.stat_cat' );
519 actor::stat_cat->sequence( 'actor.stat_cat_id_seq' );
521 #---------------------------------------------------------------------
522 package actor::stat_cat_entry;
524 actor::stat_cat_entry->table( 'actor.stat_cat_entry' );
525 actor::stat_cat_entry->sequence( 'actor.stat_cat_entry_id_seq' );
527 #---------------------------------------------------------------------
528 package actor::stat_cat_entry_default;
530 actor::stat_cat_entry_default->table( 'actor.stat_cat_entry_default' );
531 actor::stat_cat_entry_default->sequence( 'actor.stat_cat_entry_default_id_seq' );
533 #---------------------------------------------------------------------
534 package actor::stat_cat_entry_user_map;
536 actor::stat_cat_entry_user_map->table( 'actor.stat_cat_entry_usr_map' );
537 actor::stat_cat_entry_user_map->sequence( 'actor.stat_cat_entry_usr_map_id_seq' );
539 #---------------------------------------------------------------------
542 actor::card->table( 'actor.card' );
543 actor::card->sequence( 'actor.card_id_seq' );
545 #---------------------------------------------------------------------
546 package actor::usr_note;
548 actor::usr_note->table( 'actor.usr_note' );
549 actor::usr_note->sequence( 'actor.usr_note_id_seq' );
551 #---------------------------------------------------------------------
553 #-------------------------------------------------------------------------------
554 package metabib::metarecord;
556 metabib::metarecord->table( 'metabib.metarecord' );
557 metabib::metarecord->sequence( 'metabib.metarecord_id_seq' );
560 #-------------------------------------------------------------------------------
562 #-------------------------------------------------------------------------------
563 package metabib::identifier_field_entry;
565 metabib::identifier_field_entry->table( 'metabib.identifier_field_entry' );
566 metabib::identifier_field_entry->sequence( 'metabib.identifier_field_entry_id_seq' );
567 metabib::identifier_field_entry->columns( 'FTS' => 'index_vector' );
569 #-------------------------------------------------------------------------------
571 #-------------------------------------------------------------------------------
572 package metabib::title_field_entry;
574 metabib::title_field_entry->table( 'metabib.title_field_entry' );
575 metabib::title_field_entry->sequence( 'metabib.title_field_entry_id_seq' );
576 metabib::title_field_entry->columns( 'FTS' => 'index_vector' );
578 # metabib::title_field_entry->add_trigger(
579 # before_create => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
581 # metabib::title_field_entry->add_trigger(
582 # before_update => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
585 #-------------------------------------------------------------------------------
587 #-------------------------------------------------------------------------------
588 package metabib::author_field_entry;
590 metabib::author_field_entry->table( 'metabib.author_field_entry' );
591 metabib::author_field_entry->sequence( 'metabib.author_field_entry_id_seq' );
592 metabib::author_field_entry->columns( 'FTS' => 'index_vector' );
594 #-------------------------------------------------------------------------------
596 #-------------------------------------------------------------------------------
597 package metabib::subject_field_entry;
599 metabib::subject_field_entry->table( 'metabib.subject_field_entry' );
600 metabib::subject_field_entry->sequence( 'metabib.subject_field_entry_id_seq' );
601 metabib::subject_field_entry->columns( 'FTS' => 'index_vector' );
603 #-------------------------------------------------------------------------------
605 #-------------------------------------------------------------------------------
606 package metabib::keyword_field_entry;
608 metabib::keyword_field_entry->table( 'metabib.keyword_field_entry' );
609 metabib::keyword_field_entry->sequence( 'metabib.keyword_field_entry_id_seq' );
610 metabib::keyword_field_entry->columns( 'FTS' => 'index_vector' );
612 #-------------------------------------------------------------------------------
613 package metabib::series_field_entry;
615 metabib::series_field_entry->table( 'metabib.series_field_entry' );
616 metabib::series_field_entry->sequence( 'metabib.series_field_entry_id_seq' );
617 metabib::series_field_entry->columns( 'FTS' => 'index_vector' );
619 #-------------------------------------------------------------------------------
621 #-------------------------------------------------------------------------------
622 #package metabib::title_field_entry_source_map;
624 #metabib::title_field_entry_source_map->table( 'metabib.title_field_entry_source_map' );
626 #-------------------------------------------------------------------------------
628 #-------------------------------------------------------------------------------
629 #package metabib::author_field_entry_source_map;
631 #metabib::author_field_entry_source_map->table( 'metabib.author_field_entry_source_map' );
633 #-------------------------------------------------------------------------------
635 #-------------------------------------------------------------------------------
636 #package metabib::subject_field_entry_source_map;
638 #metabib::subject_field_entry_source_map->table( 'metabib.subject_field_entry_source_map' );
640 #-------------------------------------------------------------------------------
642 #-------------------------------------------------------------------------------
643 #package metabib::keyword_field_entry_source_map;
645 #metabib::keyword_field_entry_source_map->table( 'metabib.keyword_field_entry_source_map' );
647 #-------------------------------------------------------------------------------
649 #-------------------------------------------------------------------------------
650 package metabib::metarecord_source_map;
652 metabib::metarecord_source_map->table( 'metabib.metarecord_source_map' );
653 metabib::metarecord_source_map->sequence( 'metabib.metarecord_source_map_id_seq' );
655 #-------------------------------------------------------------------------------
656 package authority::record_descriptor;
658 authority::record_descriptor->table( 'authority.rec_descriptor' );
659 authority::record_descriptor->sequence( 'authority.rec_descriptor_id_seq' );
661 #-------------------------------------------------------------------------------
662 package metabib::record_descriptor;
664 metabib::record_descriptor->table( 'metabib.rec_descriptor' );
665 metabib::record_descriptor->sequence( 'metabib.rec_descriptor_id_seq' );
667 #-------------------------------------------------------------------------------
670 #-------------------------------------------------------------------------------
671 package authority::full_rec;
673 authority::full_rec->table( 'authority.full_rec' );
674 authority::full_rec->sequence( 'authority.full_rec_id_seq' );
675 authority::full_rec->columns( 'FTS' => 'index_vector' );
677 #-------------------------------------------------------------------------------
678 package metabib::full_rec;
680 metabib::full_rec->table( 'metabib.full_rec' );
681 metabib::full_rec->sequence( 'metabib.full_rec_id_seq' );
682 metabib::full_rec->columns( 'FTS' => 'index_vector' );
684 #-------------------------------------------------------------------------------
686 package permission::perm_list;
688 permission::perm_list->sequence( 'permission.perm_list_id_seq' );
689 permission::perm_list->table('permission.perm_list');
691 #-------------------------------------------------------------------------------
693 package permission::grp_tree;
695 permission::grp_tree->sequence( 'permission.grp_tree_id_seq' );
696 permission::grp_tree->table('permission.grp_tree');
698 #-------------------------------------------------------------------------------
700 package permission::usr_grp_map;
702 permission::usr_grp_map->sequence( 'permission.usr_grp_map_id_seq' );
703 permission::usr_grp_map->table('permission.usr_grp_map');
705 #-------------------------------------------------------------------------------
707 package permission::usr_work_ou_map;
708 permission::usr_work_ou_map->sequence('permission.usr_work_ou_map_id_seq');
709 permission::usr_work_ou_map->table('permission.usr_work_ou_map');
711 #-------------------------------------------------------------------------------
713 package permission::usr_perm_map;
715 permission::usr_perm_map->sequence( 'permission.usr_perm_map_id_seq' );
716 permission::usr_perm_map->table('permission.usr_perm_map');
718 #-------------------------------------------------------------------------------
720 package permission::grp_perm_map;
722 permission::grp_perm_map->sequence( 'permission.grp_perm_map_id_seq' );
723 permission::grp_perm_map->table('permission.grp_perm_map');
725 #-------------------------------------------------------------------------------
727 package action::hold_request;
729 action::hold_request->sequence( 'action.hold_request_id_seq' );
730 action::hold_request->table('action.hold_request');
732 #-------------------------------------------------------------------------------
734 package action::hold_notification;
736 action::hold_notification->sequence( 'action.hold_notification_id_seq' );
737 action::hold_notification->table('action.hold_notification');
739 #-------------------------------------------------------------------------------
741 package action::hold_copy_map;
743 action::hold_copy_map->sequence( 'action.hold_copy_map_id_seq' );
744 action::hold_copy_map->table('action.hold_copy_map');
746 #-------------------------------------------------------------------------------
748 package action::hold_transit_copy;
750 action::hold_transit_copy->sequence( 'action.transit_copy_id_seq' );
751 action::hold_transit_copy->table('action.hold_transit_copy');
753 #-------------------------------------------------------------------------------
755 package action::reservation_transit_copy;
757 action::reservation_transit_copy->sequence( 'action.transit_copy_id_seq' );
758 action::reservation_transit_copy->table('action.reservation_transit_copy');
760 #-------------------------------------------------------------------------------
762 package action::transit_copy;
764 action::transit_copy->sequence( 'action.transit_copy_id_seq' );
765 action::transit_copy->table('action.transit_copy');
767 #-------------------------------------------------------------------------------
769 package action::unfulfilled_hold_list;
771 action::unfulfilled_hold_list->sequence( 'action.unfulfilled_hold_list_id_seq' );
772 action::unfulfilled_hold_list->table('action.unfulfilled_hold_list');
774 #-------------------------------------------------------------------------------
776 package serial::subscription;
778 serial::subscription->sequence( 'serial.subscription_id_seq' );
779 serial::subscription->table('serial.subscription');
781 #-------------------------------------------------------------------------------
783 package serial::issuance;
785 serial::issuance->sequence( 'serial.issuance_id_seq' );
786 serial::issuance->table('serial.issuance');
788 #-------------------------------------------------------------------------------
790 package serial::item;
792 serial::item->sequence( 'serial.item_id_seq' );
793 serial::item->table('serial.item');
795 #-------------------------------------------------------------------------------
797 package serial::unit;
799 serial::unit->sequence( 'asset.copy_id_seq' );
800 serial::unit->table('serial.unit');
802 #-------------------------------------------------------------------------------
804 package config::language_map;
805 config::language_map->table('config.language_map');
807 #-------------------------------------------------------------------------------
809 package config::i18n_locale;
810 config::i18n_locale->table('config.i18n_locale');
812 #-------------------------------------------------------------------------------
814 package config::i18n_core;
815 config::i18n_core->sequence( 'config.i18n_core_id_seq' );
816 config::i18n_core->table('config.i18n_core');
818 #-------------------------------------------------------------------------------
820 package config::item_form_map;
821 config::item_form_map->table('config.item_form_map');
823 #-------------------------------------------------------------------------------
825 package config::lit_form_map;
826 config::lit_form_map->table('config.lit_form_map');
828 #-------------------------------------------------------------------------------
830 package config::item_type_map;
831 config::item_type_map->table('config.item_type_map');
833 #-------------------------------------------------------------------------------
834 package config::audience_map;
835 config::audience_map->table('config.audience_map');
837 #-------------------------------------------------------------------------------
845 metabib::title_field_entry
846 metabib::author_field_entry
847 metabib::subject_field_entry
848 metabib::keyword_field_entry
849 metabib::series_field_entry
850 metabib::metarecord_source_map
851 metabib::record_descriptor
853 authority::record_descriptor
857 (my $method_class = $class) =~ s/::/./go;
859 for my $type ( qw/create create_start create_push create_finish/ ) {
860 my ($name,$part) = split('_', $type);
862 my $apiname = "open-ils.storage.direct.$method_class.batch.$name";
863 $apiname .= ".$part" if ($part);
865 OpenILS::Application::Storage->register_method(
866 api_name => $apiname,
867 method => "copy_$type",
869 'package' => 'OpenILS::Application::Storage',