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