This commit was manufactured by cvs2svn to create tag 'freeside_2_1_0'.
[freeside.git] / rt / lib / RT / User.pm
1 # BEGIN BPS TAGGED BLOCK {{{
2
3 # COPYRIGHT:
4
5 # This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
6 #                                          <jesse@bestpractical.com>
7
8 # (Except where explicitly superseded by other copyright notices)
9
10
11 # LICENSE:
12
13 # This work is made available to you under the terms of Version 2 of
14 # the GNU General Public License. A copy of that license should have
15 # been provided with this software, but in any event can be snarfed
16 # from www.gnu.org.
17
18 # This work is distributed in the hope that it will be useful, but
19 # WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21 # General Public License for more details.
22
23 # You should have received a copy of the GNU General Public License
24 # along with this program; if not, write to the Free Software
25 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 # 02110-1301 or visit their web page on the internet at
27 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
28
29
30 # CONTRIBUTION SUBMISSION POLICY:
31
32 # (The following paragraph is not intended to limit the rights granted
33 # to you to modify and distribute this software under the terms of
34 # the GNU General Public License and is only of importance to you if
35 # you choose to contribute your changes and enhancements to the
36 # community by submitting them to Best Practical Solutions, LLC.)
37
38 # By intentionally submitting any modifications, corrections or
39 # derivatives to this work, or any other work intended for use with
40 # Request Tracker, to Best Practical Solutions, LLC, you confirm that
41 # you are the copyright holder for those contributions and you grant
42 # Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
43 # royalty-free, perpetual, license to use, copy, create derivative
44 # works based on those contributions, and sublicense and distribute
45 # those contributions and any derivatives thereof.
46
47 # END BPS TAGGED BLOCK }}}
48
49 # Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
50 # WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.  
51
52 # !! DO NOT EDIT THIS FILE !!
53 #
54
55 use strict;
56
57
58 =head1 NAME
59
60 RT::User
61
62
63 =head1 SYNOPSIS
64
65 =head1 DESCRIPTION
66
67 =head1 METHODS
68
69 =cut
70
71 package RT::User;
72 use RT::Record; 
73
74
75 use vars qw( @ISA );
76 @ISA= qw( RT::Record );
77
78 sub _Init {
79   my $self = shift; 
80
81   $self->Table('Users');
82   $self->SUPER::_Init(@_);
83 }
84
85
86
87
88
89 =head2 Create PARAMHASH
90
91 Create takes a hash of values and creates a row in the database:
92
93   varchar(200) 'Name'.
94   varchar(40) 'Password'.
95   blob 'Comments'.
96   blob 'Signature'.
97   varchar(120) 'EmailAddress'.
98   blob 'FreeformContactInfo'.
99   varchar(200) 'Organization'.
100   varchar(120) 'RealName'.
101   varchar(16) 'NickName'.
102   varchar(16) 'Lang'.
103   varchar(16) 'EmailEncoding'.
104   varchar(16) 'WebEncoding'.
105   varchar(100) 'ExternalContactInfoId'.
106   varchar(30) 'ContactInfoSystem'.
107   varchar(100) 'ExternalAuthId'.
108   varchar(30) 'AuthSystem'.
109   varchar(16) 'Gecos'.
110   varchar(30) 'HomePhone'.
111   varchar(30) 'WorkPhone'.
112   varchar(30) 'MobilePhone'.
113   varchar(30) 'PagerPhone'.
114   varchar(200) 'Address1'.
115   varchar(200) 'Address2'.
116   varchar(100) 'City'.
117   varchar(100) 'State'.
118   varchar(16) 'Zip'.
119   varchar(50) 'Country'.
120   varchar(50) 'Timezone'.
121   text 'PGPKey'.
122
123 =cut
124
125
126
127
128 sub Create {
129     my $self = shift;
130     my %args = ( 
131                 Name => '',
132                 Password => '',
133                 Comments => '',
134                 Signature => '',
135                 EmailAddress => '',
136                 FreeformContactInfo => '',
137                 Organization => '',
138                 RealName => '',
139                 NickName => '',
140                 Lang => '',
141                 EmailEncoding => '',
142                 WebEncoding => '',
143                 ExternalContactInfoId => '',
144                 ContactInfoSystem => '',
145                 ExternalAuthId => '',
146                 AuthSystem => '',
147                 Gecos => '',
148                 HomePhone => '',
149                 WorkPhone => '',
150                 MobilePhone => '',
151                 PagerPhone => '',
152                 Address1 => '',
153                 Address2 => '',
154                 City => '',
155                 State => '',
156                 Zip => '',
157                 Country => '',
158                 Timezone => '',
159                 PGPKey => '',
160
161                   @_);
162     $self->SUPER::Create(
163                          Name => $args{'Name'},
164                          Password => $args{'Password'},
165                          Comments => $args{'Comments'},
166                          Signature => $args{'Signature'},
167                          EmailAddress => $args{'EmailAddress'},
168                          FreeformContactInfo => $args{'FreeformContactInfo'},
169                          Organization => $args{'Organization'},
170                          RealName => $args{'RealName'},
171                          NickName => $args{'NickName'},
172                          Lang => $args{'Lang'},
173                          EmailEncoding => $args{'EmailEncoding'},
174                          WebEncoding => $args{'WebEncoding'},
175                          ExternalContactInfoId => $args{'ExternalContactInfoId'},
176                          ContactInfoSystem => $args{'ContactInfoSystem'},
177                          ExternalAuthId => $args{'ExternalAuthId'},
178                          AuthSystem => $args{'AuthSystem'},
179                          Gecos => $args{'Gecos'},
180                          HomePhone => $args{'HomePhone'},
181                          WorkPhone => $args{'WorkPhone'},
182                          MobilePhone => $args{'MobilePhone'},
183                          PagerPhone => $args{'PagerPhone'},
184                          Address1 => $args{'Address1'},
185                          Address2 => $args{'Address2'},
186                          City => $args{'City'},
187                          State => $args{'State'},
188                          Zip => $args{'Zip'},
189                          Country => $args{'Country'},
190                          Timezone => $args{'Timezone'},
191                          PGPKey => $args{'PGPKey'},
192 );
193
194 }
195
196
197
198 =head2 id
199
200 Returns the current value of id. 
201 (In the database, id is stored as int(11).)
202
203
204 =cut
205
206
207 =head2 Name
208
209 Returns the current value of Name. 
210 (In the database, Name is stored as varchar(200).)
211
212
213
214 =head2 SetName VALUE
215
216
217 Set Name to VALUE. 
218 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
219 (In the database, Name will be stored as a varchar(200).)
220
221
222 =cut
223
224
225 =head2 Password
226
227 Returns the current value of Password. 
228 (In the database, Password is stored as varchar(40).)
229
230
231
232 =head2 SetPassword VALUE
233
234
235 Set Password to VALUE. 
236 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
237 (In the database, Password will be stored as a varchar(40).)
238
239
240 =cut
241
242
243 =head2 Comments
244
245 Returns the current value of Comments. 
246 (In the database, Comments is stored as blob.)
247
248
249
250 =head2 SetComments VALUE
251
252
253 Set Comments to VALUE. 
254 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
255 (In the database, Comments will be stored as a blob.)
256
257
258 =cut
259
260
261 =head2 Signature
262
263 Returns the current value of Signature. 
264 (In the database, Signature is stored as blob.)
265
266
267
268 =head2 SetSignature VALUE
269
270
271 Set Signature to VALUE. 
272 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
273 (In the database, Signature will be stored as a blob.)
274
275
276 =cut
277
278
279 =head2 EmailAddress
280
281 Returns the current value of EmailAddress. 
282 (In the database, EmailAddress is stored as varchar(120).)
283
284
285
286 =head2 SetEmailAddress VALUE
287
288
289 Set EmailAddress to VALUE. 
290 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
291 (In the database, EmailAddress will be stored as a varchar(120).)
292
293
294 =cut
295
296
297 =head2 FreeformContactInfo
298
299 Returns the current value of FreeformContactInfo. 
300 (In the database, FreeformContactInfo is stored as blob.)
301
302
303
304 =head2 SetFreeformContactInfo VALUE
305
306
307 Set FreeformContactInfo to VALUE. 
308 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
309 (In the database, FreeformContactInfo will be stored as a blob.)
310
311
312 =cut
313
314
315 =head2 Organization
316
317 Returns the current value of Organization. 
318 (In the database, Organization is stored as varchar(200).)
319
320
321
322 =head2 SetOrganization VALUE
323
324
325 Set Organization to VALUE. 
326 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
327 (In the database, Organization will be stored as a varchar(200).)
328
329
330 =cut
331
332
333 =head2 RealName
334
335 Returns the current value of RealName. 
336 (In the database, RealName is stored as varchar(120).)
337
338
339
340 =head2 SetRealName VALUE
341
342
343 Set RealName to VALUE. 
344 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
345 (In the database, RealName will be stored as a varchar(120).)
346
347
348 =cut
349
350
351 =head2 NickName
352
353 Returns the current value of NickName. 
354 (In the database, NickName is stored as varchar(16).)
355
356
357
358 =head2 SetNickName VALUE
359
360
361 Set NickName to VALUE. 
362 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
363 (In the database, NickName will be stored as a varchar(16).)
364
365
366 =cut
367
368
369 =head2 Lang
370
371 Returns the current value of Lang. 
372 (In the database, Lang is stored as varchar(16).)
373
374
375
376 =head2 SetLang VALUE
377
378
379 Set Lang to VALUE. 
380 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
381 (In the database, Lang will be stored as a varchar(16).)
382
383
384 =cut
385
386
387 =head2 EmailEncoding
388
389 Returns the current value of EmailEncoding. 
390 (In the database, EmailEncoding is stored as varchar(16).)
391
392
393
394 =head2 SetEmailEncoding VALUE
395
396
397 Set EmailEncoding to VALUE. 
398 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
399 (In the database, EmailEncoding will be stored as a varchar(16).)
400
401
402 =cut
403
404
405 =head2 WebEncoding
406
407 Returns the current value of WebEncoding. 
408 (In the database, WebEncoding is stored as varchar(16).)
409
410
411
412 =head2 SetWebEncoding VALUE
413
414
415 Set WebEncoding to VALUE. 
416 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
417 (In the database, WebEncoding will be stored as a varchar(16).)
418
419
420 =cut
421
422
423 =head2 ExternalContactInfoId
424
425 Returns the current value of ExternalContactInfoId. 
426 (In the database, ExternalContactInfoId is stored as varchar(100).)
427
428
429
430 =head2 SetExternalContactInfoId VALUE
431
432
433 Set ExternalContactInfoId to VALUE. 
434 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
435 (In the database, ExternalContactInfoId will be stored as a varchar(100).)
436
437
438 =cut
439
440
441 =head2 ContactInfoSystem
442
443 Returns the current value of ContactInfoSystem. 
444 (In the database, ContactInfoSystem is stored as varchar(30).)
445
446
447
448 =head2 SetContactInfoSystem VALUE
449
450
451 Set ContactInfoSystem to VALUE. 
452 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
453 (In the database, ContactInfoSystem will be stored as a varchar(30).)
454
455
456 =cut
457
458
459 =head2 ExternalAuthId
460
461 Returns the current value of ExternalAuthId. 
462 (In the database, ExternalAuthId is stored as varchar(100).)
463
464
465
466 =head2 SetExternalAuthId VALUE
467
468
469 Set ExternalAuthId to VALUE. 
470 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
471 (In the database, ExternalAuthId will be stored as a varchar(100).)
472
473
474 =cut
475
476
477 =head2 AuthSystem
478
479 Returns the current value of AuthSystem. 
480 (In the database, AuthSystem is stored as varchar(30).)
481
482
483
484 =head2 SetAuthSystem VALUE
485
486
487 Set AuthSystem to VALUE. 
488 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
489 (In the database, AuthSystem will be stored as a varchar(30).)
490
491
492 =cut
493
494
495 =head2 Gecos
496
497 Returns the current value of Gecos. 
498 (In the database, Gecos is stored as varchar(16).)
499
500
501
502 =head2 SetGecos VALUE
503
504
505 Set Gecos to VALUE. 
506 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
507 (In the database, Gecos will be stored as a varchar(16).)
508
509
510 =cut
511
512
513 =head2 HomePhone
514
515 Returns the current value of HomePhone. 
516 (In the database, HomePhone is stored as varchar(30).)
517
518
519
520 =head2 SetHomePhone VALUE
521
522
523 Set HomePhone to VALUE. 
524 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
525 (In the database, HomePhone will be stored as a varchar(30).)
526
527
528 =cut
529
530
531 =head2 WorkPhone
532
533 Returns the current value of WorkPhone. 
534 (In the database, WorkPhone is stored as varchar(30).)
535
536
537
538 =head2 SetWorkPhone VALUE
539
540
541 Set WorkPhone to VALUE. 
542 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
543 (In the database, WorkPhone will be stored as a varchar(30).)
544
545
546 =cut
547
548
549 =head2 MobilePhone
550
551 Returns the current value of MobilePhone. 
552 (In the database, MobilePhone is stored as varchar(30).)
553
554
555
556 =head2 SetMobilePhone VALUE
557
558
559 Set MobilePhone to VALUE. 
560 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
561 (In the database, MobilePhone will be stored as a varchar(30).)
562
563
564 =cut
565
566
567 =head2 PagerPhone
568
569 Returns the current value of PagerPhone. 
570 (In the database, PagerPhone is stored as varchar(30).)
571
572
573
574 =head2 SetPagerPhone VALUE
575
576
577 Set PagerPhone to VALUE. 
578 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
579 (In the database, PagerPhone will be stored as a varchar(30).)
580
581
582 =cut
583
584
585 =head2 Address1
586
587 Returns the current value of Address1. 
588 (In the database, Address1 is stored as varchar(200).)
589
590
591
592 =head2 SetAddress1 VALUE
593
594
595 Set Address1 to VALUE. 
596 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
597 (In the database, Address1 will be stored as a varchar(200).)
598
599
600 =cut
601
602
603 =head2 Address2
604
605 Returns the current value of Address2. 
606 (In the database, Address2 is stored as varchar(200).)
607
608
609
610 =head2 SetAddress2 VALUE
611
612
613 Set Address2 to VALUE. 
614 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
615 (In the database, Address2 will be stored as a varchar(200).)
616
617
618 =cut
619
620
621 =head2 City
622
623 Returns the current value of City. 
624 (In the database, City is stored as varchar(100).)
625
626
627
628 =head2 SetCity VALUE
629
630
631 Set City to VALUE. 
632 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
633 (In the database, City will be stored as a varchar(100).)
634
635
636 =cut
637
638
639 =head2 State
640
641 Returns the current value of State. 
642 (In the database, State is stored as varchar(100).)
643
644
645
646 =head2 SetState VALUE
647
648
649 Set State to VALUE. 
650 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
651 (In the database, State will be stored as a varchar(100).)
652
653
654 =cut
655
656
657 =head2 Zip
658
659 Returns the current value of Zip. 
660 (In the database, Zip is stored as varchar(16).)
661
662
663
664 =head2 SetZip VALUE
665
666
667 Set Zip to VALUE. 
668 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
669 (In the database, Zip will be stored as a varchar(16).)
670
671
672 =cut
673
674
675 =head2 Country
676
677 Returns the current value of Country. 
678 (In the database, Country is stored as varchar(50).)
679
680
681
682 =head2 SetCountry VALUE
683
684
685 Set Country to VALUE. 
686 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
687 (In the database, Country will be stored as a varchar(50).)
688
689
690 =cut
691
692
693 =head2 Timezone
694
695 Returns the current value of Timezone. 
696 (In the database, Timezone is stored as varchar(50).)
697
698
699
700 =head2 SetTimezone VALUE
701
702
703 Set Timezone to VALUE. 
704 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
705 (In the database, Timezone will be stored as a varchar(50).)
706
707
708 =cut
709
710
711 =head2 PGPKey
712
713 Returns the current value of PGPKey. 
714 (In the database, PGPKey is stored as text.)
715
716
717
718 =head2 SetPGPKey VALUE
719
720
721 Set PGPKey to VALUE. 
722 Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
723 (In the database, PGPKey will be stored as a text.)
724
725
726 =cut
727
728
729 =head2 Creator
730
731 Returns the current value of Creator. 
732 (In the database, Creator is stored as int(11).)
733
734
735 =cut
736
737
738 =head2 Created
739
740 Returns the current value of Created. 
741 (In the database, Created is stored as datetime.)
742
743
744 =cut
745
746
747 =head2 LastUpdatedBy
748
749 Returns the current value of LastUpdatedBy. 
750 (In the database, LastUpdatedBy is stored as int(11).)
751
752
753 =cut
754
755
756 =head2 LastUpdated
757
758 Returns the current value of LastUpdated. 
759 (In the database, LastUpdated is stored as datetime.)
760
761
762 =cut
763
764
765
766 sub _CoreAccessible {
767     {
768      
769         id =>
770                 {read => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => ''},
771         Name => 
772                 {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
773         Password => 
774                 {read => 1, write => 1, sql_type => 12, length => 40,  is_blob => 0,  is_numeric => 0,  type => 'varchar(40)', default => ''},
775         Comments => 
776                 {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
777         Signature => 
778                 {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
779         EmailAddress => 
780                 {read => 1, write => 1, sql_type => 12, length => 120,  is_blob => 0,  is_numeric => 0,  type => 'varchar(120)', default => ''},
781         FreeformContactInfo => 
782                 {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'blob', default => ''},
783         Organization => 
784                 {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
785         RealName => 
786                 {read => 1, write => 1, sql_type => 12, length => 120,  is_blob => 0,  is_numeric => 0,  type => 'varchar(120)', default => ''},
787         NickName => 
788                 {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
789         Lang => 
790                 {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
791         EmailEncoding => 
792                 {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
793         WebEncoding => 
794                 {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
795         ExternalContactInfoId => 
796                 {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
797         ContactInfoSystem => 
798                 {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
799         ExternalAuthId => 
800                 {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
801         AuthSystem => 
802                 {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
803         Gecos => 
804                 {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
805         HomePhone => 
806                 {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
807         WorkPhone => 
808                 {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
809         MobilePhone => 
810                 {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
811         PagerPhone => 
812                 {read => 1, write => 1, sql_type => 12, length => 30,  is_blob => 0,  is_numeric => 0,  type => 'varchar(30)', default => ''},
813         Address1 => 
814                 {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
815         Address2 => 
816                 {read => 1, write => 1, sql_type => 12, length => 200,  is_blob => 0,  is_numeric => 0,  type => 'varchar(200)', default => ''},
817         City => 
818                 {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
819         State => 
820                 {read => 1, write => 1, sql_type => 12, length => 100,  is_blob => 0,  is_numeric => 0,  type => 'varchar(100)', default => ''},
821         Zip => 
822                 {read => 1, write => 1, sql_type => 12, length => 16,  is_blob => 0,  is_numeric => 0,  type => 'varchar(16)', default => ''},
823         Country => 
824                 {read => 1, write => 1, sql_type => 12, length => 50,  is_blob => 0,  is_numeric => 0,  type => 'varchar(50)', default => ''},
825         Timezone => 
826                 {read => 1, write => 1, sql_type => 12, length => 50,  is_blob => 0,  is_numeric => 0,  type => 'varchar(50)', default => ''},
827         PGPKey => 
828                 {read => 1, write => 1, sql_type => -4, length => 0,  is_blob => 1,  is_numeric => 0,  type => 'text', default => ''},
829         Creator => 
830                 {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
831         Created => 
832                 {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
833         LastUpdatedBy => 
834                 {read => 1, auto => 1, sql_type => 4, length => 11,  is_blob => 0,  is_numeric => 1,  type => 'int(11)', default => '0'},
835         LastUpdated => 
836                 {read => 1, auto => 1, sql_type => 11, length => 0,  is_blob => 0,  is_numeric => 0,  type => 'datetime', default => ''},
837
838  }
839 };
840
841
842         eval "require RT::User_Overlay";
843         if ($@ && $@ !~ qr{^Can't locate RT/User_Overlay.pm}) {
844             die $@;
845         };
846
847         eval "require RT::User_Vendor";
848         if ($@ && $@ !~ qr{^Can't locate RT/User_Vendor.pm}) {
849             die $@;
850         };
851
852         eval "require RT::User_Local";
853         if ($@ && $@ !~ qr{^Can't locate RT/User_Local.pm}) {
854             die $@;
855         };
856
857
858
859
860 =head1 SEE ALSO
861
862 This class allows "overlay" methods to be placed
863 into the following files _Overlay is for a System overlay by the original author,
864 _Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.  
865
866 These overlay files can contain new subs or subs to replace existing subs in this module.
867
868 Each of these files should begin with the line 
869
870    no warnings qw(redefine);
871
872 so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
873
874 RT::User_Overlay, RT::User_Vendor, RT::User_Local
875
876 =cut
877
878
879 1;