1
19
20 package com.liferay.portal.model.impl;
21
22 import com.liferay.portal.kernel.bean.ReadOnlyBeanHandler;
23 import com.liferay.portal.kernel.util.GetterUtil;
24 import com.liferay.portal.kernel.util.HtmlUtil;
25 import com.liferay.portal.model.User;
26 import com.liferay.portal.model.UserSoap;
27
28 import java.io.Serializable;
29
30 import java.lang.reflect.Proxy;
31
32 import java.sql.Types;
33
34 import java.util.ArrayList;
35 import java.util.Date;
36 import java.util.List;
37
38
58 public class UserModelImpl extends BaseModelImpl {
59 public static final String TABLE_NAME = "User_";
60 public static final Object[][] TABLE_COLUMNS = {
61 { "uuid_", new Integer(Types.VARCHAR) },
62
63
64 { "userId", new Integer(Types.BIGINT) },
65
66
67 { "companyId", new Integer(Types.BIGINT) },
68
69
70 { "createDate", new Integer(Types.TIMESTAMP) },
71
72
73 { "modifiedDate", new Integer(Types.TIMESTAMP) },
74
75
76 { "defaultUser", new Integer(Types.BOOLEAN) },
77
78
79 { "contactId", new Integer(Types.BIGINT) },
80
81
82 { "password_", new Integer(Types.VARCHAR) },
83
84
85 { "passwordEncrypted", new Integer(Types.BOOLEAN) },
86
87
88 { "passwordReset", new Integer(Types.BOOLEAN) },
89
90
91 { "passwordModifiedDate", new Integer(Types.TIMESTAMP) },
92
93
94 { "graceLoginCount", new Integer(Types.INTEGER) },
95
96
97 { "screenName", new Integer(Types.VARCHAR) },
98
99
100 { "emailAddress", new Integer(Types.VARCHAR) },
101
102
103 { "openId", new Integer(Types.VARCHAR) },
104
105
106 { "portraitId", new Integer(Types.BIGINT) },
107
108
109 { "languageId", new Integer(Types.VARCHAR) },
110
111
112 { "timeZoneId", new Integer(Types.VARCHAR) },
113
114
115 { "greeting", new Integer(Types.VARCHAR) },
116
117
118 { "comments", new Integer(Types.VARCHAR) },
119
120
121 { "loginDate", new Integer(Types.TIMESTAMP) },
122
123
124 { "loginIP", new Integer(Types.VARCHAR) },
125
126
127 { "lastLoginDate", new Integer(Types.TIMESTAMP) },
128
129
130 { "lastLoginIP", new Integer(Types.VARCHAR) },
131
132
133 { "lastFailedLoginDate", new Integer(Types.TIMESTAMP) },
134
135
136 { "failedLoginAttempts", new Integer(Types.INTEGER) },
137
138
139 { "lockout", new Integer(Types.BOOLEAN) },
140
141
142 { "lockoutDate", new Integer(Types.TIMESTAMP) },
143
144
145 { "agreedToTermsOfUse", new Integer(Types.BOOLEAN) },
146
147
148 { "active_", new Integer(Types.BOOLEAN) }
149 };
150 public static final String TABLE_SQL_CREATE = "create table User_ (uuid_ VARCHAR(75) null,userId LONG not null primary key,companyId LONG,createDate DATE null,modifiedDate DATE null,defaultUser BOOLEAN,contactId LONG,password_ VARCHAR(75) null,passwordEncrypted BOOLEAN,passwordReset BOOLEAN,passwordModifiedDate DATE null,graceLoginCount INTEGER,screenName VARCHAR(75) null,emailAddress VARCHAR(75) null,openId VARCHAR(1024) null,portraitId LONG,languageId VARCHAR(75) null,timeZoneId VARCHAR(75) null,greeting VARCHAR(75) null,comments STRING null,loginDate DATE null,loginIP VARCHAR(75) null,lastLoginDate DATE null,lastLoginIP VARCHAR(75) null,lastFailedLoginDate DATE null,failedLoginAttempts INTEGER,lockout BOOLEAN,lockoutDate DATE null,agreedToTermsOfUse BOOLEAN,active_ BOOLEAN)";
151 public static final String TABLE_SQL_DROP = "drop table User_";
152 public static final String DATA_SOURCE = "liferayDataSource";
153 public static final String SESSION_FACTORY = "liferaySessionFactory";
154 public static final String TX_MANAGER = "liferayTransactionManager";
155 public static final boolean CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
156 "value.object.finder.cache.enabled.com.liferay.portal.model.User"),
157 true);
158
159 public static User toModel(UserSoap soapModel) {
160 User model = new UserImpl();
161
162 model.setUuid(soapModel.getUuid());
163 model.setUserId(soapModel.getUserId());
164 model.setCompanyId(soapModel.getCompanyId());
165 model.setCreateDate(soapModel.getCreateDate());
166 model.setModifiedDate(soapModel.getModifiedDate());
167 model.setDefaultUser(soapModel.getDefaultUser());
168 model.setContactId(soapModel.getContactId());
169 model.setPassword(soapModel.getPassword());
170 model.setPasswordEncrypted(soapModel.getPasswordEncrypted());
171 model.setPasswordReset(soapModel.getPasswordReset());
172 model.setPasswordModifiedDate(soapModel.getPasswordModifiedDate());
173 model.setGraceLoginCount(soapModel.getGraceLoginCount());
174 model.setScreenName(soapModel.getScreenName());
175 model.setEmailAddress(soapModel.getEmailAddress());
176 model.setOpenId(soapModel.getOpenId());
177 model.setPortraitId(soapModel.getPortraitId());
178 model.setLanguageId(soapModel.getLanguageId());
179 model.setTimeZoneId(soapModel.getTimeZoneId());
180 model.setGreeting(soapModel.getGreeting());
181 model.setComments(soapModel.getComments());
182 model.setLoginDate(soapModel.getLoginDate());
183 model.setLoginIP(soapModel.getLoginIP());
184 model.setLastLoginDate(soapModel.getLastLoginDate());
185 model.setLastLoginIP(soapModel.getLastLoginIP());
186 model.setLastFailedLoginDate(soapModel.getLastFailedLoginDate());
187 model.setFailedLoginAttempts(soapModel.getFailedLoginAttempts());
188 model.setLockout(soapModel.getLockout());
189 model.setLockoutDate(soapModel.getLockoutDate());
190 model.setAgreedToTermsOfUse(soapModel.getAgreedToTermsOfUse());
191 model.setActive(soapModel.getActive());
192
193 return model;
194 }
195
196 public static List<User> toModels(UserSoap[] soapModels) {
197 List<User> models = new ArrayList<User>(soapModels.length);
198
199 for (UserSoap soapModel : soapModels) {
200 models.add(toModel(soapModel));
201 }
202
203 return models;
204 }
205
206 public static final boolean CACHE_ENABLED_USERS_GROUPS = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
207 "value.object.finder.cache.enabled.Users_Groups"), true);
208 public static final boolean CACHE_ENABLED_USERS_ORGS = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
209 "value.object.finder.cache.enabled.Users_Orgs"), true);
210 public static final boolean CACHE_ENABLED_USERS_PERMISSIONS = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
211 "value.object.finder.cache.enabled.Users_Permissions"), true);
212 public static final boolean CACHE_ENABLED_USERS_ROLES = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
213 "value.object.finder.cache.enabled.Users_Roles"), true);
214 public static final boolean CACHE_ENABLED_USERS_USERGROUPS = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
215 "value.object.finder.cache.enabled.Users_UserGroups"), true);
216 public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
217 "lock.expiration.time.com.liferay.portal.model.User"));
218
219 public UserModelImpl() {
220 }
221
222 public long getPrimaryKey() {
223 return _userId;
224 }
225
226 public void setPrimaryKey(long pk) {
227 setUserId(pk);
228 }
229
230 public Serializable getPrimaryKeyObj() {
231 return new Long(_userId);
232 }
233
234 public String getUuid() {
235 return GetterUtil.getString(_uuid);
236 }
237
238 public void setUuid(String uuid) {
239 if ((uuid != null) && (uuid != _uuid)) {
240 _uuid = uuid;
241 }
242 }
243
244 public long getUserId() {
245 return _userId;
246 }
247
248 public void setUserId(long userId) {
249 if (userId != _userId) {
250 _userId = userId;
251 }
252 }
253
254 public long getCompanyId() {
255 return _companyId;
256 }
257
258 public void setCompanyId(long companyId) {
259 if (companyId != _companyId) {
260 _companyId = companyId;
261 }
262 }
263
264 public Date getCreateDate() {
265 return _createDate;
266 }
267
268 public void setCreateDate(Date createDate) {
269 if (((createDate == null) && (_createDate != null)) ||
270 ((createDate != null) && (_createDate == null)) ||
271 ((createDate != null) && (_createDate != null) &&
272 !createDate.equals(_createDate))) {
273 _createDate = createDate;
274 }
275 }
276
277 public Date getModifiedDate() {
278 return _modifiedDate;
279 }
280
281 public void setModifiedDate(Date modifiedDate) {
282 if (((modifiedDate == null) && (_modifiedDate != null)) ||
283 ((modifiedDate != null) && (_modifiedDate == null)) ||
284 ((modifiedDate != null) && (_modifiedDate != null) &&
285 !modifiedDate.equals(_modifiedDate))) {
286 _modifiedDate = modifiedDate;
287 }
288 }
289
290 public boolean getDefaultUser() {
291 return _defaultUser;
292 }
293
294 public boolean isDefaultUser() {
295 return _defaultUser;
296 }
297
298 public void setDefaultUser(boolean defaultUser) {
299 if (defaultUser != _defaultUser) {
300 _defaultUser = defaultUser;
301 }
302 }
303
304 public long getContactId() {
305 return _contactId;
306 }
307
308 public void setContactId(long contactId) {
309 if (contactId != _contactId) {
310 _contactId = contactId;
311 }
312 }
313
314 public String getPassword() {
315 return GetterUtil.getString(_password);
316 }
317
318 public void setPassword(String password) {
319 if (((password == null) && (_password != null)) ||
320 ((password != null) && (_password == null)) ||
321 ((password != null) && (_password != null) &&
322 !password.equals(_password))) {
323 _password = password;
324 }
325 }
326
327 public boolean getPasswordEncrypted() {
328 return _passwordEncrypted;
329 }
330
331 public boolean isPasswordEncrypted() {
332 return _passwordEncrypted;
333 }
334
335 public void setPasswordEncrypted(boolean passwordEncrypted) {
336 if (passwordEncrypted != _passwordEncrypted) {
337 _passwordEncrypted = passwordEncrypted;
338 }
339 }
340
341 public boolean getPasswordReset() {
342 return _passwordReset;
343 }
344
345 public boolean isPasswordReset() {
346 return _passwordReset;
347 }
348
349 public void setPasswordReset(boolean passwordReset) {
350 if (passwordReset != _passwordReset) {
351 _passwordReset = passwordReset;
352 }
353 }
354
355 public Date getPasswordModifiedDate() {
356 return _passwordModifiedDate;
357 }
358
359 public void setPasswordModifiedDate(Date passwordModifiedDate) {
360 if (((passwordModifiedDate == null) && (_passwordModifiedDate != null)) ||
361 ((passwordModifiedDate != null) &&
362 (_passwordModifiedDate == null)) ||
363 ((passwordModifiedDate != null) &&
364 (_passwordModifiedDate != null) &&
365 !passwordModifiedDate.equals(_passwordModifiedDate))) {
366 _passwordModifiedDate = passwordModifiedDate;
367 }
368 }
369
370 public int getGraceLoginCount() {
371 return _graceLoginCount;
372 }
373
374 public void setGraceLoginCount(int graceLoginCount) {
375 if (graceLoginCount != _graceLoginCount) {
376 _graceLoginCount = graceLoginCount;
377 }
378 }
379
380 public String getScreenName() {
381 return GetterUtil.getString(_screenName);
382 }
383
384 public void setScreenName(String screenName) {
385 if (((screenName == null) && (_screenName != null)) ||
386 ((screenName != null) && (_screenName == null)) ||
387 ((screenName != null) && (_screenName != null) &&
388 !screenName.equals(_screenName))) {
389 _screenName = screenName;
390 }
391 }
392
393 public String getEmailAddress() {
394 return GetterUtil.getString(_emailAddress);
395 }
396
397 public void setEmailAddress(String emailAddress) {
398 if (((emailAddress == null) && (_emailAddress != null)) ||
399 ((emailAddress != null) && (_emailAddress == null)) ||
400 ((emailAddress != null) && (_emailAddress != null) &&
401 !emailAddress.equals(_emailAddress))) {
402 _emailAddress = emailAddress;
403 }
404 }
405
406 public String getOpenId() {
407 return GetterUtil.getString(_openId);
408 }
409
410 public void setOpenId(String openId) {
411 if (((openId == null) && (_openId != null)) ||
412 ((openId != null) && (_openId == null)) ||
413 ((openId != null) && (_openId != null) &&
414 !openId.equals(_openId))) {
415 _openId = openId;
416 }
417 }
418
419 public long getPortraitId() {
420 return _portraitId;
421 }
422
423 public void setPortraitId(long portraitId) {
424 if (portraitId != _portraitId) {
425 _portraitId = portraitId;
426 }
427 }
428
429 public String getLanguageId() {
430 return GetterUtil.getString(_languageId);
431 }
432
433 public void setLanguageId(String languageId) {
434 if (((languageId == null) && (_languageId != null)) ||
435 ((languageId != null) && (_languageId == null)) ||
436 ((languageId != null) && (_languageId != null) &&
437 !languageId.equals(_languageId))) {
438 _languageId = languageId;
439 }
440 }
441
442 public String getTimeZoneId() {
443 return GetterUtil.getString(_timeZoneId);
444 }
445
446 public void setTimeZoneId(String timeZoneId) {
447 if (((timeZoneId == null) && (_timeZoneId != null)) ||
448 ((timeZoneId != null) && (_timeZoneId == null)) ||
449 ((timeZoneId != null) && (_timeZoneId != null) &&
450 !timeZoneId.equals(_timeZoneId))) {
451 _timeZoneId = timeZoneId;
452 }
453 }
454
455 public String getGreeting() {
456 return GetterUtil.getString(_greeting);
457 }
458
459 public void setGreeting(String greeting) {
460 if (((greeting == null) && (_greeting != null)) ||
461 ((greeting != null) && (_greeting == null)) ||
462 ((greeting != null) && (_greeting != null) &&
463 !greeting.equals(_greeting))) {
464 _greeting = greeting;
465 }
466 }
467
468 public String getComments() {
469 return GetterUtil.getString(_comments);
470 }
471
472 public void setComments(String comments) {
473 if (((comments == null) && (_comments != null)) ||
474 ((comments != null) && (_comments == null)) ||
475 ((comments != null) && (_comments != null) &&
476 !comments.equals(_comments))) {
477 _comments = comments;
478 }
479 }
480
481 public Date getLoginDate() {
482 return _loginDate;
483 }
484
485 public void setLoginDate(Date loginDate) {
486 if (((loginDate == null) && (_loginDate != null)) ||
487 ((loginDate != null) && (_loginDate == null)) ||
488 ((loginDate != null) && (_loginDate != null) &&
489 !loginDate.equals(_loginDate))) {
490 _loginDate = loginDate;
491 }
492 }
493
494 public String getLoginIP() {
495 return GetterUtil.getString(_loginIP);
496 }
497
498 public void setLoginIP(String loginIP) {
499 if (((loginIP == null) && (_loginIP != null)) ||
500 ((loginIP != null) && (_loginIP == null)) ||
501 ((loginIP != null) && (_loginIP != null) &&
502 !loginIP.equals(_loginIP))) {
503 _loginIP = loginIP;
504 }
505 }
506
507 public Date getLastLoginDate() {
508 return _lastLoginDate;
509 }
510
511 public void setLastLoginDate(Date lastLoginDate) {
512 if (((lastLoginDate == null) && (_lastLoginDate != null)) ||
513 ((lastLoginDate != null) && (_lastLoginDate == null)) ||
514 ((lastLoginDate != null) && (_lastLoginDate != null) &&
515 !lastLoginDate.equals(_lastLoginDate))) {
516 _lastLoginDate = lastLoginDate;
517 }
518 }
519
520 public String getLastLoginIP() {
521 return GetterUtil.getString(_lastLoginIP);
522 }
523
524 public void setLastLoginIP(String lastLoginIP) {
525 if (((lastLoginIP == null) && (_lastLoginIP != null)) ||
526 ((lastLoginIP != null) && (_lastLoginIP == null)) ||
527 ((lastLoginIP != null) && (_lastLoginIP != null) &&
528 !lastLoginIP.equals(_lastLoginIP))) {
529 _lastLoginIP = lastLoginIP;
530 }
531 }
532
533 public Date getLastFailedLoginDate() {
534 return _lastFailedLoginDate;
535 }
536
537 public void setLastFailedLoginDate(Date lastFailedLoginDate) {
538 if (((lastFailedLoginDate == null) && (_lastFailedLoginDate != null)) ||
539 ((lastFailedLoginDate != null) &&
540 (_lastFailedLoginDate == null)) ||
541 ((lastFailedLoginDate != null) &&
542 (_lastFailedLoginDate != null) &&
543 !lastFailedLoginDate.equals(_lastFailedLoginDate))) {
544 _lastFailedLoginDate = lastFailedLoginDate;
545 }
546 }
547
548 public int getFailedLoginAttempts() {
549 return _failedLoginAttempts;
550 }
551
552 public void setFailedLoginAttempts(int failedLoginAttempts) {
553 if (failedLoginAttempts != _failedLoginAttempts) {
554 _failedLoginAttempts = failedLoginAttempts;
555 }
556 }
557
558 public boolean getLockout() {
559 return _lockout;
560 }
561
562 public boolean isLockout() {
563 return _lockout;
564 }
565
566 public void setLockout(boolean lockout) {
567 if (lockout != _lockout) {
568 _lockout = lockout;
569 }
570 }
571
572 public Date getLockoutDate() {
573 return _lockoutDate;
574 }
575
576 public void setLockoutDate(Date lockoutDate) {
577 if (((lockoutDate == null) && (_lockoutDate != null)) ||
578 ((lockoutDate != null) && (_lockoutDate == null)) ||
579 ((lockoutDate != null) && (_lockoutDate != null) &&
580 !lockoutDate.equals(_lockoutDate))) {
581 _lockoutDate = lockoutDate;
582 }
583 }
584
585 public boolean getAgreedToTermsOfUse() {
586 return _agreedToTermsOfUse;
587 }
588
589 public boolean isAgreedToTermsOfUse() {
590 return _agreedToTermsOfUse;
591 }
592
593 public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
594 if (agreedToTermsOfUse != _agreedToTermsOfUse) {
595 _agreedToTermsOfUse = agreedToTermsOfUse;
596 }
597 }
598
599 public boolean getActive() {
600 return _active;
601 }
602
603 public boolean isActive() {
604 return _active;
605 }
606
607 public void setActive(boolean active) {
608 if (active != _active) {
609 _active = active;
610 }
611 }
612
613 public User toEscapedModel() {
614 if (isEscapedModel()) {
615 return (User)this;
616 }
617 else {
618 User model = new UserImpl();
619
620 model.setNew(isNew());
621 model.setEscapedModel(true);
622
623 model.setUuid(HtmlUtil.escape(getUuid()));
624 model.setUserId(getUserId());
625 model.setCompanyId(getCompanyId());
626 model.setCreateDate(getCreateDate());
627 model.setModifiedDate(getModifiedDate());
628 model.setDefaultUser(getDefaultUser());
629 model.setContactId(getContactId());
630 model.setPassword(HtmlUtil.escape(getPassword()));
631 model.setPasswordEncrypted(getPasswordEncrypted());
632 model.setPasswordReset(getPasswordReset());
633 model.setPasswordModifiedDate(getPasswordModifiedDate());
634 model.setGraceLoginCount(getGraceLoginCount());
635 model.setScreenName(HtmlUtil.escape(getScreenName()));
636 model.setEmailAddress(HtmlUtil.escape(getEmailAddress()));
637 model.setOpenId(HtmlUtil.escape(getOpenId()));
638 model.setPortraitId(getPortraitId());
639 model.setLanguageId(HtmlUtil.escape(getLanguageId()));
640 model.setTimeZoneId(HtmlUtil.escape(getTimeZoneId()));
641 model.setGreeting(HtmlUtil.escape(getGreeting()));
642 model.setComments(HtmlUtil.escape(getComments()));
643 model.setLoginDate(getLoginDate());
644 model.setLoginIP(HtmlUtil.escape(getLoginIP()));
645 model.setLastLoginDate(getLastLoginDate());
646 model.setLastLoginIP(HtmlUtil.escape(getLastLoginIP()));
647 model.setLastFailedLoginDate(getLastFailedLoginDate());
648 model.setFailedLoginAttempts(getFailedLoginAttempts());
649 model.setLockout(getLockout());
650 model.setLockoutDate(getLockoutDate());
651 model.setAgreedToTermsOfUse(getAgreedToTermsOfUse());
652 model.setActive(getActive());
653
654 model = (User)Proxy.newProxyInstance(User.class.getClassLoader(),
655 new Class[] { User.class }, new ReadOnlyBeanHandler(model));
656
657 return model;
658 }
659 }
660
661 public Object clone() {
662 UserImpl clone = new UserImpl();
663
664 clone.setUuid(getUuid());
665 clone.setUserId(getUserId());
666 clone.setCompanyId(getCompanyId());
667 clone.setCreateDate(getCreateDate());
668 clone.setModifiedDate(getModifiedDate());
669 clone.setDefaultUser(getDefaultUser());
670 clone.setContactId(getContactId());
671 clone.setPassword(getPassword());
672 clone.setPasswordEncrypted(getPasswordEncrypted());
673 clone.setPasswordReset(getPasswordReset());
674 clone.setPasswordModifiedDate(getPasswordModifiedDate());
675 clone.setGraceLoginCount(getGraceLoginCount());
676 clone.setScreenName(getScreenName());
677 clone.setEmailAddress(getEmailAddress());
678 clone.setOpenId(getOpenId());
679 clone.setPortraitId(getPortraitId());
680 clone.setLanguageId(getLanguageId());
681 clone.setTimeZoneId(getTimeZoneId());
682 clone.setGreeting(getGreeting());
683 clone.setComments(getComments());
684 clone.setLoginDate(getLoginDate());
685 clone.setLoginIP(getLoginIP());
686 clone.setLastLoginDate(getLastLoginDate());
687 clone.setLastLoginIP(getLastLoginIP());
688 clone.setLastFailedLoginDate(getLastFailedLoginDate());
689 clone.setFailedLoginAttempts(getFailedLoginAttempts());
690 clone.setLockout(getLockout());
691 clone.setLockoutDate(getLockoutDate());
692 clone.setAgreedToTermsOfUse(getAgreedToTermsOfUse());
693 clone.setActive(getActive());
694
695 return clone;
696 }
697
698 public int compareTo(Object obj) {
699 if (obj == null) {
700 return -1;
701 }
702
703 UserImpl user = (UserImpl)obj;
704
705 long pk = user.getPrimaryKey();
706
707 if (getPrimaryKey() < pk) {
708 return -1;
709 }
710 else if (getPrimaryKey() > pk) {
711 return 1;
712 }
713 else {
714 return 0;
715 }
716 }
717
718 public boolean equals(Object obj) {
719 if (obj == null) {
720 return false;
721 }
722
723 UserImpl user = null;
724
725 try {
726 user = (UserImpl)obj;
727 }
728 catch (ClassCastException cce) {
729 return false;
730 }
731
732 long pk = user.getPrimaryKey();
733
734 if (getPrimaryKey() == pk) {
735 return true;
736 }
737 else {
738 return false;
739 }
740 }
741
742 public int hashCode() {
743 return (int)getPrimaryKey();
744 }
745
746 private String _uuid;
747 private long _userId;
748 private long _companyId;
749 private Date _createDate;
750 private Date _modifiedDate;
751 private boolean _defaultUser;
752 private long _contactId;
753 private String _password;
754 private boolean _passwordEncrypted;
755 private boolean _passwordReset;
756 private Date _passwordModifiedDate;
757 private int _graceLoginCount;
758 private String _screenName;
759 private String _emailAddress;
760 private String _openId;
761 private long _portraitId;
762 private String _languageId;
763 private String _timeZoneId;
764 private String _greeting;
765 private String _comments;
766 private Date _loginDate;
767 private String _loginIP;
768 private Date _lastLoginDate;
769 private String _lastLoginIP;
770 private Date _lastFailedLoginDate;
771 private int _failedLoginAttempts;
772 private boolean _lockout;
773 private Date _lockoutDate;
774 private boolean _agreedToTermsOfUse;
775 private boolean _active;
776 }