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