001
014
015 package com.liferay.portal.model;
016
017 import java.util.Date;
018 import java.util.HashMap;
019 import java.util.Map;
020
021
030 public class UserWrapper implements User, ModelWrapper<User> {
031 public UserWrapper(User user) {
032 _user = user;
033 }
034
035 public Class<?> getModelClass() {
036 return User.class;
037 }
038
039 public String getModelClassName() {
040 return User.class.getName();
041 }
042
043 public Map<String, Object> getModelAttributes() {
044 Map<String, Object> attributes = new HashMap<String, Object>();
045
046 attributes.put("uuid", getUuid());
047 attributes.put("userId", getUserId());
048 attributes.put("companyId", getCompanyId());
049 attributes.put("createDate", getCreateDate());
050 attributes.put("modifiedDate", getModifiedDate());
051 attributes.put("defaultUser", getDefaultUser());
052 attributes.put("contactId", getContactId());
053 attributes.put("password", getPassword());
054 attributes.put("passwordEncrypted", getPasswordEncrypted());
055 attributes.put("passwordReset", getPasswordReset());
056 attributes.put("passwordModifiedDate", getPasswordModifiedDate());
057 attributes.put("digest", getDigest());
058 attributes.put("reminderQueryQuestion", getReminderQueryQuestion());
059 attributes.put("reminderQueryAnswer", getReminderQueryAnswer());
060 attributes.put("graceLoginCount", getGraceLoginCount());
061 attributes.put("screenName", getScreenName());
062 attributes.put("emailAddress", getEmailAddress());
063 attributes.put("facebookId", getFacebookId());
064 attributes.put("openId", getOpenId());
065 attributes.put("portraitId", getPortraitId());
066 attributes.put("languageId", getLanguageId());
067 attributes.put("timeZoneId", getTimeZoneId());
068 attributes.put("greeting", getGreeting());
069 attributes.put("comments", getComments());
070 attributes.put("firstName", getFirstName());
071 attributes.put("middleName", getMiddleName());
072 attributes.put("lastName", getLastName());
073 attributes.put("jobTitle", getJobTitle());
074 attributes.put("loginDate", getLoginDate());
075 attributes.put("loginIP", getLoginIP());
076 attributes.put("lastLoginDate", getLastLoginDate());
077 attributes.put("lastLoginIP", getLastLoginIP());
078 attributes.put("lastFailedLoginDate", getLastFailedLoginDate());
079 attributes.put("failedLoginAttempts", getFailedLoginAttempts());
080 attributes.put("lockout", getLockout());
081 attributes.put("lockoutDate", getLockoutDate());
082 attributes.put("agreedToTermsOfUse", getAgreedToTermsOfUse());
083 attributes.put("emailAddressVerified", getEmailAddressVerified());
084 attributes.put("status", getStatus());
085
086 return attributes;
087 }
088
089 public void setModelAttributes(Map<String, Object> attributes) {
090 String uuid = (String)attributes.get("uuid");
091
092 if (uuid != null) {
093 setUuid(uuid);
094 }
095
096 Long userId = (Long)attributes.get("userId");
097
098 if (userId != null) {
099 setUserId(userId);
100 }
101
102 Long companyId = (Long)attributes.get("companyId");
103
104 if (companyId != null) {
105 setCompanyId(companyId);
106 }
107
108 Date createDate = (Date)attributes.get("createDate");
109
110 if (createDate != null) {
111 setCreateDate(createDate);
112 }
113
114 Date modifiedDate = (Date)attributes.get("modifiedDate");
115
116 if (modifiedDate != null) {
117 setModifiedDate(modifiedDate);
118 }
119
120 Boolean defaultUser = (Boolean)attributes.get("defaultUser");
121
122 if (defaultUser != null) {
123 setDefaultUser(defaultUser);
124 }
125
126 Long contactId = (Long)attributes.get("contactId");
127
128 if (contactId != null) {
129 setContactId(contactId);
130 }
131
132 String password = (String)attributes.get("password");
133
134 if (password != null) {
135 setPassword(password);
136 }
137
138 Boolean passwordEncrypted = (Boolean)attributes.get("passwordEncrypted");
139
140 if (passwordEncrypted != null) {
141 setPasswordEncrypted(passwordEncrypted);
142 }
143
144 Boolean passwordReset = (Boolean)attributes.get("passwordReset");
145
146 if (passwordReset != null) {
147 setPasswordReset(passwordReset);
148 }
149
150 Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate");
151
152 if (passwordModifiedDate != null) {
153 setPasswordModifiedDate(passwordModifiedDate);
154 }
155
156 String digest = (String)attributes.get("digest");
157
158 if (digest != null) {
159 setDigest(digest);
160 }
161
162 String reminderQueryQuestion = (String)attributes.get(
163 "reminderQueryQuestion");
164
165 if (reminderQueryQuestion != null) {
166 setReminderQueryQuestion(reminderQueryQuestion);
167 }
168
169 String reminderQueryAnswer = (String)attributes.get(
170 "reminderQueryAnswer");
171
172 if (reminderQueryAnswer != null) {
173 setReminderQueryAnswer(reminderQueryAnswer);
174 }
175
176 Integer graceLoginCount = (Integer)attributes.get("graceLoginCount");
177
178 if (graceLoginCount != null) {
179 setGraceLoginCount(graceLoginCount);
180 }
181
182 String screenName = (String)attributes.get("screenName");
183
184 if (screenName != null) {
185 setScreenName(screenName);
186 }
187
188 String emailAddress = (String)attributes.get("emailAddress");
189
190 if (emailAddress != null) {
191 setEmailAddress(emailAddress);
192 }
193
194 Long facebookId = (Long)attributes.get("facebookId");
195
196 if (facebookId != null) {
197 setFacebookId(facebookId);
198 }
199
200 String openId = (String)attributes.get("openId");
201
202 if (openId != null) {
203 setOpenId(openId);
204 }
205
206 Long portraitId = (Long)attributes.get("portraitId");
207
208 if (portraitId != null) {
209 setPortraitId(portraitId);
210 }
211
212 String languageId = (String)attributes.get("languageId");
213
214 if (languageId != null) {
215 setLanguageId(languageId);
216 }
217
218 String timeZoneId = (String)attributes.get("timeZoneId");
219
220 if (timeZoneId != null) {
221 setTimeZoneId(timeZoneId);
222 }
223
224 String greeting = (String)attributes.get("greeting");
225
226 if (greeting != null) {
227 setGreeting(greeting);
228 }
229
230 String comments = (String)attributes.get("comments");
231
232 if (comments != null) {
233 setComments(comments);
234 }
235
236 String firstName = (String)attributes.get("firstName");
237
238 if (firstName != null) {
239 setFirstName(firstName);
240 }
241
242 String middleName = (String)attributes.get("middleName");
243
244 if (middleName != null) {
245 setMiddleName(middleName);
246 }
247
248 String lastName = (String)attributes.get("lastName");
249
250 if (lastName != null) {
251 setLastName(lastName);
252 }
253
254 String jobTitle = (String)attributes.get("jobTitle");
255
256 if (jobTitle != null) {
257 setJobTitle(jobTitle);
258 }
259
260 Date loginDate = (Date)attributes.get("loginDate");
261
262 if (loginDate != null) {
263 setLoginDate(loginDate);
264 }
265
266 String loginIP = (String)attributes.get("loginIP");
267
268 if (loginIP != null) {
269 setLoginIP(loginIP);
270 }
271
272 Date lastLoginDate = (Date)attributes.get("lastLoginDate");
273
274 if (lastLoginDate != null) {
275 setLastLoginDate(lastLoginDate);
276 }
277
278 String lastLoginIP = (String)attributes.get("lastLoginIP");
279
280 if (lastLoginIP != null) {
281 setLastLoginIP(lastLoginIP);
282 }
283
284 Date lastFailedLoginDate = (Date)attributes.get("lastFailedLoginDate");
285
286 if (lastFailedLoginDate != null) {
287 setLastFailedLoginDate(lastFailedLoginDate);
288 }
289
290 Integer failedLoginAttempts = (Integer)attributes.get(
291 "failedLoginAttempts");
292
293 if (failedLoginAttempts != null) {
294 setFailedLoginAttempts(failedLoginAttempts);
295 }
296
297 Boolean lockout = (Boolean)attributes.get("lockout");
298
299 if (lockout != null) {
300 setLockout(lockout);
301 }
302
303 Date lockoutDate = (Date)attributes.get("lockoutDate");
304
305 if (lockoutDate != null) {
306 setLockoutDate(lockoutDate);
307 }
308
309 Boolean agreedToTermsOfUse = (Boolean)attributes.get(
310 "agreedToTermsOfUse");
311
312 if (agreedToTermsOfUse != null) {
313 setAgreedToTermsOfUse(agreedToTermsOfUse);
314 }
315
316 Boolean emailAddressVerified = (Boolean)attributes.get(
317 "emailAddressVerified");
318
319 if (emailAddressVerified != null) {
320 setEmailAddressVerified(emailAddressVerified);
321 }
322
323 Integer status = (Integer)attributes.get("status");
324
325 if (status != null) {
326 setStatus(status);
327 }
328 }
329
330
335 public long getPrimaryKey() {
336 return _user.getPrimaryKey();
337 }
338
339
344 public void setPrimaryKey(long primaryKey) {
345 _user.setPrimaryKey(primaryKey);
346 }
347
348
353 public java.lang.String getUuid() {
354 return _user.getUuid();
355 }
356
357
362 public void setUuid(java.lang.String uuid) {
363 _user.setUuid(uuid);
364 }
365
366
371 public long getUserId() {
372 return _user.getUserId();
373 }
374
375
380 public void setUserId(long userId) {
381 _user.setUserId(userId);
382 }
383
384
390 public java.lang.String getUserUuid()
391 throws com.liferay.portal.kernel.exception.SystemException {
392 return _user.getUserUuid();
393 }
394
395
400 public void setUserUuid(java.lang.String userUuid) {
401 _user.setUserUuid(userUuid);
402 }
403
404
409 public long getCompanyId() {
410 return _user.getCompanyId();
411 }
412
413
418 public void setCompanyId(long companyId) {
419 _user.setCompanyId(companyId);
420 }
421
422
427 public java.util.Date getCreateDate() {
428 return _user.getCreateDate();
429 }
430
431
436 public void setCreateDate(java.util.Date createDate) {
437 _user.setCreateDate(createDate);
438 }
439
440
445 public java.util.Date getModifiedDate() {
446 return _user.getModifiedDate();
447 }
448
449
454 public void setModifiedDate(java.util.Date modifiedDate) {
455 _user.setModifiedDate(modifiedDate);
456 }
457
458
463 public boolean getDefaultUser() {
464 return _user.getDefaultUser();
465 }
466
467
472 public boolean isDefaultUser() {
473 return _user.isDefaultUser();
474 }
475
476
481 public void setDefaultUser(boolean defaultUser) {
482 _user.setDefaultUser(defaultUser);
483 }
484
485
490 public long getContactId() {
491 return _user.getContactId();
492 }
493
494
499 public void setContactId(long contactId) {
500 _user.setContactId(contactId);
501 }
502
503
508 public java.lang.String getPassword() {
509 return _user.getPassword();
510 }
511
512
517 public void setPassword(java.lang.String password) {
518 _user.setPassword(password);
519 }
520
521
526 public boolean getPasswordEncrypted() {
527 return _user.getPasswordEncrypted();
528 }
529
530
535 public boolean isPasswordEncrypted() {
536 return _user.isPasswordEncrypted();
537 }
538
539
544 public void setPasswordEncrypted(boolean passwordEncrypted) {
545 _user.setPasswordEncrypted(passwordEncrypted);
546 }
547
548
553 public boolean getPasswordReset() {
554 return _user.getPasswordReset();
555 }
556
557
562 public boolean isPasswordReset() {
563 return _user.isPasswordReset();
564 }
565
566
571 public void setPasswordReset(boolean passwordReset) {
572 _user.setPasswordReset(passwordReset);
573 }
574
575
580 public java.util.Date getPasswordModifiedDate() {
581 return _user.getPasswordModifiedDate();
582 }
583
584
589 public void setPasswordModifiedDate(java.util.Date passwordModifiedDate) {
590 _user.setPasswordModifiedDate(passwordModifiedDate);
591 }
592
593
598 public java.lang.String getDigest() {
599 return _user.getDigest();
600 }
601
602
607 public void setDigest(java.lang.String digest) {
608 _user.setDigest(digest);
609 }
610
611
616 public java.lang.String getReminderQueryQuestion() {
617 return _user.getReminderQueryQuestion();
618 }
619
620
625 public void setReminderQueryQuestion(java.lang.String reminderQueryQuestion) {
626 _user.setReminderQueryQuestion(reminderQueryQuestion);
627 }
628
629
634 public java.lang.String getReminderQueryAnswer() {
635 return _user.getReminderQueryAnswer();
636 }
637
638
643 public void setReminderQueryAnswer(java.lang.String reminderQueryAnswer) {
644 _user.setReminderQueryAnswer(reminderQueryAnswer);
645 }
646
647
652 public int getGraceLoginCount() {
653 return _user.getGraceLoginCount();
654 }
655
656
661 public void setGraceLoginCount(int graceLoginCount) {
662 _user.setGraceLoginCount(graceLoginCount);
663 }
664
665
670 public java.lang.String getScreenName() {
671 return _user.getScreenName();
672 }
673
674
679 public void setScreenName(java.lang.String screenName) {
680 _user.setScreenName(screenName);
681 }
682
683
688 public java.lang.String getEmailAddress() {
689 return _user.getEmailAddress();
690 }
691
692
697 public void setEmailAddress(java.lang.String emailAddress) {
698 _user.setEmailAddress(emailAddress);
699 }
700
701
706 public long getFacebookId() {
707 return _user.getFacebookId();
708 }
709
710
715 public void setFacebookId(long facebookId) {
716 _user.setFacebookId(facebookId);
717 }
718
719
724 public java.lang.String getOpenId() {
725 return _user.getOpenId();
726 }
727
728
733 public void setOpenId(java.lang.String openId) {
734 _user.setOpenId(openId);
735 }
736
737
742 public long getPortraitId() {
743 return _user.getPortraitId();
744 }
745
746
751 public void setPortraitId(long portraitId) {
752 _user.setPortraitId(portraitId);
753 }
754
755
760 public java.lang.String getLanguageId() {
761 return _user.getLanguageId();
762 }
763
764
769 public void setLanguageId(java.lang.String languageId) {
770 _user.setLanguageId(languageId);
771 }
772
773
778 public java.lang.String getTimeZoneId() {
779 return _user.getTimeZoneId();
780 }
781
782
787 public void setTimeZoneId(java.lang.String timeZoneId) {
788 _user.setTimeZoneId(timeZoneId);
789 }
790
791
796 public java.lang.String getGreeting() {
797 return _user.getGreeting();
798 }
799
800
805 public void setGreeting(java.lang.String greeting) {
806 _user.setGreeting(greeting);
807 }
808
809
814 public java.lang.String getComments() {
815 return _user.getComments();
816 }
817
818
823 public void setComments(java.lang.String comments) {
824 _user.setComments(comments);
825 }
826
827
832 public java.lang.String getFirstName() {
833 return _user.getFirstName();
834 }
835
836
841 public void setFirstName(java.lang.String firstName) {
842 _user.setFirstName(firstName);
843 }
844
845
850 public java.lang.String getMiddleName() {
851 return _user.getMiddleName();
852 }
853
854
859 public void setMiddleName(java.lang.String middleName) {
860 _user.setMiddleName(middleName);
861 }
862
863
868 public java.lang.String getLastName() {
869 return _user.getLastName();
870 }
871
872
877 public void setLastName(java.lang.String lastName) {
878 _user.setLastName(lastName);
879 }
880
881
886 public java.lang.String getJobTitle() {
887 return _user.getJobTitle();
888 }
889
890
895 public void setJobTitle(java.lang.String jobTitle) {
896 _user.setJobTitle(jobTitle);
897 }
898
899
904 public java.util.Date getLoginDate() {
905 return _user.getLoginDate();
906 }
907
908
913 public void setLoginDate(java.util.Date loginDate) {
914 _user.setLoginDate(loginDate);
915 }
916
917
922 public java.lang.String getLoginIP() {
923 return _user.getLoginIP();
924 }
925
926
931 public void setLoginIP(java.lang.String loginIP) {
932 _user.setLoginIP(loginIP);
933 }
934
935
940 public java.util.Date getLastLoginDate() {
941 return _user.getLastLoginDate();
942 }
943
944
949 public void setLastLoginDate(java.util.Date lastLoginDate) {
950 _user.setLastLoginDate(lastLoginDate);
951 }
952
953
958 public java.lang.String getLastLoginIP() {
959 return _user.getLastLoginIP();
960 }
961
962
967 public void setLastLoginIP(java.lang.String lastLoginIP) {
968 _user.setLastLoginIP(lastLoginIP);
969 }
970
971
976 public java.util.Date getLastFailedLoginDate() {
977 return _user.getLastFailedLoginDate();
978 }
979
980
985 public void setLastFailedLoginDate(java.util.Date lastFailedLoginDate) {
986 _user.setLastFailedLoginDate(lastFailedLoginDate);
987 }
988
989
994 public int getFailedLoginAttempts() {
995 return _user.getFailedLoginAttempts();
996 }
997
998
1003 public void setFailedLoginAttempts(int failedLoginAttempts) {
1004 _user.setFailedLoginAttempts(failedLoginAttempts);
1005 }
1006
1007
1012 public boolean getLockout() {
1013 return _user.getLockout();
1014 }
1015
1016
1021 public boolean isLockout() {
1022 return _user.isLockout();
1023 }
1024
1025
1030 public void setLockout(boolean lockout) {
1031 _user.setLockout(lockout);
1032 }
1033
1034
1039 public java.util.Date getLockoutDate() {
1040 return _user.getLockoutDate();
1041 }
1042
1043
1048 public void setLockoutDate(java.util.Date lockoutDate) {
1049 _user.setLockoutDate(lockoutDate);
1050 }
1051
1052
1057 public boolean getAgreedToTermsOfUse() {
1058 return _user.getAgreedToTermsOfUse();
1059 }
1060
1061
1066 public boolean isAgreedToTermsOfUse() {
1067 return _user.isAgreedToTermsOfUse();
1068 }
1069
1070
1075 public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
1076 _user.setAgreedToTermsOfUse(agreedToTermsOfUse);
1077 }
1078
1079
1084 public boolean getEmailAddressVerified() {
1085 return _user.getEmailAddressVerified();
1086 }
1087
1088
1093 public boolean isEmailAddressVerified() {
1094 return _user.isEmailAddressVerified();
1095 }
1096
1097
1102 public void setEmailAddressVerified(boolean emailAddressVerified) {
1103 _user.setEmailAddressVerified(emailAddressVerified);
1104 }
1105
1106
1111 public int getStatus() {
1112 return _user.getStatus();
1113 }
1114
1115
1120 public void setStatus(int status) {
1121 _user.setStatus(status);
1122 }
1123
1124 public boolean isNew() {
1125 return _user.isNew();
1126 }
1127
1128 public void setNew(boolean n) {
1129 _user.setNew(n);
1130 }
1131
1132 public boolean isCachedModel() {
1133 return _user.isCachedModel();
1134 }
1135
1136 public void setCachedModel(boolean cachedModel) {
1137 _user.setCachedModel(cachedModel);
1138 }
1139
1140 public boolean isEscapedModel() {
1141 return _user.isEscapedModel();
1142 }
1143
1144 public java.io.Serializable getPrimaryKeyObj() {
1145 return _user.getPrimaryKeyObj();
1146 }
1147
1148 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1149 _user.setPrimaryKeyObj(primaryKeyObj);
1150 }
1151
1152 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1153 return _user.getExpandoBridge();
1154 }
1155
1156 public void setExpandoBridgeAttributes(
1157 com.liferay.portal.service.ServiceContext serviceContext) {
1158 _user.setExpandoBridgeAttributes(serviceContext);
1159 }
1160
1161 @Override
1162 public java.lang.Object clone() {
1163 return new UserWrapper((User)_user.clone());
1164 }
1165
1166 public int compareTo(com.liferay.portal.model.User user) {
1167 return _user.compareTo(user);
1168 }
1169
1170 @Override
1171 public int hashCode() {
1172 return _user.hashCode();
1173 }
1174
1175 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.User> toCacheModel() {
1176 return _user.toCacheModel();
1177 }
1178
1179 public com.liferay.portal.model.User toEscapedModel() {
1180 return new UserWrapper(_user.toEscapedModel());
1181 }
1182
1183 @Override
1184 public java.lang.String toString() {
1185 return _user.toString();
1186 }
1187
1188 public java.lang.String toXmlString() {
1189 return _user.toXmlString();
1190 }
1191
1192 public void persist()
1193 throws com.liferay.portal.kernel.exception.SystemException {
1194 _user.persist();
1195 }
1196
1197 public java.util.List<com.liferay.portal.model.Address> getAddresses()
1198 throws com.liferay.portal.kernel.exception.SystemException {
1199 return _user.getAddresses();
1200 }
1201
1202 public java.util.Date getBirthday()
1203 throws com.liferay.portal.kernel.exception.PortalException,
1204 com.liferay.portal.kernel.exception.SystemException {
1205 return _user.getBirthday();
1206 }
1207
1208 public java.lang.String getCompanyMx()
1209 throws com.liferay.portal.kernel.exception.PortalException,
1210 com.liferay.portal.kernel.exception.SystemException {
1211 return _user.getCompanyMx();
1212 }
1213
1214 public com.liferay.portal.model.Contact getContact()
1215 throws com.liferay.portal.kernel.exception.PortalException,
1216 com.liferay.portal.kernel.exception.SystemException {
1217 return _user.getContact();
1218 }
1219
1220 public java.lang.String getDigest(java.lang.String password) {
1221 return _user.getDigest(password);
1222 }
1223
1224 public java.lang.String getDisplayEmailAddress() {
1225 return _user.getDisplayEmailAddress();
1226 }
1227
1228 public java.lang.String getDisplayURL(java.lang.String portalURL,
1229 java.lang.String mainPath)
1230 throws com.liferay.portal.kernel.exception.PortalException,
1231 com.liferay.portal.kernel.exception.SystemException {
1232 return _user.getDisplayURL(portalURL, mainPath);
1233 }
1234
1235 public java.lang.String getDisplayURL(
1236 com.liferay.portal.theme.ThemeDisplay themeDisplay)
1237 throws com.liferay.portal.kernel.exception.PortalException,
1238 com.liferay.portal.kernel.exception.SystemException {
1239 return _user.getDisplayURL(themeDisplay);
1240 }
1241
1242 public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
1243 throws com.liferay.portal.kernel.exception.SystemException {
1244 return _user.getEmailAddresses();
1245 }
1246
1247 public boolean getFemale()
1248 throws com.liferay.portal.kernel.exception.PortalException,
1249 com.liferay.portal.kernel.exception.SystemException {
1250 return _user.getFemale();
1251 }
1252
1253 public java.lang.String getFullName() {
1254 return _user.getFullName();
1255 }
1256
1257 public com.liferay.portal.model.Group getGroup()
1258 throws com.liferay.portal.kernel.exception.PortalException,
1259 com.liferay.portal.kernel.exception.SystemException {
1260 return _user.getGroup();
1261 }
1262
1263 public long getGroupId()
1264 throws com.liferay.portal.kernel.exception.PortalException,
1265 com.liferay.portal.kernel.exception.SystemException {
1266 return _user.getGroupId();
1267 }
1268
1269 public long[] getGroupIds()
1270 throws com.liferay.portal.kernel.exception.PortalException,
1271 com.liferay.portal.kernel.exception.SystemException {
1272 return _user.getGroupIds();
1273 }
1274
1275 public java.util.List<com.liferay.portal.model.Group> getGroups()
1276 throws com.liferay.portal.kernel.exception.PortalException,
1277 com.liferay.portal.kernel.exception.SystemException {
1278 return _user.getGroups();
1279 }
1280
1281 public java.util.Locale getLocale() {
1282 return _user.getLocale();
1283 }
1284
1285 public java.lang.String getLogin()
1286 throws com.liferay.portal.kernel.exception.PortalException,
1287 com.liferay.portal.kernel.exception.SystemException {
1288 return _user.getLogin();
1289 }
1290
1291 public boolean getMale()
1292 throws com.liferay.portal.kernel.exception.PortalException,
1293 com.liferay.portal.kernel.exception.SystemException {
1294 return _user.getMale();
1295 }
1296
1297 public java.util.List<com.liferay.portal.model.Group> getMySites()
1298 throws com.liferay.portal.kernel.exception.PortalException,
1299 com.liferay.portal.kernel.exception.SystemException {
1300 return _user.getMySites();
1301 }
1302
1303 public java.util.List<com.liferay.portal.model.Group> getMySites(
1304 boolean includeControlPanel, int max)
1305 throws com.liferay.portal.kernel.exception.PortalException,
1306 com.liferay.portal.kernel.exception.SystemException {
1307 return _user.getMySites(includeControlPanel, max);
1308 }
1309
1310 public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
1311 throws com.liferay.portal.kernel.exception.PortalException,
1312 com.liferay.portal.kernel.exception.SystemException {
1313 return _user.getMySites(max);
1314 }
1315
1316 public java.util.List<com.liferay.portal.model.Group> getMySites(
1317 java.lang.String[] classNames, boolean includeControlPanel, int max)
1318 throws com.liferay.portal.kernel.exception.PortalException,
1319 com.liferay.portal.kernel.exception.SystemException {
1320 return _user.getMySites(classNames, includeControlPanel, max);
1321 }
1322
1323 public java.util.List<com.liferay.portal.model.Group> getMySites(
1324 java.lang.String[] classNames, int max)
1325 throws com.liferay.portal.kernel.exception.PortalException,
1326 com.liferay.portal.kernel.exception.SystemException {
1327 return _user.getMySites(classNames, max);
1328 }
1329
1330 public long[] getOrganizationIds()
1331 throws com.liferay.portal.kernel.exception.PortalException,
1332 com.liferay.portal.kernel.exception.SystemException {
1333 return _user.getOrganizationIds();
1334 }
1335
1336 public long[] getOrganizationIds(boolean includeAdministrative)
1337 throws com.liferay.portal.kernel.exception.PortalException,
1338 com.liferay.portal.kernel.exception.SystemException {
1339 return _user.getOrganizationIds(includeAdministrative);
1340 }
1341
1342 public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
1343 throws com.liferay.portal.kernel.exception.PortalException,
1344 com.liferay.portal.kernel.exception.SystemException {
1345 return _user.getOrganizations();
1346 }
1347
1348 public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
1349 boolean includeAdministrative)
1350 throws com.liferay.portal.kernel.exception.PortalException,
1351 com.liferay.portal.kernel.exception.SystemException {
1352 return _user.getOrganizations(includeAdministrative);
1353 }
1354
1355 public boolean getPasswordModified() {
1356 return _user.getPasswordModified();
1357 }
1358
1359 public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
1360 throws com.liferay.portal.kernel.exception.PortalException,
1361 com.liferay.portal.kernel.exception.SystemException {
1362 return _user.getPasswordPolicy();
1363 }
1364
1365 public java.lang.String getPasswordUnencrypted() {
1366 return _user.getPasswordUnencrypted();
1367 }
1368
1369 public java.util.List<com.liferay.portal.model.Phone> getPhones()
1370 throws com.liferay.portal.kernel.exception.SystemException {
1371 return _user.getPhones();
1372 }
1373
1374 public java.lang.String getPortraitURL(
1375 com.liferay.portal.theme.ThemeDisplay themeDisplay)
1376 throws com.liferay.portal.kernel.exception.PortalException,
1377 com.liferay.portal.kernel.exception.SystemException {
1378 return _user.getPortraitURL(themeDisplay);
1379 }
1380
1381 public int getPrivateLayoutsPageCount()
1382 throws com.liferay.portal.kernel.exception.PortalException,
1383 com.liferay.portal.kernel.exception.SystemException {
1384 return _user.getPrivateLayoutsPageCount();
1385 }
1386
1387 public int getPublicLayoutsPageCount()
1388 throws com.liferay.portal.kernel.exception.PortalException,
1389 com.liferay.portal.kernel.exception.SystemException {
1390 return _user.getPublicLayoutsPageCount();
1391 }
1392
1393 public java.util.Set<java.lang.String> getReminderQueryQuestions()
1394 throws com.liferay.portal.kernel.exception.PortalException,
1395 com.liferay.portal.kernel.exception.SystemException {
1396 return _user.getReminderQueryQuestions();
1397 }
1398
1399 public long[] getRoleIds()
1400 throws com.liferay.portal.kernel.exception.SystemException {
1401 return _user.getRoleIds();
1402 }
1403
1404 public java.util.List<com.liferay.portal.model.Role> getRoles()
1405 throws com.liferay.portal.kernel.exception.SystemException {
1406 return _user.getRoles();
1407 }
1408
1409 public long[] getTeamIds()
1410 throws com.liferay.portal.kernel.exception.SystemException {
1411 return _user.getTeamIds();
1412 }
1413
1414 public java.util.List<com.liferay.portal.model.Team> getTeams()
1415 throws com.liferay.portal.kernel.exception.SystemException {
1416 return _user.getTeams();
1417 }
1418
1419 public java.util.TimeZone getTimeZone() {
1420 return _user.getTimeZone();
1421 }
1422
1423 public long[] getUserGroupIds()
1424 throws com.liferay.portal.kernel.exception.SystemException {
1425 return _user.getUserGroupIds();
1426 }
1427
1428 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
1429 throws com.liferay.portal.kernel.exception.SystemException {
1430 return _user.getUserGroups();
1431 }
1432
1433 public java.util.List<com.liferay.portal.model.Website> getWebsites()
1434 throws com.liferay.portal.kernel.exception.SystemException {
1435 return _user.getWebsites();
1436 }
1437
1438 public boolean hasCompanyMx()
1439 throws com.liferay.portal.kernel.exception.PortalException,
1440 com.liferay.portal.kernel.exception.SystemException {
1441 return _user.hasCompanyMx();
1442 }
1443
1444 public boolean hasCompanyMx(java.lang.String emailAddress)
1445 throws com.liferay.portal.kernel.exception.PortalException,
1446 com.liferay.portal.kernel.exception.SystemException {
1447 return _user.hasCompanyMx(emailAddress);
1448 }
1449
1450 public boolean hasMySites()
1451 throws com.liferay.portal.kernel.exception.PortalException,
1452 com.liferay.portal.kernel.exception.SystemException {
1453 return _user.hasMySites();
1454 }
1455
1456 public boolean hasOrganization()
1457 throws com.liferay.portal.kernel.exception.PortalException,
1458 com.liferay.portal.kernel.exception.SystemException {
1459 return _user.hasOrganization();
1460 }
1461
1462 public boolean hasPrivateLayouts()
1463 throws com.liferay.portal.kernel.exception.PortalException,
1464 com.liferay.portal.kernel.exception.SystemException {
1465 return _user.hasPrivateLayouts();
1466 }
1467
1468 public boolean hasPublicLayouts()
1469 throws com.liferay.portal.kernel.exception.PortalException,
1470 com.liferay.portal.kernel.exception.SystemException {
1471 return _user.hasPublicLayouts();
1472 }
1473
1474 public boolean hasReminderQuery() {
1475 return _user.hasReminderQuery();
1476 }
1477
1478 public boolean isActive() {
1479 return _user.isActive();
1480 }
1481
1482 public boolean isFemale()
1483 throws com.liferay.portal.kernel.exception.PortalException,
1484 com.liferay.portal.kernel.exception.SystemException {
1485 return _user.isFemale();
1486 }
1487
1488 public boolean isMale()
1489 throws com.liferay.portal.kernel.exception.PortalException,
1490 com.liferay.portal.kernel.exception.SystemException {
1491 return _user.isMale();
1492 }
1493
1494 public boolean isPasswordModified() {
1495 return _user.isPasswordModified();
1496 }
1497
1498 public void setPasswordModified(boolean passwordModified) {
1499 _user.setPasswordModified(passwordModified);
1500 }
1501
1502 public void setPasswordUnencrypted(java.lang.String passwordUnencrypted) {
1503 _user.setPasswordUnencrypted(passwordUnencrypted);
1504 }
1505
1506
1509 public User getWrappedUser() {
1510 return _user;
1511 }
1512
1513 public User getWrappedModel() {
1514 return _user;
1515 }
1516
1517 public void resetOriginalValues() {
1518 _user.resetOriginalValues();
1519 }
1520
1521 private User _user;
1522 }