Using the ILIAS SOAP Administration

Example Code: ilUserData structure

The ilUserData structure is defined in the WSDL code of the SOAP server:

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
35
36
37
38
39
40
<xsd:complexType name="ilUserData">
<xsd:all>
<xsd:element name="usr_id" type="xsd:int"/>
<xsd:element name="login" type="xsd:string"/>
<xsd:element name="passwd" type="xsd:string"/>
<xsd:element name="firstname" type="xsd:string"/>
<xsd:element name="lastname" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="gender" type="xsd:string"/>
<xsd:element name="email" type="xsd:string"/>
<xsd:element name="institution" type="xsd:string"/>
<xsd:element name="street" type="xsd:string"/>
<xsd:element name="city" type="xsd:string"/>
<xsd:element name="zipcode" type="xsd:string"/>
<xsd:element name="country" type="xsd:string"/>
<xsd:element name="phone_office" type="xsd:string"/>
<xsd:element name="last_login" type="xsd:string"/>
<xsd:element name="last_update" type="xsd:string"/>
<xsd:element name="create_date" type="xsd:string"/>
<xsd:element name="hobby" type="xsd:string"/>
<xsd:element name="department" type="xsd:string"/>
<xsd:element name="phone_home" type="xsd:string"/>
<xsd:element name="phone_mobile" type="xsd:string"/>
<xsd:element name="fax" type="xsd:string"/>
<xsd:element name="time_limit_owner" type="xsd:int"/>
<xsd:element name="time_limit_unlimited" type="xsd:int"/>
<xsd:element name="time_limit_from" type="xsd:int"/>
<xsd:element name="time_limit_until" type="xsd:int"/>
<xsd:element name="time_limit_message" type="xsd:int"/>
<xsd:element name="referral_comment" type="xsd:string"/>
<xsd:element name="matriculation" type="xsd:string"/>
<xsd:element name="active" type="xsd:int"/>
<xsd:element name="accepted_agreement" type="xsd:boolean"/>
<xsd:element name="approve_date" type="xsd:string"/>
<xsd:element name="user_skin" type="xsd:string"/>
<xsd:element name="user_style" type="xsd:string"/>
<xsd:element name="user_language" type="xsd:string"/>
<xsd:element name="import_id" type="xsd:string"/>
</xsd:all>
</xsd:complexType>

The following code is a mapping of the ilUserData structure to a POJO (Plain Old Java Object).

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
package de.ilias;
 
import java.util.Hashtable;
 
import org.ksoap2.serialization.KvmSerializable;
import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapSerializationEnvelope;
 
