1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package fr.paris.lutece.plugins.mydashboard.modules.identity.business;
35
36 import fr.paris.lutece.plugins.mydashboard.modules.identity.util.Constants;
37 import java.util.HashMap;
38 import java.util.Map;
39
40
41
42
43
44
45 public class DashboardIdentity
46 {
47 private Map<String, DashboardAttribute> _mapAttributes;
48
49 public DashboardIdentity ()
50 {
51 _mapAttributes = new HashMap<String, DashboardAttribute>( );
52 }
53
54
55
56
57
58
59 public void setAttributeValue ( String key, String value )
60 {
61 DashboardAttribute attribute = _mapAttributes.get( key );
62 if ( attribute != null )
63 {
64 attribute.setValue( value );
65 _mapAttributes.put( key, attribute );
66 }
67 }
68
69
70
71
72
73
74 public DashboardAttribute getAttribute ( String key )
75 {
76 return _mapAttributes.get( key );
77 }
78
79
80
81
82
83
84 public void setAttribute ( String key, DashboardAttribute attribute )
85 {
86 if ( attribute != null )
87 {
88 _mapAttributes.put( key, attribute );
89 }
90 }
91
92
93
94
95 public DashboardAttribute getConnectionId( )
96 {
97 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CONNECTION_ID );
98 }
99
100
101
102
103
104 public void setConnectionId( DashboardAttribute connectionId )
105 {
106 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CONNECTION_ID, connectionId );
107 }
108
109
110
111
112 public DashboardAttribute getCustomerId( )
113 {
114 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CUSTOMER_ID );
115 }
116
117
118
119
120
121 public void setCustomerId( DashboardAttribute customerId )
122 {
123 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CUSTOMER_ID, customerId );
124 }
125
126
127
128
129 public DashboardAttribute getLastName( )
130 {
131 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_LAST_NAME );
132 }
133
134
135
136
137
138 public void setLastName( DashboardAttribute lastName )
139 {
140 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_LAST_NAME, lastName );
141 }
142
143
144
145
146 public DashboardAttribute getPreferredUsername( )
147 {
148 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_USER_NAME );
149 }
150
151
152
153
154
155 public void setPreferredUsername( DashboardAttribute preferredUsername )
156 {
157 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_USER_NAME, preferredUsername );
158 }
159
160
161
162
163 public DashboardAttribute getFirstname( )
164 {
165 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_FIRSTNAME );
166 }
167
168
169
170
171
172 public void setFirstname( DashboardAttribute firstname )
173 {
174 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_FIRSTNAME, firstname );
175 }
176
177
178
179
180 public DashboardAttribute getGender( )
181 {
182 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_GENDER );
183 }
184
185
186
187
188
189 public void setGender( DashboardAttribute gender )
190 {
191 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_GENDER, gender );
192 }
193
194
195
196
197 public DashboardAttribute getBirthdate( )
198 {
199 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHDATE );
200 }
201
202
203
204
205
206 public void setBirthdate( DashboardAttribute birthdate )
207 {
208 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHDATE, birthdate );
209 }
210
211
212
213
214 public DashboardAttribute getBirthplace( )
215 {
216 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHPLACE );
217 }
218
219
220
221
222
223 public void setBirthplace( DashboardAttribute birthplace )
224 {
225 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHPLACE, birthplace );
226 }
227
228
229
230
231 public DashboardAttribute getBirthcountry( )
232 {
233 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHCOUNTRY );
234 }
235
236
237
238
239
240 public void setBirthcountry( DashboardAttribute birthcountry )
241 {
242 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BIRTHCOUNTRY, birthcountry );
243 }
244
245
246
247
248 public DashboardAttribute getAddress( )
249 {
250 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS );
251 }
252
253
254
255
256
257 public void setAddress( DashboardAttribute address )
258 {
259 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS, address );
260 }
261
262
263
264
265 public DashboardAttribute getAddressDetail( )
266 {
267 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_DETAIL );
268 }
269
270
271
272
273
274 public void setAddressDetail( DashboardAttribute addressDetail )
275 {
276 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_DETAIL, addressDetail );
277 }
278
279
280
281
282 public DashboardAttribute getAddressPostalcode( )
283 {
284 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_POSTAL_CODE );
285 }
286
287
288
289
290
291 public void setAddressPostalcode( DashboardAttribute addressPostalcode )
292 {
293 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_POSTAL_CODE, addressPostalcode );
294 }
295
296
297
298
299 public DashboardAttribute getAddressCity( )
300 {
301 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_CITY );
302 }
303
304
305
306
307
308 public void setAddressCity( DashboardAttribute addressCity )
309 {
310 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ADDRESS_CITY, addressCity );
311 }
312
313
314
315
316 public DashboardAttribute getBillingAddress( )
317 {
318 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS );
319 }
320
321
322
323
324
325 public void setBillingAddress( DashboardAttribute billingAddress )
326 {
327 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS, billingAddress );
328 }
329
330
331
332
333 public DashboardAttribute getBillingAddressDetail( )
334 {
335 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_DETAIL );
336 }
337
338
339
340
341
342 public void setBillingAddressDetail( DashboardAttribute billingAddressDetail )
343 {
344 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_DETAIL, billingAddressDetail );
345 }
346
347
348
349
350 public DashboardAttribute getBillingAddressPostalcode( )
351 {
352 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_POSTAL_CODE );
353 }
354
355
356
357
358
359 public void setBillingAddressPostalcode( DashboardAttribute billingAddressPostalcode )
360 {
361 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_POSTAL_CODE, billingAddressPostalcode );
362 }
363
364
365
366
367 public DashboardAttribute getBillingAddressCity( )
368 {
369 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_CITY );
370 }
371
372
373
374
375
376 public void setBillingAddressCity( DashboardAttribute billingAddressCity )
377 {
378 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_BILLING_ADDRESS_CITY, billingAddressCity );
379 }
380
381
382
383
384 public DashboardAttribute getEmail( )
385 {
386 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_EMAIL );
387 }
388
389
390
391
392
393 public void setEmail( DashboardAttribute email )
394 {
395 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_EMAIL, email );
396 }
397
398
399
400
401 public DashboardAttribute getPhone( )
402 {
403 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_PHONE );
404 }
405
406
407
408
409
410 public void setPhone( DashboardAttribute phone )
411 {
412 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_PHONE, phone );
413 }
414
415
416
417
418 public DashboardAttribute getMobilePhone( )
419 {
420 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_MOBILE_PHONE );
421 }
422
423
424
425
426
427 public void setMobilePhone( DashboardAttribute mobilePhone )
428 {
429 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_MOBILE_PHONE, mobilePhone );
430 }
431
432
433
434
435 public DashboardAttribute getPreferredContactMode( )
436 {
437 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_CONTACT_MODE );
438 }
439
440
441
442
443
444 public void setPreferredContactMode( DashboardAttribute preferredContactMode )
445 {
446 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_PREFERRED_CONTACT_MODE, preferredContactMode );
447 }
448
449
450
451
452 public DashboardAttribute getLogin( )
453 {
454
455 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_EMAIL );
456 }
457
458
459
460
461
462 public void setLogin( DashboardAttribute login )
463 {
464 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_LOGIN, login );
465 }
466
467
468
469
470 public DashboardAttribute getAcceptNews( )
471 {
472 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_NEWS );
473 }
474
475
476
477
478
479 public void setAcceptNews( DashboardAttribute bAcceptNews )
480 {
481 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_NEWS, bAcceptNews );
482 }
483
484
485
486
487 public DashboardAttribute getAcceptSurvey( )
488 {
489 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_SURVEY );
490 }
491
492
493
494
495
496 public void setAcceptSurvey( DashboardAttribute bAcceptSurvey )
497 {
498 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ACCEPT_SURVEY, bAcceptSurvey );
499 }
500
501
502
503
504 public DashboardAttribute getFranceConnectCertified( )
505 {
506 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_FRANCE_CONNECT_CERTIFIED );
507 }
508
509
510
511
512 public DashboardAttribute getDirection( )
513 {
514 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_DIRECTION );
515 }
516
517
518
519
520
521 public void setDirection( DashboardAttribute direction )
522 {
523 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_DIRECTION, direction );
524 }
525
526
527
528
529 public DashboardAttribute getSoi( )
530 {
531 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_SOI );
532 }
533
534
535
536
537
538 public void setSoi( DashboardAttribute soi )
539 {
540 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_SOI, soi );
541 }
542
543
544
545
546 public DashboardAttribute getNumBureau( )
547 {
548 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_NUM_BUREAU );
549 }
550
551
552
553
554
555 public void setNumBureau( DashboardAttribute numBureau )
556 {
557 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_NUM_BUREAU, numBureau );
558 }
559
560
561
562
563
564 public DashboardAttribute getTelPro( )
565 {
566 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_TEL_PRO );
567 }
568
569
570
571
572
573 public void setTelPro( DashboardAttribute numBureau )
574 {
575 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_TEL_PRO, numBureau );
576 }
577
578
579 public DashboardAttribute getCategorie( )
580 {
581 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CATEGORIE);
582 }
583
584
585
586
587
588 public void setCategorie( DashboardAttribute numBureau )
589 {
590 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CATEGORIE, numBureau );
591 }
592
593
594 public DashboardAttribute getCorps( )
595 {
596 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_CORPS);
597 }
598
599
600
601
602
603 public void setCorps( DashboardAttribute numBureau )
604 {
605 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_CORPS, numBureau );
606 }
607
608
609 public DashboardAttribute getGrade( )
610 {
611 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_GRADE );
612 }
613
614
615
616
617
618 public void setGrade( DashboardAttribute numBureau )
619 {
620 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_GRADE, numBureau );
621 }
622
623
624
625
626
627
628
629 public DashboardAttribute getPositionAdministrative( )
630 {
631 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_POSITION_ADMINISTRATIVE);
632 }
633
634
635
636
637
638 public void setPositionAdministrative( DashboardAttribute numBureau )
639 {
640 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_POSITION_ADMINISTRATIVE, numBureau );
641 }
642
643
644
645
646 public DashboardAttribute getAffectationDate()
647 {
648 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_AFFECTION_DATE );
649 }
650
651
652
653
654
655 public void setAffectationDate( DashboardAttribute numBureau )
656 {
657 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_AFFECTION_DATE, numBureau );
658 }
659
660
661
662
663
664
665 public DashboardAttribute getEntiteJuridique( )
666 {
667 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ENTITE_JURIDIQUE );
668 }
669
670
671
672
673
674 public void setEntiteJuridique( DashboardAttribute numBureau )
675 {
676 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ENTITE_JURIDIQUE, numBureau );
677 }
678
679
680
681
682
683 public DashboardAttribute getServiceCentraux( )
684 {
685 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_SERVICE_CENTRAUX );
686 }
687
688
689
690
691
692 public void setServiceCentraux( DashboardAttribute numBureau )
693 {
694 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_SERVICE_CENTRAUX, numBureau );
695 }
696
697
698
699
700
701
702 public DashboardAttribute getNiveau( )
703 {
704 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_NIVEAU);
705 }
706
707
708
709
710 public void setNiveau( DashboardAttribute numBureau )
711 {
712 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_NIVEAU, numBureau );
713 }
714
715
716
717
718 public DashboardAttribute getEncadrant( )
719 {
720 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_ENCADRANT);
721 }
722
723
724
725
726
727 public void setEncadrant( DashboardAttribute numBureau )
728 {
729 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_ENCADRANT, numBureau );
730 }
731
732
733
734
735 public DashboardAttribute getIsEncadrant( )
736 {
737 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_IS_ENCADRANT);
738 }
739
740
741
742
743
744 public void setIsEncadrant( DashboardAttribute numBureau )
745 {
746 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_IS_ENCADRANT, numBureau );
747 }
748
749
750
751
752
753 public DashboardAttribute getRhNomUsage( )
754 {
755 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_RH_NOM_USAGE );
756 }
757
758
759
760
761
762 public void setRhNomUsage( DashboardAttribute numBureau )
763 {
764 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_RH_NOM_USAGE, numBureau );
765 }
766
767
768
769
770
771 public DashboardAttribute getRhPrenom( )
772 {
773 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_RH_PRENOM );
774 }
775
776
777
778
779 public void setRhPrenom( DashboardAttribute numBureau )
780 {
781 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_RH_PRENOM, numBureau );
782 }
783
784
785 public DashboardAttribute getRhTel( )
786 {
787 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_RH_TEL );
788 }
789
790
791
792
793
794 public void setRhTel( DashboardAttribute numBureau )
795 {
796 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_RH_TEL, numBureau );
797 }
798
799
800
801
802
803 public DashboardAttribute getUgdSoi( )
804 {
805 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_UGD_SOI);
806 }
807
808
809
810
811
812 public void setUgdSoi( DashboardAttribute numBureau )
813 {
814 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_UGD_SOI, numBureau );
815 }
816
817
818
819
820
821
822 public DashboardAttribute getUgdUnite( )
823 {
824 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE);
825 }
826
827
828
829
830
831 public void setUgdUnite( DashboardAttribute numBureau )
832 {
833 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE, numBureau );
834 }
835
836
837
838
839
840 public DashboardAttribute getUgdUniteSoi( )
841 {
842 return _mapAttributes.get( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE_SOI);
843 }
844
845
846
847
848
849 public void setUgdUniteSoi( DashboardAttribute numBureau )
850 {
851 _mapAttributes.put( Constants.ATTRIBUTE_DB_IDENTITY_UGD_UNITE_SOI, numBureau );
852 }
853
854
855
856
857 }