]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm
Correct long-standing, wide-spread "recurance" and "recuring" typos.
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / Driver / Pg / dbi.pm
1 {
2
3         #-------------------------------------------------------------------------------
4         package container::user_bucket;
5
6         container::user_bucket->table( 'container.user_bucket' );
7         container::user_bucket->sequence( 'container.user_bucket_id_seq' );
8
9         #-------------------------------------------------------------------------------
10         package container::user_bucket_item;
11
12         container::user_bucket_item->table( 'container.user_bucket_item' );
13         container::user_bucket_item->sequence( 'container.user_bucket_item_id_seq' );
14
15         #-------------------------------------------------------------------------------
16         package container::copy_bucket;
17
18         container::copy_bucket->table( 'container.copy_bucket' );
19         container::copy_bucket->sequence( 'container.copy_bucket_id_seq' );
20
21         #-------------------------------------------------------------------------------
22         package container::copy_bucket_item;
23
24         container::copy_bucket_item->table( 'container.copy_bucket_item' );
25         container::copy_bucket_item->sequence( 'container.copy_bucket_item_id_seq' );
26
27         #-------------------------------------------------------------------------------
28         package container::call_number_bucket;
29
30         container::call_number_bucket->table( 'container.call_number_bucket' );
31         container::call_number_bucket->sequence( 'container.call_number_bucket_id_seq' );
32
33         #-------------------------------------------------------------------------------
34         package container::call_number_bucket_item;
35
36         container::call_number_bucket_item->table( 'container.call_number_bucket_item' );
37         container::call_number_bucket_item->sequence( 'container.call_number_bucket_item_id_seq' );
38
39         #-------------------------------------------------------------------------------
40         package container::biblio_record_entry_bucket;
41
42         container::biblio_record_entry_bucket->table( 'container.biblio_record_entry_bucket' );
43         container::biblio_record_entry_bucket->sequence( 'container.biblio_record_entry_bucket_id_seq' );
44
45         #-------------------------------------------------------------------------------
46         package container::biblio_record_entry_bucket_item;
47
48         container::biblio_record_entry_bucket_item->table( 'container.biblio_record_entry_bucket_item' );
49         container::biblio_record_entry_bucket_item->sequence( 'container.biblio_record_entry_bucket_item_id_seq' );
50
51         #---------------------------------------------------------------------
52         package money::grocery;
53         
54         money::grocery->table( 'money.grocery' );
55         money::grocery->sequence( 'money.billable_xact_id_seq' );
56
57         #---------------------------------------------------------------------
58         package money::collections_tracker;
59         
60         money::collections_tracker->table( 'money.collections_tracker' );
61         money::collections_tracker->sequence( 'money.collections_tracker_id_seq' );
62
63         #---------------------------------------------------------------------
64         package money::billable_transaction;
65         
66         money::billable_transaction->table( 'money.billable_xact' );
67         money::billable_transaction->sequence( 'money.billable_xact_id_seq' );
68
69         #---------------------------------------------------------------------
70         package money::billing;
71         
72         money::billing->table( 'money.billing' );
73         money::billing->sequence( 'money.billing_id_seq' );
74
75         #---------------------------------------------------------------------
76         package money::desk_payment;
77         
78         money::desk_payment->table( 'money.desk_payment_view' );
79
80         #---------------------------------------------------------------------
81         package money::payment;
82         
83         money::payment->table( 'money.payment_view' );
84
85         #---------------------------------------------------------------------
86         package money::cash_payment;
87         
88         money::cash_payment->table( 'money.cash_payment' );
89         money::cash_payment->sequence( 'money.payment_id_seq' );
90
91         #---------------------------------------------------------------------
92         package money::check_payment;
93         
94         money::check_payment->table( 'money.check_payment' );
95         money::check_payment->sequence( 'money.payment_id_seq' );
96
97         #---------------------------------------------------------------------
98         package money::credit_payment;
99         
100         money::credit_payment->table( 'money.credit_payment' );
101         money::credit_payment->sequence( 'money.payment_id_seq' );
102
103         #---------------------------------------------------------------------
104         package money::credit_card_payment;
105         
106         money::credit_card_payment->table( 'money.credit_card_payment' );
107         money::credit_card_payment->sequence( 'money.payment_id_seq' );
108
109         #---------------------------------------------------------------------
110         package money::work_payment;
111         
112         money::work_payment->table( 'money.work_payment' );
113         money::work_payment->sequence( 'money.payment_id_seq' );
114
115         #---------------------------------------------------------------------
116         package money::goods_payment;
117         
118         money::goods_payment->table( 'money.goods_payment' );
119         money::goods_payment->sequence( 'money.payment_id_seq' );
120
121         #---------------------------------------------------------------------
122         package money::forgive_payment;
123         
124         money::forgive_payment->table( 'money.forgive_payment' );
125         money::forgive_payment->sequence( 'money.payment_id_seq' );
126
127         #---------------------------------------------------------------------
128         package money::open_billable_transaction_summary;
129         
130         money::open_billable_transaction_summary->table( 'money.open_billable_xact_summary' );
131
132         #---------------------------------------------------------------------
133         package money::billable_transaction_summary;
134         
135         money::billable_transaction_summary->table( 'money.billable_xact_summary' );
136
137         #---------------------------------------------------------------------
138         package money::open_user_summary;
139         
140         money::open_user_summary->table( 'money.open_usr_summary' );
141
142         #---------------------------------------------------------------------
143         package money::user_summary;
144         
145         money::user_summary->table( 'money.usr_summary' );
146
147         #---------------------------------------------------------------------
148         package money::open_user_circulation_summary;
149         
150         money::open_user_circulation_summary->table( 'money.open_usr_circulation_summary' );
151
152         #---------------------------------------------------------------------
153         package money::user_circulation_summary;
154         
155         money::user_circulation_summary->table( 'money.usr_circulation_summary' );
156
157         #---------------------------------------------------------------------
158         package action::circulation;
159         
160         action::circulation->table( 'action.circulation' );
161         action::circulation->sequence( 'money.billable_xact_id_seq' );
162
163         #---------------------------------------------------------------------
164         package action::non_cat_in_house_use;
165         
166         action::non_cat_in_house_use->table( 'action.non_cat_in_house_use' );
167         action::non_cat_in_house_use->sequence( 'action.non_cat_in_house_use_id_seq' );
168
169         #---------------------------------------------------------------------
170         package action::in_house_use;
171         
172         action::in_house_use->table( 'action.in_house_use' );
173         action::in_house_use->sequence( 'action.in_house_use_id_seq' );
174
175         #---------------------------------------------------------------------
176         package action::non_cataloged_circulation;
177         
178         action::non_cataloged_circulation->table( 'action.non_cataloged_circulation' );
179         action::non_cataloged_circulation->sequence( 'action.non_cataloged_circulation_id_seq' );
180
181         #---------------------------------------------------------------------
182         package action::open_circulation;
183         
184         action::open_circulation->table( 'action.open_circulation' );
185
186         #---------------------------------------------------------------------
187         package action::survey;
188         
189         action::survey->table( 'action.survey' );
190         action::survey->sequence( 'action.survey_id_seq' );
191         
192         #---------------------------------------------------------------------
193         package action::survey_question;
194         
195         action::survey_question->table( 'action.survey_question' );
196         action::survey_question->sequence( 'action.survey_question_id_seq' );
197         
198         #---------------------------------------------------------------------
199         package action::survey_answer;
200         
201         action::survey_answer->table( 'action.survey_answer' );
202         action::survey_answer->sequence( 'action.survey_answer_id_seq' );
203         
204         #---------------------------------------------------------------------
205         package action::survey_response;
206         
207         action::survey_response->table( 'action.survey_response' );
208         action::survey_response->sequence( 'action.survey_response_id_seq' );
209         
210         #---------------------------------------------------------------------
211         package config::non_cataloged_type;
212         
213         config::non_cataloged_type->table( 'config.non_cataloged_type' );
214         config::non_cataloged_type->sequence( 'config.non_cataloged_type_id_seq' );
215
216         #---------------------------------------------------------------------
217         package config::copy_status;
218         
219         config::copy_status->table( 'config.copy_status' );
220         config::copy_status->sequence( 'config.copy_status_id_seq' );
221
222         #---------------------------------------------------------------------
223         package config::rules::circ_duration;
224         
225         config::rules::circ_duration->table( 'config.rule_circ_duration' );
226         config::rules::circ_duration->sequence( 'config.rule_circ_duration_id_seq' );
227         
228         #---------------------------------------------------------------------
229         package config::rules::age_hold_protect;
230         
231         config::rules::age_hold_protect->table( 'config.rule_age_hold_protect' );
232         config::rules::age_hold_protect->sequence( 'config.rule_age_hold_protect_id_seq' );
233         
234         #---------------------------------------------------------------------
235         package config::rules::max_fine;
236         
237         config::rules::max_fine->table( 'config.rule_max_fine' );
238         config::rules::max_fine->sequence( 'config.rule_max_fine_id_seq' );
239         
240         #---------------------------------------------------------------------
241         package config::rules::recurring_fine;
242         
243         config::rules::recurring_fine->table( 'config.rule_recurring_fine' );
244         config::rules::recurring_fine->sequence( 'config.rule_recurring_fine_id_seq' );
245         
246         #---------------------------------------------------------------------
247         package config::net_access_level;
248         
249         config::net_access_level->table( 'config.net_access_level' );
250         config::net_access_level->sequence( 'config.net_access_level_id_seq' );
251         
252         #---------------------------------------------------------------------
253         package config::standing;
254         
255         config::standing->table( 'config.standing' );
256         config::standing->sequence( 'config.standing_id_seq' );
257         
258         #---------------------------------------------------------------------
259         package config::metabib_field;
260         
261         config::metabib_field->table( 'config.metabib_field' );
262         config::metabib_field->sequence( 'config.metabib_field_id_seq' );
263         
264         #---------------------------------------------------------------------
265         package config::bib_source;
266         
267         config::bib_source->table( 'config.bib_source' );
268         config::bib_source->sequence( 'config.bib_source_id_seq' );
269         
270         #---------------------------------------------------------------------
271         package config::identification_type;
272         
273         config::identification_type->table( 'config.identification_type' );
274         config::identification_type->sequence( 'config.identification_type_id_seq' );
275         
276         #---------------------------------------------------------------------
277         package asset::call_number_note;
278         
279         asset::call_number_note->table( 'asset.call_number_note' );
280         asset::call_number_note->sequence( 'asset.call_number_note_id_seq' );
281         
282         #---------------------------------------------------------------------
283         package asset::copy_note;
284         
285         asset::copy_note->table( 'asset.copy_note' );
286         asset::copy_note->sequence( 'asset.copy_note_id_seq' );
287
288         #---------------------------------------------------------------------
289         package asset::call_number;
290         
291         asset::call_number->table( 'asset.call_number' );
292         asset::call_number->sequence( 'asset.call_number_id_seq' );
293         
294         #---------------------------------------------------------------------
295         package asset::copy_location_order;
296         
297         asset::copy_location_order->table( 'asset.copy_location_order' );
298         asset::copy_location_order->sequence( 'asset.copy_location_order_id_seq' );
299
300         #---------------------------------------------------------------------
301         package asset::copy_location;
302         
303         asset::copy_location->table( 'asset.copy_location' );
304         asset::copy_location->sequence( 'asset.copy_location_id_seq' );
305
306         #---------------------------------------------------------------------
307         package asset::copy;
308         
309         asset::copy->table( 'asset.copy' );
310         asset::copy->sequence( 'asset.copy_id_seq' );
311
312         #---------------------------------------------------------------------
313         package asset::stat_cat;
314         
315         asset::stat_cat->table( 'asset.stat_cat' );
316         asset::stat_cat->sequence( 'asset.stat_cat_id_seq' );
317         
318         #---------------------------------------------------------------------
319         package asset::stat_cat_entry;
320         
321         asset::stat_cat_entry->table( 'asset.stat_cat_entry' );
322         asset::stat_cat_entry->sequence( 'asset.stat_cat_entry_id_seq' );
323         
324         #---------------------------------------------------------------------
325         package asset::stat_cat_entry_copy_map;
326         
327         asset::stat_cat_entry_copy_map->table( 'asset.stat_cat_entry_copy_map' );
328         asset::stat_cat_entry_copy_map->sequence( 'asset.stat_cat_entry_copy_map_id_seq' );
329         
330         #---------------------------------------------------------------------
331         package authority::record_entry;
332         
333         authority::record_entry->table( 'authority.record_entry' );
334         authority::record_entry->sequence( 'authority.record_entry_id_seq' );
335
336         #---------------------------------------------------------------------
337         package biblio::record_entry;
338         
339         biblio::record_entry->table( 'biblio.record_entry' );
340         biblio::record_entry->sequence( 'biblio.record_entry_id_seq' );
341
342         #---------------------------------------------------------------------
343         #package biblio::record_marc;
344         #
345         #biblio::record_marc->table( 'biblio.record_marc' );
346         #biblio::record_marc->sequence( 'biblio.record_marc_id_seq' );
347         #
348         #---------------------------------------------------------------------
349         package authority::record_note;
350         
351         authority::record_note->table( 'authority.record_note' );
352         authority::record_note->sequence( 'authority.record_note_id_seq' );
353
354         #---------------------------------------------------------------------
355         package biblio::record_note;
356         
357         biblio::record_note->table( 'biblio.record_note' );
358         biblio::record_note->sequence( 'biblio.record_note_id_seq' );
359         
360         #---------------------------------------------------------------------
361         package actor::workstation;
362         
363         actor::workstation->table( 'actor.workstation' );
364         actor::workstation->sequence( 'actor.workstation_id_seq' );
365
366         #---------------------------------------------------------------------
367         package actor::user;
368         
369         actor::user->table( 'actor.usr' );
370         actor::user->sequence( 'actor.usr_id_seq' );
371
372         #---------------------------------------------------------------------
373         package actor::org_unit::closed_date;
374         
375         actor::org_unit::closed_date->table( 'actor.org_unit_closed' );
376         actor::org_unit::closed_date->sequence( 'actor.org_unit_closed_id_seq' );
377
378         #---------------------------------------------------------------------
379         package actor::org_unit_setting;
380         
381         actor::org_unit_setting->table( 'actor.org_unit_setting' );
382         actor::org_unit_setting->sequence( 'actor.org_unit_setting_id_seq' );
383
384         #---------------------------------------------------------------------
385         package actor::user_standing_penalty;
386         
387         actor::user_standing_penalty->table( 'actor.usr_standing_penalty' );
388         actor::user_standing_penalty->sequence( 'actor.usr_standing_penalty_id_seq' );
389
390         #---------------------------------------------------------------------
391         package actor::user_setting;
392         
393         actor::user_setting->table( 'actor.usr_setting' );
394         actor::user_setting->sequence( 'actor.usr_setting_id_seq' );
395
396         #---------------------------------------------------------------------
397         package actor::user_address;
398         
399         actor::user_address->table( 'actor.usr_address' );
400         actor::user_address->sequence( 'actor.usr_address_id_seq' );
401
402         #---------------------------------------------------------------------
403         package actor::org_address;
404         
405         actor::org_address->table( 'actor.org_address' );
406         actor::org_address->sequence( 'actor.org_address_id_seq' );
407         
408         #---------------------------------------------------------------------
409         package actor::usr_org_unit_opt_in;
410         
411         actor::usr_org_unit_opt_in->table( 'actor.usr_org_unit_opt_in' );
412         actor::usr_org_unit_opt_in->sequence( 'actor.usr_org_unit_opt_in_id_seq' );
413
414         #---------------------------------------------------------------------
415         package actor::org_unit_proximity;
416         
417         actor::org_unit_proximity->table( 'actor.org_unit_proximity' );
418         actor::org_unit_proximity->sequence( 'actor.org_unit_proximity_id_seq' );
419
420         #---------------------------------------------------------------------
421         package actor::org_unit_type;
422         
423         actor::org_unit_type->table( 'actor.org_unit_type' );
424         actor::org_unit_type->sequence( 'actor.org_unit_type_id_seq' );
425
426         #---------------------------------------------------------------------
427         package actor::org_unit::hours_of_operation;
428         
429         actor::org_unit::hours_of_operation->table( 'actor.hours_of_operation' );
430
431         #---------------------------------------------------------------------
432         package actor::org_unit;
433         
434         actor::org_unit->table( 'actor.org_unit' );
435         actor::org_unit->sequence( 'actor.org_unit_id_seq' );
436
437         #---------------------------------------------------------------------
438         package actor::stat_cat;
439         
440         actor::stat_cat->table( 'actor.stat_cat' );
441         actor::stat_cat->sequence( 'actor.stat_cat_id_seq' );
442         
443         #---------------------------------------------------------------------
444         package actor::stat_cat_entry;
445         
446         actor::stat_cat_entry->table( 'actor.stat_cat_entry' );
447         actor::stat_cat_entry->sequence( 'actor.stat_cat_entry_id_seq' );
448         
449         #---------------------------------------------------------------------
450         package actor::stat_cat_entry_user_map;
451         
452         actor::stat_cat_entry_user_map->table( 'actor.stat_cat_entry_usr_map' );
453         actor::stat_cat_entry_user_map->sequence( 'actor.stat_cat_entry_usr_map_id_seq' );
454         
455         #---------------------------------------------------------------------
456         package actor::card;
457         
458         actor::card->table( 'actor.card' );
459         actor::card->sequence( 'actor.card_id_seq' );
460
461         #---------------------------------------------------------------------
462         package actor::usr_note;
463         
464         actor::usr_note->table( 'actor.usr_note' );
465         actor::usr_note->sequence( 'actor.usr_note_id_seq' );
466
467         #---------------------------------------------------------------------
468
469         #-------------------------------------------------------------------------------
470         package metabib::metarecord;
471
472         metabib::metarecord->table( 'metabib.metarecord' );
473         metabib::metarecord->sequence( 'metabib.metarecord_id_seq' );
474
475
476         #-------------------------------------------------------------------------------
477
478         #-------------------------------------------------------------------------------
479         package metabib::title_field_entry;
480
481         metabib::title_field_entry->table( 'metabib.title_field_entry' );
482         metabib::title_field_entry->sequence( 'metabib.title_field_entry_id_seq' );
483         metabib::title_field_entry->columns( 'FTS' => 'index_vector' );
484
485 #       metabib::title_field_entry->add_trigger(
486 #               before_create => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
487 #       );
488 #       metabib::title_field_entry->add_trigger(
489 #               before_update => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
490 #       );
491
492         #-------------------------------------------------------------------------------
493
494         #-------------------------------------------------------------------------------
495         package metabib::author_field_entry;
496
497         metabib::author_field_entry->table( 'metabib.author_field_entry' );
498         metabib::author_field_entry->sequence( 'metabib.author_field_entry_id_seq' );
499         metabib::author_field_entry->columns( 'FTS' => 'index_vector' );
500
501         #-------------------------------------------------------------------------------
502
503         #-------------------------------------------------------------------------------
504         package metabib::subject_field_entry;
505
506         metabib::subject_field_entry->table( 'metabib.subject_field_entry' );
507         metabib::subject_field_entry->sequence( 'metabib.subject_field_entry_id_seq' );
508         metabib::subject_field_entry->columns( 'FTS' => 'index_vector' );
509
510         #-------------------------------------------------------------------------------
511
512         #-------------------------------------------------------------------------------
513         package metabib::keyword_field_entry;
514
515         metabib::keyword_field_entry->table( 'metabib.keyword_field_entry' );
516         metabib::keyword_field_entry->sequence( 'metabib.keyword_field_entry_id_seq' );
517         metabib::keyword_field_entry->columns( 'FTS' => 'index_vector' );
518
519         #-------------------------------------------------------------------------------
520         package metabib::series_field_entry;
521
522         metabib::series_field_entry->table( 'metabib.series_field_entry' );
523         metabib::series_field_entry->sequence( 'metabib.series_field_entry_id_seq' );
524         metabib::series_field_entry->columns( 'FTS' => 'index_vector' );
525
526         #-------------------------------------------------------------------------------
527
528         #-------------------------------------------------------------------------------
529         #package metabib::title_field_entry_source_map;
530
531         #metabib::title_field_entry_source_map->table( 'metabib.title_field_entry_source_map' );
532
533         #-------------------------------------------------------------------------------
534
535         #-------------------------------------------------------------------------------
536         #package metabib::author_field_entry_source_map;
537
538         #metabib::author_field_entry_source_map->table( 'metabib.author_field_entry_source_map' );
539
540         #-------------------------------------------------------------------------------
541
542         #-------------------------------------------------------------------------------
543         #package metabib::subject_field_entry_source_map;
544
545         #metabib::subject_field_entry_source_map->table( 'metabib.subject_field_entry_source_map' );
546
547         #-------------------------------------------------------------------------------
548
549         #-------------------------------------------------------------------------------
550         #package metabib::keyword_field_entry_source_map;
551
552         #metabib::keyword_field_entry_source_map->table( 'metabib.keyword_field_entry_source_map' );
553
554         #-------------------------------------------------------------------------------
555
556         #-------------------------------------------------------------------------------
557         package metabib::metarecord_source_map;
558
559         metabib::metarecord_source_map->table( 'metabib.metarecord_source_map' );
560         metabib::metarecord_source_map->sequence( 'metabib.metarecord_source_map_id_seq' );
561
562         #-------------------------------------------------------------------------------
563         package authority::record_descriptor;
564
565         authority::record_descriptor->table( 'authority.rec_descriptor' );
566         authority::record_descriptor->sequence( 'authority.rec_descriptor_id_seq' );
567
568         #-------------------------------------------------------------------------------
569         package metabib::record_descriptor;
570
571         metabib::record_descriptor->table( 'metabib.rec_descriptor' );
572         metabib::record_descriptor->sequence( 'metabib.rec_descriptor_id_seq' );
573
574         #-------------------------------------------------------------------------------
575
576
577         #-------------------------------------------------------------------------------
578         package authority::full_rec;
579
580         authority::full_rec->table( 'authority.full_rec' );
581         authority::full_rec->sequence( 'authority.full_rec_id_seq' );
582         authority::full_rec->columns( 'FTS' => 'index_vector' );
583
584         #-------------------------------------------------------------------------------
585         package metabib::full_rec;
586
587         metabib::full_rec->table( 'metabib.full_rec' );
588         metabib::full_rec->sequence( 'metabib.full_rec_id_seq' );
589         metabib::full_rec->columns( 'FTS' => 'index_vector' );
590
591         #-------------------------------------------------------------------------------
592
593         package permission::perm_list;
594
595         permission::perm_list->sequence( 'permission.perm_list_id_seq' );
596         permission::perm_list->table('permission.perm_list');
597
598         #-------------------------------------------------------------------------------
599
600         package permission::grp_tree;
601
602         permission::grp_tree->sequence( 'permission.grp_tree_id_seq' );
603         permission::grp_tree->table('permission.grp_tree');
604
605         #-------------------------------------------------------------------------------
606
607         package permission::usr_grp_map;
608
609         permission::usr_grp_map->sequence( 'permission.usr_grp_map_id_seq' );
610         permission::usr_grp_map->table('permission.usr_grp_map');
611
612         #-------------------------------------------------------------------------------
613
614         package permission::usr_work_ou_map;
615         permission::usr_work_ou_map->sequence('permission.usr_work_ou_map_id_seq');
616         permission::usr_work_ou_map->table('permission.usr_work_ou_map');
617
618         #-------------------------------------------------------------------------------
619
620         package permission::usr_perm_map;
621
622         permission::usr_perm_map->sequence( 'permission.usr_perm_map_id_seq' );
623         permission::usr_perm_map->table('permission.usr_perm_map');
624
625         #-------------------------------------------------------------------------------
626
627         package permission::grp_perm_map;
628
629         permission::grp_perm_map->sequence( 'permission.grp_perm_map_id_seq' );
630         permission::grp_perm_map->table('permission.grp_perm_map');
631
632         #-------------------------------------------------------------------------------
633
634         package action::hold_request;
635
636         action::hold_request->sequence( 'action.hold_request_id_seq' );
637         action::hold_request->table('action.hold_request');
638
639         #-------------------------------------------------------------------------------
640
641         package action::hold_notification;
642
643         action::hold_notification->sequence( 'action.hold_notification_id_seq' );
644         action::hold_notification->table('action.hold_notification');
645
646         #-------------------------------------------------------------------------------
647
648         package action::hold_copy_map;
649
650         action::hold_copy_map->sequence( 'action.hold_copy_map_id_seq' );
651         action::hold_copy_map->table('action.hold_copy_map');
652
653         #-------------------------------------------------------------------------------
654
655         package action::hold_transit_copy;
656
657         action::hold_transit_copy->sequence( 'action.transit_copy_id_seq' );
658         action::hold_transit_copy->table('action.hold_transit_copy');
659
660         #-------------------------------------------------------------------------------
661
662         package action::transit_copy;
663
664         action::transit_copy->sequence( 'action.transit_copy_id_seq' );
665         action::transit_copy->table('action.transit_copy');
666
667         #-------------------------------------------------------------------------------
668
669         package action::unfulfilled_hold_list;
670
671         action::unfulfilled_hold_list->sequence( 'action.unfulfilled_hold_list_id_seq' );
672         action::unfulfilled_hold_list->table('action.unfulfilled_hold_list');
673
674         #-------------------------------------------------------------------------------
675
676         package config::language_map;
677         config::language_map->table('config.language_map');
678
679         #-------------------------------------------------------------------------------
680
681         package config::i18n_locale;
682         config::i18n_locale->table('config.i18n_locale');
683
684         #-------------------------------------------------------------------------------
685
686         package config::i18n_core;
687         config::i18n_core->sequence( 'config.i18n_core_id_seq' );
688         config::i18n_core->table('config.i18n_core');
689
690         #-------------------------------------------------------------------------------
691
692         package config::item_form_map;
693         config::item_form_map->table('config.item_form_map');
694
695         #-------------------------------------------------------------------------------
696
697         package config::lit_form_map;
698         config::lit_form_map->table('config.lit_form_map');
699
700         #-------------------------------------------------------------------------------
701
702         package config::item_type_map;
703         config::item_type_map->table('config.item_type_map');
704
705         #-------------------------------------------------------------------------------
706         package config::audience_map;
707         config::audience_map->table('config.audience_map');
708
709         #-------------------------------------------------------------------------------
710
711
712 }
713
714 for my $class ( qw/
715                         biblio::record_entry
716                         metabib::metarecord
717                         metabib::title_field_entry
718                         metabib::author_field_entry
719                         metabib::subject_field_entry
720                         metabib::keyword_field_entry
721                         metabib::series_field_entry
722                         metabib::metarecord_source_map
723                         metabib::record_descriptor
724                         metabib::full_rec
725                         authority::record_descriptor
726                         authority::full_rec
727                 / ) {
728
729         (my $method_class = $class) =~ s/::/./go;
730
731         for my $type ( qw/create create_start create_push create_finish/ ) {
732                 my ($name,$part) = split('_', $type);
733
734                 my $apiname = "open-ils.storage.direct.$method_class.batch.$name";
735                 $apiname .= ".$part" if ($part);
736
737                 OpenILS::Application::Storage->register_method(
738                         api_name        => $apiname,
739                         method          => "copy_$type",
740                         api_level       => 1,
741                         'package'       => 'OpenILS::Application::Storage',
742                         cdbi            => $class,
743                 );
744         }
745 }
746
747
748 1;