public class ilUserData implements KvmSerializable
{
private int usr_id;
private String login;
private String passwd;
private String firstname;
private String lastname;
private String title;
private String gender;
private String email;
private int timeLimitOwner;
private int timeLimitUnlimited;
private String userLanguage;
private String institution;
private String street;
private String city;
private String zipcode;
private String country;
private String phoneOffice;
private String lastLogin;
private String lastUpdate;
private String createDate;
private String hobby;
private String department;
private String phoneHome;
private String phoneMobile;
private String fax;
private int timeLimitFrom;
private int timeLimitUntil;
private int timeLimitMessage;
private String referralComment;
private String matriculation;
private int active;
private boolean acceptedAgreement;
private String approveDate;
private String userSkin;
private String userStyle;
private String importId;
 
public ilUserData()
{
super();
usr_id = 0;
login = "";
passwd = "";
firstname = "";
lastname = "";
title = "";
gender = "f";
email = "";
timeLimitOwner = 0;
timeLimitUnlimited = 0;
userLanguage = "en";
institution = "";
street = "";
city = "";
zipcode = "";
country = "";
phoneOffice = "";
lastLogin = "";
lastUpdate = "";
createDate = "";
hobby = "";
department = "";
phoneHome = "";
phoneMobile = "";
fax = "";
timeLimitFrom = 0;
timeLimitUntil = 0;
timeLimitMessage = 0;
referralComment = "";
matriculation = "";
active = 1;
acceptedAgreement = false;
approveDate = "";
userSkin = "default";
userStyle = "delos";
importId = "";
}
 
public String toString()
{
StringBuffer b = new StringBuffer();
b.append("ilUserData{");
if (usr_id > 0)
{
b.append("usr_id=").append(usr_id).append("; ");
}
if ((login != null) && (login.length() > 0))
{
b.append("login=").append(login).append("; ");
}
if ((passwd != null) && (passwd.length() > 0))
{
b.append("passwd=").append(passwd).append("; ");
}
if ((firstname != null) && (firstname.length() > 0))
{
b.append("firstname=").append(firstname).append("; ");
}
if ((lastname != null) && (lastname.length() > 0))
{
b.append("lastname=").append(lastname).append("; ");
}
if ((title != null) && (title.length() > 0))
{
b.append("title=").append(title).append("; ");
}
if ((gender != null) && (gender.length() > 0))
{
b.append("gender=").append(gender).append("; ");
}
if ((email != null) && (email.length() > 0))
{
b.append("email=").append(email).append("; ");
}
if ((institution != null) && (institution.length() > 0))
{
b.append("institution=").append(institution).append("; ");
}
if ((street != null) && (street.length() > 0))
{
b.append("street=").append(street).append("; ");
}
if ((city != null) && (city.length() > 0))
{
b.append("city=").append(city).append("; ");
}
if ((zipcode != null) && (zipcode.length() > 0))
{
b.append("zipcode=").append(zipcode).append("; ");
}
if ((country != null) && (country.length() > 0))
{
b.append("country=").append(country).append("; ");
}
if ((phoneOffice != null) && (phoneOffice.length() > 0))
{
b.append("phone_office=").append(phoneOffice).append("; ");
}
if ((lastLogin != null) && (lastLogin.length() > 0))
{
b.append("last_login=").append(lastLogin).append("; ");
}
if ((lastUpdate != null) && (lastUpdate.length() > 0))
{
b.append("last_update=").append(lastUpdate).append("; ");
}
if ((createDate != null) && (createDate.length() > 0))
{
b.append("create_date=").append(createDate).append("; ");
}
if ((hobby != null) && (hobby.length() > 0))
{
b.append("hobby=").append(hobby).append("; ");
}
if ((department != null) && (department.length() > 0))
{
b.append("department=").append(department).append("; ");
}
if ((phoneHome != null) && (phoneHome.length() > 0))
{
b.append("phone_home=").append(phoneHome).append("; ");
}
if ((phoneMobile != null) && (phoneMobile.length() > 0))
{
b.append("phone_mobile=").append(phoneMobile).append("; ");
}
if ((fax != null) && (fax.length() > 0))
{
b.append("fax=").append(fax).append("; ");
}
if (timeLimitOwner > 0)
{
b.append("time_limit_owner=").append(timeLimitOwner).append("; ");
}
if (timeLimitUnlimited > 0)
{
b.append("time_limit_unlimited=").append(timeLimitUnlimited).append("; ");
}
if (timeLimitFrom > 0)
{
b.append("time_limit_from=").append(timeLimitFrom).append("; ");
}
if (timeLimitUntil > 0)
{
b.append("time_limit_until=").append(timeLimitUntil).append("; ");
}
if (timeLimitMessage > 0)
{
b.append("time_limit_message=").append(timeLimitMessage).append("; ");
}
if ((referralComment != null) && (referralComment.length() > 0))
{
b.append("referral_comment=").append(referralComment).append("; ");
}
if ((matriculation != null) && (matriculation.length() > 0))
{
b.append("matriculation=").append(matriculation).append("; ");
}
if (active > 0)
{
b.append("active=").append(active).append("; ");
}
b.append("accepted_agreement=").append(acceptedAgreement).append("; ");
if ((approveDate != null) && (approveDate.length() > 0))
{
b.append("approve_date=").append(approveDate).append("; ");
}
if ((userSkin != null) && (userSkin.length() > 0))
{
b.append("user_skin=").append(userSkin).append("; ");
}
if ((userStyle != null) && (userStyle.length() > 0))
{
b.append("user_style=").append(userStyle).append("; ");
}
if ((userLanguage != null) && (userLanguage.length() > 0))
{
b.append("user_language=").append(userLanguage).append("; ");
}
if ((importId != null) && (importId.length() > 0))
{
b.append("import_id=").append(importId).append("; ");
}
b.append("}");
return b.toString();
}
 
/**
* @return the acceptedAgreement
*/

public boolean isAcceptedAgreement()
{
return acceptedAgreement;
}
 
/**
* @param acceptedAgreement the acceptedAgreement to set
*/

public void setAcceptedAgreement(boolean acceptedAgreement)
{
this.acceptedAgreement = acceptedAgreement;
}
 
/**
* @return the active
*/

public int getActive()
{
return active;
}
 
/**
* @param active the active to set
*/

public void setActive(int active)
{
this.active = active;
}
 
/**
* @return the approveDate
*/

public String getApproveDate()
{
return approveDate;
}
 
/**
* @param approveDate the approveDate to set
*/

public void setApproveDate(String approveDate)
{
this.approveDate = approveDate;
}
 
/**
* @return the city
*/

public String getCity()
{
return city;
}
 
/**
* @param city the city to set
*/

public void setCity(String city)
{
this.city = city;
}
 
/**
* @return the country
*/

public String getCountry()
{
return country;
}
 
/**
* @param country the country to set
*/

public void setCountry(String country)
{
this.country = country;
}
 
/**
* @return the createDate
*/

public String getCreateDate()
{
return createDate;
}
 
/**
* @param createDate the createDate to set
*/

public void setCreateDate(String createDate)
{
this.createDate = createDate;
}
 
/**
* @return the department
*/

public String getDepartment()
{
return department;
}
 
/**
* @param department the department to set
*/

public void setDepartment(String department)
{
this.department = department;
}
 
/**
* @return the fax
*/

public String getFax()
{
return fax;
}
 
/**
* @param fax the fax to set
*/

public void setFax(String fax)
{
this.fax = fax;
}
 
/**
* @return the hobby
*/

public String getHobby()
{
return hobby;
}
 
/**
* @param hobby the hobby to set
*/

public void setHobby(String hobby)
{
this.hobby = hobby;
}
 
/**
* @return the importId
*/

public String getImportId()
{
return importId;
}
 
/**
* @param importId the importId to set
*/

public void setImportId(String importId)
{
this.importId = importId;
}
 
/**
* @return the institution
*/

public String getInstitution()
{
return institution;
}
 
/**
* @param institution the institution to set
*/

public void setInstitution(String institution)
{
this.institution = institution;
}
 
/**
* @return the lastLogin
*/

public String getLastLogin()
{
return lastLogin;
}
 
/**
* @param lastLogin the lastLogin to set
*/

public void setLastLogin(String lastLogin)
{
this.lastLogin = lastLogin;
}
 
/**
* @return the lastUpdate
*/

public String getLastUpdate()
{
return lastUpdate;
}
 
/**
* @param lastUpdate the lastUpdate to set
*/

public void setLastUpdate(String lastUpdate)
{
this.lastUpdate = lastUpdate;
}
 
/**
* @return the matriculation
*/

public String getMatriculation()
{
return matriculation;
}
 
/**
* @param matriculation the matriculation to set
*/

public void setMatriculation(String matriculation)
{
this.matriculation = matriculation;
}
 
/**
* @return the phoneOffice
*/

public String getPhoneOffice()
{
return phoneOffice;
}
 
/**
* @param phoneOffice the office to set
*/

public void setPhoneOffice(String phoneOffice)
{
this.phoneOffice = phoneOffice;
}
 
/**
* @return the phoneHome
*/

public String getPhoneHome()
{
return phoneHome;
}
 
/**
* @param phoneHome the phoneHome to set
*/

public void setPhoneHome(String phoneHome)
{
this.phoneHome = phoneHome;
}
 
/**
* @return the phoneMobile
*/

public String getPhoneMobile()
{
return phoneMobile;
}
 
/**
* @param phoneMobile the phoneMobile to set
*/

public void setPhoneMobile(String phoneMobile)
{
this.phoneMobile = phoneMobile;
}
 
/**
* @return the referralComment
*/

public String getReferralComment()
{
return referralComment;
}
 
/**
* @param referralComment the referralComment to set
*/

public void setReferralComment(String referralComment)
{
this.referralComment = referralComment;
}
 
/**
* @return the street
*/

public String getStreet()
{
return street;
}
 
/**
* @param street the street to set
*/

public void setStreet(String street)
{
this.street = street;
}
 
/**
* @return the timeLimitFrom
*/

public int getTimeLimitFrom()
{
return timeLimitFrom;
}
 
/**
* @param timeLimitFrom the timeLimitFrom to set
*/

public void setTimeLimitFrom(int timeLimitFrom)
{
this.timeLimitFrom = timeLimitFrom;
}
 
/**
* @return the timeLimitMessage
*/

public int getTimeLimitMessage()
{
return timeLimitMessage;
}
 
/**
* @param timeLimitMessage the timeLimitMessage to set
*/

public void setTimeLimitMessage(int timeLimitMessage)
{
this.timeLimitMessage = timeLimitMessage;
}
 
/**
* @return the timeLimitUntil
*/

public int getTimeLimitUntil()
{
return timeLimitUntil;
}
 
/**
* @param timeLimitUntil the timeLimitUntil to set
*/

public void setTimeLimitUntil(int timeLimitUntil)
{
this.timeLimitUntil = timeLimitUntil;
}
 
/**
* @return the userSkin
*/

public String getUserSkin()
{
return userSkin;
}
 
/**
* @param userSkin the userSkin to set
*/

public void setUserSkin(String userSkin)
{
this.userSkin = userSkin;
}
 
/**
* @return the userStyle
*/

public String getUserStyle()
{
return userStyle;
}
 
/**
* @param userStyle the userStyle to set
*/

public void setUserStyle(String userStyle)
{
this.userStyle = userStyle;
}
 
/**
* @return the zipcode
*/

public String getZipcode()
{
return zipcode;
}
 
/**
* @param zipcode the zipcode to set
*/

public void setZipcode(String zipcode)
{
this.zipcode = zipcode;
}
 
/**
* @return the email
*/

public String getEmail()
{
return email;
}
/**
* @param email the email to set
*/

public void setEmail(String email)
{
this.email = email;
}
/**
* @return the firstname
*/

public String getFirstname()
{
return firstname;
}
/**
* @param firstname the firstname to set
*/

public void setFirstname(String firstname)
{
this.firstname = firstname;
}
/**
* @return the gender
*/

public String getGender()
{
return gender;
}
/**
* @param gender the gender to set
*/

public void setGender(String gender)
{
this.gender = gender;
}
/**
* @return the lastname
*/

public String getLastname()
{
return lastname;
}
/**
* @param lastname the lastname to set
*/

public void setLastname(String lastname)
{
this.lastname = lastname;
}
/**
* @return the login
*/

public String getLogin()
{
return login;
}
/**
* @param login the login to set
*/

public void setLogin(String login)
{
this.login = login;
}
/**
* @return the passwd
*/

public String getPasswd()
{
return passwd;
}
/**
* @param passwd the passwd to set
*/

public void setPasswd(String passwd)
{
this.passwd = passwd;
}
/**
* @return the title
*/

public String getTitle()
{
return title;
}
/**
* @param title the title to set
*/

public void setTitle(String title)
{
this.title = title;
}
/**
* @return the usr_id
*/

public int getUsr_id()
{
return usr_id;
}
/**
* @param usr_id the usr_id to set
*/

public void setUsr_id(int usr_id)
{
this.usr_id = usr_id;
}
 
 
/**
* @return the timeLimitOwner
*/

public int getTimeLimitOwner()
{
return timeLimitOwner;
}
 
/**
* @param timeLimitOwner the timeLimitOwner to set
*/

public void setTimeLimitOwner(int timeLimitOwner)
{
this.timeLimitOwner = timeLimitOwner;
}
 
 
/**
* @return the timeLimitUnlimited
*/

public int getTimeLimitUnlimited()
{
return timeLimitUnlimited;
}
 
/**
* @param timeLimitUnlimited the timeLimitUnlimited to set
*/

public void setTimeLimitUnlimited(int timeLimitUnlimited)
{
this.timeLimitUnlimited = timeLimitUnlimited;
}
 
 
 
/**
* @return the userLanguage
*/

public String getUserLanguage()
{
return userLanguage;
}
 
/**
* @param userLanguage the userLanguage to set
*/

public void setUserLanguage(String userLanguage)
{
this.userLanguage = userLanguage;
}
 
public Object getProperty(int arg0)
{
switch (arg0)
{
case 0:
return usr_id;
case 1:
return login;
case 2:
return passwd;
case 3:
return firstname;
case 4:
return lastname;
case 5:
return title;
case 6:
return gender;
case 7:
return email;
case 8:
return institution;
case 9:
return street;
case 10:
return city;
case 11:
return zipcode;
case 12:
return country;
case 13:
return phoneOffice;
case 14:
return lastLogin;
case 15:
return lastUpdate;
case 16:
return createDate;
case 17:
return hobby;
case 18:
return department;
case 19:
return phoneHome;
case 20:
return phoneMobile;
case 21:
return fax;
case 22:
return new Integer(timeLimitOwner);
case 23:
return new Integer(timeLimitUnlimited);
case 24:
return new Integer(timeLimitFrom);
case 25:
return new Integer(timeLimitUntil);
case 26:
return new Integer(timeLimitMessage);
case 27:
return referralComment;
case 28:
return matriculation;
case 29:
return new Integer(active);
case 30:
return new Boolean(acceptedAgreement);
case 31:
return approveDate;
case 32:
return userSkin;
case 33:
return userStyle;
case 34:
return userLanguage;
case 35:
return importId;
 
}
// TODO Auto-generated method stub
return null;
}
 
public int getPropertyCount()
{
return 36;
}
 
public void getPropertyInfo(int index, Hashtable properties, PropertyInfo info)
{
info.type = PropertyInfo.STRING_CLASS;
switch (index)
{
case 0:
info.name = "usr_id";
info.type = PropertyInfo.INTEGER_CLASS;
break;
case 1:
info.name = "login";
break;
case 2:
info.name = "passwd";
break;
case 3:
info.name = "firstname";
break;
case 4:
info.name = "lastname";
break;
case 5:
info.name = "title";
break;
case 6:
info.name = "gender";
break;
case 7:
info.name = "email";
break;
case 8:
info.name = "institution";
break;
case 9:
info.name = "street";
break;
case 10:
info.name = "city";
break;
case 11:
info.name = "zipcode";
break;
case 12:
info.name = "country";
break;
case 13:
info.name = "phone_office";
break;
case 14:
info.name = "last_login";
break;
case 15:
info.name = "last_update";
break;
case 16:
info.name = "create_date";
break;
case 17:
info.name = "hobby";
break;
case 18:
info.name = "department";
break;
case 19:
info.name = "phone_home";
break;
case 20:
info.name = "phone_mobile";
break;
case 21:
info.name = "fax";
break;
case 22:
info.name = "time_limit_owner";
info.type = PropertyInfo.INTEGER_CLASS;
break;
case 23:
info.name = "time_limit_unlimited";
info.type = PropertyInfo.INTEGER_CLASS;
break;
case 24:
info.name = "time_limit_from";
info.type = PropertyInfo.INTEGER_CLASS;
break;
case 25:
info.name = "time_limit_until";
info.type = PropertyInfo.INTEGER_CLASS;
break;
case 26:
info.name = "time_limit_message";
info.type = PropertyInfo.INTEGER_CLASS;
break;
case 27:
info.name = "referral_comment";
break;
case 28:
info.name = "matriculation";
break;
case 29:
info.name = "active";
info.type = PropertyInfo.INTEGER_CLASS;
break;
case 30:
info.name = "accepted_agreement";
info.type = PropertyInfo.BOOLEAN_CLASS;
break;
case 31:
info.name = "approve_date";
break;
case 32:
info.name = "user_skin";
break;
case 33:
info.name = "user_style";
break;
case 34:
info.name = "user_language";
break;
case 35:
info.name = "import_id";
break;
}
}
 
public void setProperty(int index, Object property)
{
switch (index)
{
case 0:
this.setUsr_id((Integer) property);
break;
case 1:
this.setLogin((String) property);
break;
case 2:
this.setPasswd((String) property);
break;
case 3:
this.setFirstname((String) property);
break;
case 4:
this.setLastname((String) property);
break;
case 5:
this.setTitle((String) property);
break;
case 6:
this.setGender((String) property);
break;
case 7:
this.setEmail((String) property);
break;
case 8:
this.setInstitution((String) property);
break;
case 9:
this.setStreet((String) property);
break;
case 10:
this.setCity((String) property);
break;
case 11:
this.setZipcode((String) property);
break;
case 12:
this.setCountry((String) property);
break;
case 13:
this.setPhoneOffice((String) property);
break;
case 14:
this.setLastLogin((String) property);
break;
case 15:
this.setLastUpdate((String) property);
break;
case 16:
this.setCreateDate((String) property);
break;
case 17:
this.setHobby((String) property);
break;
case 18:
this.setDepartment((String) property);
break;
case 19:
this.setPhoneHome((String) property);
break;
case 20:
this.setPhoneMobile((String) property);
break;
case 21:
this.setFax((String) property);
break;
case 22:
this.setTimeLimitOwner((Integer) property);
break;
case 23:
this.setTimeLimitUnlimited((Integer) property);
break;
case 24:
this.setTimeLimitFrom((Integer) property);
break;
case 25:
this.setTimeLimitUntil((Integer) property);
break;
case 26:
this.setTimeLimitMessage((Integer) property);
break;
case 27:
this.setReferralComment((String) property);
break;
case 28:
this.setMatriculation((String) property);
break;
case 29:
this.setActive((Integer) property);
break;
case 30:
this.setAcceptedAgreement(((Boolean) property));
break;
case 31:
this.setApproveDate((String) property);
break;
case 32:
this.setUserSkin((String) property);
break;
case 33:
this.setUserStyle(((String) property));
break;
case 34:
this.setUserLanguage((String) property);
break;
case 35:
this.setImportId((String) property);
break;
}
}
 
public void register(SoapSerializationEnvelope envelope)
{
envelope.addMapping("urn:ilUserAdministration", "ilUserData", this.getClass());
}
}


Nessun commento è stato ancora pubblicato.