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