001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
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    /**
022     * <p>
023     * This class is a wrapper for {@link User}.
024     * </p>
025     *
026     * @author    Brian Wing Shun Chan
027     * @see       User
028     * @generated
029     */
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("ldapServerId", getLdapServerId());
065                    attributes.put("openId", getOpenId());
066                    attributes.put("portraitId", getPortraitId());
067                    attributes.put("languageId", getLanguageId());
068                    attributes.put("timeZoneId", getTimeZoneId());
069                    attributes.put("greeting", getGreeting());
070                    attributes.put("comments", getComments());
071                    attributes.put("firstName", getFirstName());
072                    attributes.put("middleName", getMiddleName());
073                    attributes.put("lastName", getLastName());
074                    attributes.put("jobTitle", getJobTitle());
075                    attributes.put("loginDate", getLoginDate());
076                    attributes.put("loginIP", getLoginIP());
077                    attributes.put("lastLoginDate", getLastLoginDate());
078                    attributes.put("lastLoginIP", getLastLoginIP());
079                    attributes.put("lastFailedLoginDate", getLastFailedLoginDate());
080                    attributes.put("failedLoginAttempts", getFailedLoginAttempts());
081                    attributes.put("lockout", getLockout());
082                    attributes.put("lockoutDate", getLockoutDate());
083                    attributes.put("agreedToTermsOfUse", getAgreedToTermsOfUse());
084                    attributes.put("emailAddressVerified", getEmailAddressVerified());
085                    attributes.put("status", getStatus());
086    
087                    return attributes;
088            }
089    
090            public void setModelAttributes(Map<String, Object> attributes) {
091                    String uuid = (String)attributes.get("uuid");
092    
093                    if (uuid != null) {
094                            setUuid(uuid);
095                    }
096    
097                    Long userId = (Long)attributes.get("userId");
098    
099                    if (userId != null) {
100                            setUserId(userId);
101                    }
102    
103                    Long companyId = (Long)attributes.get("companyId");
104    
105                    if (companyId != null) {
106                            setCompanyId(companyId);
107                    }
108    
109                    Date createDate = (Date)attributes.get("createDate");
110    
111                    if (createDate != null) {
112                            setCreateDate(createDate);
113                    }
114    
115                    Date modifiedDate = (Date)attributes.get("modifiedDate");
116    
117                    if (modifiedDate != null) {
118                            setModifiedDate(modifiedDate);
119                    }
120    
121                    Boolean defaultUser = (Boolean)attributes.get("defaultUser");
122    
123                    if (defaultUser != null) {
124                            setDefaultUser(defaultUser);
125                    }
126    
127                    Long contactId = (Long)attributes.get("contactId");
128    
129                    if (contactId != null) {
130                            setContactId(contactId);
131                    }
132    
133                    String password = (String)attributes.get("password");
134    
135                    if (password != null) {
136                            setPassword(password);
137                    }
138    
139                    Boolean passwordEncrypted = (Boolean)attributes.get("passwordEncrypted");
140    
141                    if (passwordEncrypted != null) {
142                            setPasswordEncrypted(passwordEncrypted);
143                    }
144    
145                    Boolean passwordReset = (Boolean)attributes.get("passwordReset");
146    
147                    if (passwordReset != null) {
148                            setPasswordReset(passwordReset);
149                    }
150    
151                    Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate");
152    
153                    if (passwordModifiedDate != null) {
154                            setPasswordModifiedDate(passwordModifiedDate);
155                    }
156    
157                    String digest = (String)attributes.get("digest");
158    
159                    if (digest != null) {
160                            setDigest(digest);
161                    }
162    
163                    String reminderQueryQuestion = (String)attributes.get(
164                                    "reminderQueryQuestion");
165    
166                    if (reminderQueryQuestion != null) {
167                            setReminderQueryQuestion(reminderQueryQuestion);
168                    }
169    
170                    String reminderQueryAnswer = (String)attributes.get(
171                                    "reminderQueryAnswer");
172    
173                    if (reminderQueryAnswer != null) {
174                            setReminderQueryAnswer(reminderQueryAnswer);
175                    }
176    
177                    Integer graceLoginCount = (Integer)attributes.get("graceLoginCount");
178    
179                    if (graceLoginCount != null) {
180                            setGraceLoginCount(graceLoginCount);
181                    }
182    
183                    String screenName = (String)attributes.get("screenName");
184    
185                    if (screenName != null) {
186                            setScreenName(screenName);
187                    }
188    
189                    String emailAddress = (String)attributes.get("emailAddress");
190    
191                    if (emailAddress != null) {
192                            setEmailAddress(emailAddress);
193                    }
194    
195                    Long facebookId = (Long)attributes.get("facebookId");
196    
197                    if (facebookId != null) {
198                            setFacebookId(facebookId);
199                    }
200    
201                    Long ldapServerId = (Long)attributes.get("ldapServerId");
202    
203                    if (ldapServerId != null) {
204                            setLdapServerId(ldapServerId);
205                    }
206    
207                    String openId = (String)attributes.get("openId");
208    
209                    if (openId != null) {
210                            setOpenId(openId);
211                    }
212    
213                    Long portraitId = (Long)attributes.get("portraitId");
214    
215                    if (portraitId != null) {
216                            setPortraitId(portraitId);
217                    }
218    
219                    String languageId = (String)attributes.get("languageId");
220    
221                    if (languageId != null) {
222                            setLanguageId(languageId);
223                    }
224    
225                    String timeZoneId = (String)attributes.get("timeZoneId");
226    
227                    if (timeZoneId != null) {
228                            setTimeZoneId(timeZoneId);
229                    }
230    
231                    String greeting = (String)attributes.get("greeting");
232    
233                    if (greeting != null) {
234                            setGreeting(greeting);
235                    }
236    
237                    String comments = (String)attributes.get("comments");
238    
239                    if (comments != null) {
240                            setComments(comments);
241                    }
242    
243                    String firstName = (String)attributes.get("firstName");
244    
245                    if (firstName != null) {
246                            setFirstName(firstName);
247                    }
248    
249                    String middleName = (String)attributes.get("middleName");
250    
251                    if (middleName != null) {
252                            setMiddleName(middleName);
253                    }
254    
255                    String lastName = (String)attributes.get("lastName");
256    
257                    if (lastName != null) {
258                            setLastName(lastName);
259                    }
260    
261                    String jobTitle = (String)attributes.get("jobTitle");
262    
263                    if (jobTitle != null) {
264                            setJobTitle(jobTitle);
265                    }
266    
267                    Date loginDate = (Date)attributes.get("loginDate");
268    
269                    if (loginDate != null) {
270                            setLoginDate(loginDate);
271                    }
272    
273                    String loginIP = (String)attributes.get("loginIP");
274    
275                    if (loginIP != null) {
276                            setLoginIP(loginIP);
277                    }
278    
279                    Date lastLoginDate = (Date)attributes.get("lastLoginDate");
280    
281                    if (lastLoginDate != null) {
282                            setLastLoginDate(lastLoginDate);
283                    }
284    
285                    String lastLoginIP = (String)attributes.get("lastLoginIP");
286    
287                    if (lastLoginIP != null) {
288                            setLastLoginIP(lastLoginIP);
289                    }
290    
291                    Date lastFailedLoginDate = (Date)attributes.get("lastFailedLoginDate");
292    
293                    if (lastFailedLoginDate != null) {
294                            setLastFailedLoginDate(lastFailedLoginDate);
295                    }
296    
297                    Integer failedLoginAttempts = (Integer)attributes.get(
298                                    "failedLoginAttempts");
299    
300                    if (failedLoginAttempts != null) {
301                            setFailedLoginAttempts(failedLoginAttempts);
302                    }
303    
304                    Boolean lockout = (Boolean)attributes.get("lockout");
305    
306                    if (lockout != null) {
307                            setLockout(lockout);
308                    }
309    
310                    Date lockoutDate = (Date)attributes.get("lockoutDate");
311    
312                    if (lockoutDate != null) {
313                            setLockoutDate(lockoutDate);
314                    }
315    
316                    Boolean agreedToTermsOfUse = (Boolean)attributes.get(
317                                    "agreedToTermsOfUse");
318    
319                    if (agreedToTermsOfUse != null) {
320                            setAgreedToTermsOfUse(agreedToTermsOfUse);
321                    }
322    
323                    Boolean emailAddressVerified = (Boolean)attributes.get(
324                                    "emailAddressVerified");
325    
326                    if (emailAddressVerified != null) {
327                            setEmailAddressVerified(emailAddressVerified);
328                    }
329    
330                    Integer status = (Integer)attributes.get("status");
331    
332                    if (status != null) {
333                            setStatus(status);
334                    }
335            }
336    
337            /**
338            * Returns the primary key of this user.
339            *
340            * @return the primary key of this user
341            */
342            public long getPrimaryKey() {
343                    return _user.getPrimaryKey();
344            }
345    
346            /**
347            * Sets the primary key of this user.
348            *
349            * @param primaryKey the primary key of this user
350            */
351            public void setPrimaryKey(long primaryKey) {
352                    _user.setPrimaryKey(primaryKey);
353            }
354    
355            /**
356            * Returns the uuid of this user.
357            *
358            * @return the uuid of this user
359            */
360            public java.lang.String getUuid() {
361                    return _user.getUuid();
362            }
363    
364            /**
365            * Sets the uuid of this user.
366            *
367            * @param uuid the uuid of this user
368            */
369            public void setUuid(java.lang.String uuid) {
370                    _user.setUuid(uuid);
371            }
372    
373            /**
374            * Returns the user ID of this user.
375            *
376            * @return the user ID of this user
377            */
378            public long getUserId() {
379                    return _user.getUserId();
380            }
381    
382            /**
383            * Sets the user ID of this user.
384            *
385            * @param userId the user ID of this user
386            */
387            public void setUserId(long userId) {
388                    _user.setUserId(userId);
389            }
390    
391            /**
392            * Returns the user uuid of this user.
393            *
394            * @return the user uuid of this user
395            * @throws SystemException if a system exception occurred
396            */
397            public java.lang.String getUserUuid()
398                    throws com.liferay.portal.kernel.exception.SystemException {
399                    return _user.getUserUuid();
400            }
401    
402            /**
403            * Sets the user uuid of this user.
404            *
405            * @param userUuid the user uuid of this user
406            */
407            public void setUserUuid(java.lang.String userUuid) {
408                    _user.setUserUuid(userUuid);
409            }
410    
411            /**
412            * Returns the company ID of this user.
413            *
414            * @return the company ID of this user
415            */
416            public long getCompanyId() {
417                    return _user.getCompanyId();
418            }
419    
420            /**
421            * Sets the company ID of this user.
422            *
423            * @param companyId the company ID of this user
424            */
425            public void setCompanyId(long companyId) {
426                    _user.setCompanyId(companyId);
427            }
428    
429            /**
430            * Returns the create date of this user.
431            *
432            * @return the create date of this user
433            */
434            public java.util.Date getCreateDate() {
435                    return _user.getCreateDate();
436            }
437    
438            /**
439            * Sets the create date of this user.
440            *
441            * @param createDate the create date of this user
442            */
443            public void setCreateDate(java.util.Date createDate) {
444                    _user.setCreateDate(createDate);
445            }
446    
447            /**
448            * Returns the modified date of this user.
449            *
450            * @return the modified date of this user
451            */
452            public java.util.Date getModifiedDate() {
453                    return _user.getModifiedDate();
454            }
455    
456            /**
457            * Sets the modified date of this user.
458            *
459            * @param modifiedDate the modified date of this user
460            */
461            public void setModifiedDate(java.util.Date modifiedDate) {
462                    _user.setModifiedDate(modifiedDate);
463            }
464    
465            /**
466            * Returns the default user of this user.
467            *
468            * @return the default user of this user
469            */
470            public boolean getDefaultUser() {
471                    return _user.getDefaultUser();
472            }
473    
474            /**
475            * Returns <code>true</code> if this user is default user.
476            *
477            * @return <code>true</code> if this user is default user; <code>false</code> otherwise
478            */
479            public boolean isDefaultUser() {
480                    return _user.isDefaultUser();
481            }
482    
483            /**
484            * Sets whether this user is default user.
485            *
486            * @param defaultUser the default user of this user
487            */
488            public void setDefaultUser(boolean defaultUser) {
489                    _user.setDefaultUser(defaultUser);
490            }
491    
492            /**
493            * Returns the contact ID of this user.
494            *
495            * @return the contact ID of this user
496            */
497            public long getContactId() {
498                    return _user.getContactId();
499            }
500    
501            /**
502            * Sets the contact ID of this user.
503            *
504            * @param contactId the contact ID of this user
505            */
506            public void setContactId(long contactId) {
507                    _user.setContactId(contactId);
508            }
509    
510            /**
511            * Returns the password of this user.
512            *
513            * @return the password of this user
514            */
515            public java.lang.String getPassword() {
516                    return _user.getPassword();
517            }
518    
519            /**
520            * Sets the password of this user.
521            *
522            * @param password the password of this user
523            */
524            public void setPassword(java.lang.String password) {
525                    _user.setPassword(password);
526            }
527    
528            /**
529            * Returns the password encrypted of this user.
530            *
531            * @return the password encrypted of this user
532            */
533            public boolean getPasswordEncrypted() {
534                    return _user.getPasswordEncrypted();
535            }
536    
537            /**
538            * Returns <code>true</code> if this user is password encrypted.
539            *
540            * @return <code>true</code> if this user is password encrypted; <code>false</code> otherwise
541            */
542            public boolean isPasswordEncrypted() {
543                    return _user.isPasswordEncrypted();
544            }
545    
546            /**
547            * Sets whether this user is password encrypted.
548            *
549            * @param passwordEncrypted the password encrypted of this user
550            */
551            public void setPasswordEncrypted(boolean passwordEncrypted) {
552                    _user.setPasswordEncrypted(passwordEncrypted);
553            }
554    
555            /**
556            * Returns the password reset of this user.
557            *
558            * @return the password reset of this user
559            */
560            public boolean getPasswordReset() {
561                    return _user.getPasswordReset();
562            }
563    
564            /**
565            * Returns <code>true</code> if this user is password reset.
566            *
567            * @return <code>true</code> if this user is password reset; <code>false</code> otherwise
568            */
569            public boolean isPasswordReset() {
570                    return _user.isPasswordReset();
571            }
572    
573            /**
574            * Sets whether this user is password reset.
575            *
576            * @param passwordReset the password reset of this user
577            */
578            public void setPasswordReset(boolean passwordReset) {
579                    _user.setPasswordReset(passwordReset);
580            }
581    
582            /**
583            * Returns the password modified date of this user.
584            *
585            * @return the password modified date of this user
586            */
587            public java.util.Date getPasswordModifiedDate() {
588                    return _user.getPasswordModifiedDate();
589            }
590    
591            /**
592            * Sets the password modified date of this user.
593            *
594            * @param passwordModifiedDate the password modified date of this user
595            */
596            public void setPasswordModifiedDate(java.util.Date passwordModifiedDate) {
597                    _user.setPasswordModifiedDate(passwordModifiedDate);
598            }
599    
600            /**
601            * Returns the digest of this user.
602            *
603            * @return the digest of this user
604            */
605            public java.lang.String getDigest() {
606                    return _user.getDigest();
607            }
608    
609            /**
610            * Sets the digest of this user.
611            *
612            * @param digest the digest of this user
613            */
614            public void setDigest(java.lang.String digest) {
615                    _user.setDigest(digest);
616            }
617    
618            /**
619            * Returns the reminder query question of this user.
620            *
621            * @return the reminder query question of this user
622            */
623            public java.lang.String getReminderQueryQuestion() {
624                    return _user.getReminderQueryQuestion();
625            }
626    
627            /**
628            * Sets the reminder query question of this user.
629            *
630            * @param reminderQueryQuestion the reminder query question of this user
631            */
632            public void setReminderQueryQuestion(java.lang.String reminderQueryQuestion) {
633                    _user.setReminderQueryQuestion(reminderQueryQuestion);
634            }
635    
636            /**
637            * Returns the reminder query answer of this user.
638            *
639            * @return the reminder query answer of this user
640            */
641            public java.lang.String getReminderQueryAnswer() {
642                    return _user.getReminderQueryAnswer();
643            }
644    
645            /**
646            * Sets the reminder query answer of this user.
647            *
648            * @param reminderQueryAnswer the reminder query answer of this user
649            */
650            public void setReminderQueryAnswer(java.lang.String reminderQueryAnswer) {
651                    _user.setReminderQueryAnswer(reminderQueryAnswer);
652            }
653    
654            /**
655            * Returns the grace login count of this user.
656            *
657            * @return the grace login count of this user
658            */
659            public int getGraceLoginCount() {
660                    return _user.getGraceLoginCount();
661            }
662    
663            /**
664            * Sets the grace login count of this user.
665            *
666            * @param graceLoginCount the grace login count of this user
667            */
668            public void setGraceLoginCount(int graceLoginCount) {
669                    _user.setGraceLoginCount(graceLoginCount);
670            }
671    
672            /**
673            * Returns the screen name of this user.
674            *
675            * @return the screen name of this user
676            */
677            public java.lang.String getScreenName() {
678                    return _user.getScreenName();
679            }
680    
681            /**
682            * Sets the screen name of this user.
683            *
684            * @param screenName the screen name of this user
685            */
686            public void setScreenName(java.lang.String screenName) {
687                    _user.setScreenName(screenName);
688            }
689    
690            /**
691            * Returns the email address of this user.
692            *
693            * @return the email address of this user
694            */
695            public java.lang.String getEmailAddress() {
696                    return _user.getEmailAddress();
697            }
698    
699            /**
700            * Sets the email address of this user.
701            *
702            * @param emailAddress the email address of this user
703            */
704            public void setEmailAddress(java.lang.String emailAddress) {
705                    _user.setEmailAddress(emailAddress);
706            }
707    
708            /**
709            * Returns the facebook ID of this user.
710            *
711            * @return the facebook ID of this user
712            */
713            public long getFacebookId() {
714                    return _user.getFacebookId();
715            }
716    
717            /**
718            * Sets the facebook ID of this user.
719            *
720            * @param facebookId the facebook ID of this user
721            */
722            public void setFacebookId(long facebookId) {
723                    _user.setFacebookId(facebookId);
724            }
725    
726            /**
727            * Returns the ldap server ID of this user.
728            *
729            * @return the ldap server ID of this user
730            */
731            public long getLdapServerId() {
732                    return _user.getLdapServerId();
733            }
734    
735            /**
736            * Sets the ldap server ID of this user.
737            *
738            * @param ldapServerId the ldap server ID of this user
739            */
740            public void setLdapServerId(long ldapServerId) {
741                    _user.setLdapServerId(ldapServerId);
742            }
743    
744            /**
745            * Returns the open ID of this user.
746            *
747            * @return the open ID of this user
748            */
749            public java.lang.String getOpenId() {
750                    return _user.getOpenId();
751            }
752    
753            /**
754            * Sets the open ID of this user.
755            *
756            * @param openId the open ID of this user
757            */
758            public void setOpenId(java.lang.String openId) {
759                    _user.setOpenId(openId);
760            }
761    
762            /**
763            * Returns the portrait ID of this user.
764            *
765            * @return the portrait ID of this user
766            */
767            public long getPortraitId() {
768                    return _user.getPortraitId();
769            }
770    
771            /**
772            * Sets the portrait ID of this user.
773            *
774            * @param portraitId the portrait ID of this user
775            */
776            public void setPortraitId(long portraitId) {
777                    _user.setPortraitId(portraitId);
778            }
779    
780            /**
781            * Returns the language ID of this user.
782            *
783            * @return the language ID of this user
784            */
785            public java.lang.String getLanguageId() {
786                    return _user.getLanguageId();
787            }
788    
789            /**
790            * Sets the language ID of this user.
791            *
792            * @param languageId the language ID of this user
793            */
794            public void setLanguageId(java.lang.String languageId) {
795                    _user.setLanguageId(languageId);
796            }
797    
798            /**
799            * Returns the time zone ID of this user.
800            *
801            * @return the time zone ID of this user
802            */
803            public java.lang.String getTimeZoneId() {
804                    return _user.getTimeZoneId();
805            }
806    
807            /**
808            * Sets the time zone ID of this user.
809            *
810            * @param timeZoneId the time zone ID of this user
811            */
812            public void setTimeZoneId(java.lang.String timeZoneId) {
813                    _user.setTimeZoneId(timeZoneId);
814            }
815    
816            /**
817            * Returns the greeting of this user.
818            *
819            * @return the greeting of this user
820            */
821            public java.lang.String getGreeting() {
822                    return _user.getGreeting();
823            }
824    
825            /**
826            * Sets the greeting of this user.
827            *
828            * @param greeting the greeting of this user
829            */
830            public void setGreeting(java.lang.String greeting) {
831                    _user.setGreeting(greeting);
832            }
833    
834            /**
835            * Returns the comments of this user.
836            *
837            * @return the comments of this user
838            */
839            public java.lang.String getComments() {
840                    return _user.getComments();
841            }
842    
843            /**
844            * Sets the comments of this user.
845            *
846            * @param comments the comments of this user
847            */
848            public void setComments(java.lang.String comments) {
849                    _user.setComments(comments);
850            }
851    
852            /**
853            * Returns the first name of this user.
854            *
855            * @return the first name of this user
856            */
857            public java.lang.String getFirstName() {
858                    return _user.getFirstName();
859            }
860    
861            /**
862            * Sets the first name of this user.
863            *
864            * @param firstName the first name of this user
865            */
866            public void setFirstName(java.lang.String firstName) {
867                    _user.setFirstName(firstName);
868            }
869    
870            /**
871            * Returns the middle name of this user.
872            *
873            * @return the middle name of this user
874            */
875            public java.lang.String getMiddleName() {
876                    return _user.getMiddleName();
877            }
878    
879            /**
880            * Sets the middle name of this user.
881            *
882            * @param middleName the middle name of this user
883            */
884            public void setMiddleName(java.lang.String middleName) {
885                    _user.setMiddleName(middleName);
886            }
887    
888            /**
889            * Returns the last name of this user.
890            *
891            * @return the last name of this user
892            */
893            public java.lang.String getLastName() {
894                    return _user.getLastName();
895            }
896    
897            /**
898            * Sets the last name of this user.
899            *
900            * @param lastName the last name of this user
901            */
902            public void setLastName(java.lang.String lastName) {
903                    _user.setLastName(lastName);
904            }
905    
906            /**
907            * Returns the job title of this user.
908            *
909            * @return the job title of this user
910            */
911            public java.lang.String getJobTitle() {
912                    return _user.getJobTitle();
913            }
914    
915            /**
916            * Sets the job title of this user.
917            *
918            * @param jobTitle the job title of this user
919            */
920            public void setJobTitle(java.lang.String jobTitle) {
921                    _user.setJobTitle(jobTitle);
922            }
923    
924            /**
925            * Returns the login date of this user.
926            *
927            * @return the login date of this user
928            */
929            public java.util.Date getLoginDate() {
930                    return _user.getLoginDate();
931            }
932    
933            /**
934            * Sets the login date of this user.
935            *
936            * @param loginDate the login date of this user
937            */
938            public void setLoginDate(java.util.Date loginDate) {
939                    _user.setLoginDate(loginDate);
940            }
941    
942            /**
943            * Returns the login i p of this user.
944            *
945            * @return the login i p of this user
946            */
947            public java.lang.String getLoginIP() {
948                    return _user.getLoginIP();
949            }
950    
951            /**
952            * Sets the login i p of this user.
953            *
954            * @param loginIP the login i p of this user
955            */
956            public void setLoginIP(java.lang.String loginIP) {
957                    _user.setLoginIP(loginIP);
958            }
959    
960            /**
961            * Returns the last login date of this user.
962            *
963            * @return the last login date of this user
964            */
965            public java.util.Date getLastLoginDate() {
966                    return _user.getLastLoginDate();
967            }
968    
969            /**
970            * Sets the last login date of this user.
971            *
972            * @param lastLoginDate the last login date of this user
973            */
974            public void setLastLoginDate(java.util.Date lastLoginDate) {
975                    _user.setLastLoginDate(lastLoginDate);
976            }
977    
978            /**
979            * Returns the last login i p of this user.
980            *
981            * @return the last login i p of this user
982            */
983            public java.lang.String getLastLoginIP() {
984                    return _user.getLastLoginIP();
985            }
986    
987            /**
988            * Sets the last login i p of this user.
989            *
990            * @param lastLoginIP the last login i p of this user
991            */
992            public void setLastLoginIP(java.lang.String lastLoginIP) {
993                    _user.setLastLoginIP(lastLoginIP);
994            }
995    
996            /**
997            * Returns the last failed login date of this user.
998            *
999            * @return the last failed login date of this user
1000            */
1001            public java.util.Date getLastFailedLoginDate() {
1002                    return _user.getLastFailedLoginDate();
1003            }
1004    
1005            /**
1006            * Sets the last failed login date of this user.
1007            *
1008            * @param lastFailedLoginDate the last failed login date of this user
1009            */
1010            public void setLastFailedLoginDate(java.util.Date lastFailedLoginDate) {
1011                    _user.setLastFailedLoginDate(lastFailedLoginDate);
1012            }
1013    
1014            /**
1015            * Returns the failed login attempts of this user.
1016            *
1017            * @return the failed login attempts of this user
1018            */
1019            public int getFailedLoginAttempts() {
1020                    return _user.getFailedLoginAttempts();
1021            }
1022    
1023            /**
1024            * Sets the failed login attempts of this user.
1025            *
1026            * @param failedLoginAttempts the failed login attempts of this user
1027            */
1028            public void setFailedLoginAttempts(int failedLoginAttempts) {
1029                    _user.setFailedLoginAttempts(failedLoginAttempts);
1030            }
1031    
1032            /**
1033            * Returns the lockout of this user.
1034            *
1035            * @return the lockout of this user
1036            */
1037            public boolean getLockout() {
1038                    return _user.getLockout();
1039            }
1040    
1041            /**
1042            * Returns <code>true</code> if this user is lockout.
1043            *
1044            * @return <code>true</code> if this user is lockout; <code>false</code> otherwise
1045            */
1046            public boolean isLockout() {
1047                    return _user.isLockout();
1048            }
1049    
1050            /**
1051            * Sets whether this user is lockout.
1052            *
1053            * @param lockout the lockout of this user
1054            */
1055            public void setLockout(boolean lockout) {
1056                    _user.setLockout(lockout);
1057            }
1058    
1059            /**
1060            * Returns the lockout date of this user.
1061            *
1062            * @return the lockout date of this user
1063            */
1064            public java.util.Date getLockoutDate() {
1065                    return _user.getLockoutDate();
1066            }
1067    
1068            /**
1069            * Sets the lockout date of this user.
1070            *
1071            * @param lockoutDate the lockout date of this user
1072            */
1073            public void setLockoutDate(java.util.Date lockoutDate) {
1074                    _user.setLockoutDate(lockoutDate);
1075            }
1076    
1077            /**
1078            * Returns the agreed to terms of use of this user.
1079            *
1080            * @return the agreed to terms of use of this user
1081            */
1082            public boolean getAgreedToTermsOfUse() {
1083                    return _user.getAgreedToTermsOfUse();
1084            }
1085    
1086            /**
1087            * Returns <code>true</code> if this user is agreed to terms of use.
1088            *
1089            * @return <code>true</code> if this user is agreed to terms of use; <code>false</code> otherwise
1090            */
1091            public boolean isAgreedToTermsOfUse() {
1092                    return _user.isAgreedToTermsOfUse();
1093            }
1094    
1095            /**
1096            * Sets whether this user is agreed to terms of use.
1097            *
1098            * @param agreedToTermsOfUse the agreed to terms of use of this user
1099            */
1100            public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
1101                    _user.setAgreedToTermsOfUse(agreedToTermsOfUse);
1102            }
1103    
1104            /**
1105            * Returns the email address verified of this user.
1106            *
1107            * @return the email address verified of this user
1108            */
1109            public boolean getEmailAddressVerified() {
1110                    return _user.getEmailAddressVerified();
1111            }
1112    
1113            /**
1114            * Returns <code>true</code> if this user is email address verified.
1115            *
1116            * @return <code>true</code> if this user is email address verified; <code>false</code> otherwise
1117            */
1118            public boolean isEmailAddressVerified() {
1119                    return _user.isEmailAddressVerified();
1120            }
1121    
1122            /**
1123            * Sets whether this user is email address verified.
1124            *
1125            * @param emailAddressVerified the email address verified of this user
1126            */
1127            public void setEmailAddressVerified(boolean emailAddressVerified) {
1128                    _user.setEmailAddressVerified(emailAddressVerified);
1129            }
1130    
1131            /**
1132            * Returns the status of this user.
1133            *
1134            * @return the status of this user
1135            */
1136            public int getStatus() {
1137                    return _user.getStatus();
1138            }
1139    
1140            /**
1141            * Sets the status of this user.
1142            *
1143            * @param status the status of this user
1144            */
1145            public void setStatus(int status) {
1146                    _user.setStatus(status);
1147            }
1148    
1149            public boolean isNew() {
1150                    return _user.isNew();
1151            }
1152    
1153            public void setNew(boolean n) {
1154                    _user.setNew(n);
1155            }
1156    
1157            public boolean isCachedModel() {
1158                    return _user.isCachedModel();
1159            }
1160    
1161            public void setCachedModel(boolean cachedModel) {
1162                    _user.setCachedModel(cachedModel);
1163            }
1164    
1165            public boolean isEscapedModel() {
1166                    return _user.isEscapedModel();
1167            }
1168    
1169            public java.io.Serializable getPrimaryKeyObj() {
1170                    return _user.getPrimaryKeyObj();
1171            }
1172    
1173            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1174                    _user.setPrimaryKeyObj(primaryKeyObj);
1175            }
1176    
1177            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1178                    return _user.getExpandoBridge();
1179            }
1180    
1181            public void setExpandoBridgeAttributes(
1182                    com.liferay.portal.model.BaseModel<?> baseModel) {
1183                    _user.setExpandoBridgeAttributes(baseModel);
1184            }
1185    
1186            public void setExpandoBridgeAttributes(
1187                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1188                    _user.setExpandoBridgeAttributes(expandoBridge);
1189            }
1190    
1191            public void setExpandoBridgeAttributes(
1192                    com.liferay.portal.service.ServiceContext serviceContext) {
1193                    _user.setExpandoBridgeAttributes(serviceContext);
1194            }
1195    
1196            @Override
1197            public java.lang.Object clone() {
1198                    return new UserWrapper((User)_user.clone());
1199            }
1200    
1201            public int compareTo(com.liferay.portal.model.User user) {
1202                    return _user.compareTo(user);
1203            }
1204    
1205            @Override
1206            public int hashCode() {
1207                    return _user.hashCode();
1208            }
1209    
1210            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.User> toCacheModel() {
1211                    return _user.toCacheModel();
1212            }
1213    
1214            public com.liferay.portal.model.User toEscapedModel() {
1215                    return new UserWrapper(_user.toEscapedModel());
1216            }
1217    
1218            public com.liferay.portal.model.User toUnescapedModel() {
1219                    return new UserWrapper(_user.toUnescapedModel());
1220            }
1221    
1222            @Override
1223            public java.lang.String toString() {
1224                    return _user.toString();
1225            }
1226    
1227            public java.lang.String toXmlString() {
1228                    return _user.toXmlString();
1229            }
1230    
1231            public void persist()
1232                    throws com.liferay.portal.kernel.exception.SystemException {
1233                    _user.persist();
1234            }
1235    
1236            public java.util.List<com.liferay.portal.model.Address> getAddresses()
1237                    throws com.liferay.portal.kernel.exception.SystemException {
1238                    return _user.getAddresses();
1239            }
1240    
1241            public java.util.Date getBirthday()
1242                    throws com.liferay.portal.kernel.exception.PortalException,
1243                            com.liferay.portal.kernel.exception.SystemException {
1244                    return _user.getBirthday();
1245            }
1246    
1247            public java.lang.String getCompanyMx()
1248                    throws com.liferay.portal.kernel.exception.PortalException,
1249                            com.liferay.portal.kernel.exception.SystemException {
1250                    return _user.getCompanyMx();
1251            }
1252    
1253            public com.liferay.portal.model.Contact getContact()
1254                    throws com.liferay.portal.kernel.exception.PortalException,
1255                            com.liferay.portal.kernel.exception.SystemException {
1256                    return _user.getContact();
1257            }
1258    
1259            public java.lang.String getDigest(java.lang.String password) {
1260                    return _user.getDigest(password);
1261            }
1262    
1263            public java.lang.String getDisplayEmailAddress() {
1264                    return _user.getDisplayEmailAddress();
1265            }
1266    
1267            public java.lang.String getDisplayURL(java.lang.String portalURL,
1268                    java.lang.String mainPath)
1269                    throws com.liferay.portal.kernel.exception.PortalException,
1270                            com.liferay.portal.kernel.exception.SystemException {
1271                    return _user.getDisplayURL(portalURL, mainPath);
1272            }
1273    
1274            public java.lang.String getDisplayURL(java.lang.String portalURL,
1275                    java.lang.String mainPath, boolean privateLayout)
1276                    throws com.liferay.portal.kernel.exception.PortalException,
1277                            com.liferay.portal.kernel.exception.SystemException {
1278                    return _user.getDisplayURL(portalURL, mainPath, privateLayout);
1279            }
1280    
1281            public java.lang.String getDisplayURL(
1282                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
1283                    throws com.liferay.portal.kernel.exception.PortalException,
1284                            com.liferay.portal.kernel.exception.SystemException {
1285                    return _user.getDisplayURL(themeDisplay);
1286            }
1287    
1288            public java.lang.String getDisplayURL(
1289                    com.liferay.portal.theme.ThemeDisplay themeDisplay,
1290                    boolean privateLayout)
1291                    throws com.liferay.portal.kernel.exception.PortalException,
1292                            com.liferay.portal.kernel.exception.SystemException {
1293                    return _user.getDisplayURL(themeDisplay, privateLayout);
1294            }
1295    
1296            public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
1297                    throws com.liferay.portal.kernel.exception.SystemException {
1298                    return _user.getEmailAddresses();
1299            }
1300    
1301            public boolean getFemale()
1302                    throws com.liferay.portal.kernel.exception.PortalException,
1303                            com.liferay.portal.kernel.exception.SystemException {
1304                    return _user.getFemale();
1305            }
1306    
1307            public java.lang.String getFullName() {
1308                    return _user.getFullName();
1309            }
1310    
1311            public com.liferay.portal.model.Group getGroup()
1312                    throws com.liferay.portal.kernel.exception.PortalException,
1313                            com.liferay.portal.kernel.exception.SystemException {
1314                    return _user.getGroup();
1315            }
1316    
1317            public long getGroupId()
1318                    throws com.liferay.portal.kernel.exception.PortalException,
1319                            com.liferay.portal.kernel.exception.SystemException {
1320                    return _user.getGroupId();
1321            }
1322    
1323            public long[] getGroupIds()
1324                    throws com.liferay.portal.kernel.exception.SystemException {
1325                    return _user.getGroupIds();
1326            }
1327    
1328            public java.util.List<com.liferay.portal.model.Group> getGroups()
1329                    throws com.liferay.portal.kernel.exception.SystemException {
1330                    return _user.getGroups();
1331            }
1332    
1333            public java.util.Locale getLocale() {
1334                    return _user.getLocale();
1335            }
1336    
1337            public java.lang.String getLogin()
1338                    throws com.liferay.portal.kernel.exception.PortalException,
1339                            com.liferay.portal.kernel.exception.SystemException {
1340                    return _user.getLogin();
1341            }
1342    
1343            public boolean getMale()
1344                    throws com.liferay.portal.kernel.exception.PortalException,
1345                            com.liferay.portal.kernel.exception.SystemException {
1346                    return _user.getMale();
1347            }
1348    
1349            public java.util.List<com.liferay.portal.model.Group> getMySites()
1350                    throws com.liferay.portal.kernel.exception.PortalException,
1351                            com.liferay.portal.kernel.exception.SystemException {
1352                    return _user.getMySites();
1353            }
1354    
1355            public java.util.List<com.liferay.portal.model.Group> getMySites(
1356                    boolean includeControlPanel, int max)
1357                    throws com.liferay.portal.kernel.exception.PortalException,
1358                            com.liferay.portal.kernel.exception.SystemException {
1359                    return _user.getMySites(includeControlPanel, max);
1360            }
1361    
1362            public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
1363                    throws com.liferay.portal.kernel.exception.PortalException,
1364                            com.liferay.portal.kernel.exception.SystemException {
1365                    return _user.getMySites(max);
1366            }
1367    
1368            public java.util.List<com.liferay.portal.model.Group> getMySites(
1369                    java.lang.String[] classNames, boolean includeControlPanel, int max)
1370                    throws com.liferay.portal.kernel.exception.PortalException,
1371                            com.liferay.portal.kernel.exception.SystemException {
1372                    return _user.getMySites(classNames, includeControlPanel, max);
1373            }
1374    
1375            public java.util.List<com.liferay.portal.model.Group> getMySites(
1376                    java.lang.String[] classNames, int max)
1377                    throws com.liferay.portal.kernel.exception.PortalException,
1378                            com.liferay.portal.kernel.exception.SystemException {
1379                    return _user.getMySites(classNames, max);
1380            }
1381    
1382            public long[] getOrganizationIds()
1383                    throws com.liferay.portal.kernel.exception.PortalException,
1384                            com.liferay.portal.kernel.exception.SystemException {
1385                    return _user.getOrganizationIds();
1386            }
1387    
1388            public long[] getOrganizationIds(boolean includeAdministrative)
1389                    throws com.liferay.portal.kernel.exception.PortalException,
1390                            com.liferay.portal.kernel.exception.SystemException {
1391                    return _user.getOrganizationIds(includeAdministrative);
1392            }
1393    
1394            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
1395                    throws com.liferay.portal.kernel.exception.PortalException,
1396                            com.liferay.portal.kernel.exception.SystemException {
1397                    return _user.getOrganizations();
1398            }
1399    
1400            public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
1401                    boolean includeAdministrative)
1402                    throws com.liferay.portal.kernel.exception.PortalException,
1403                            com.liferay.portal.kernel.exception.SystemException {
1404                    return _user.getOrganizations(includeAdministrative);
1405            }
1406    
1407            public boolean getPasswordModified() {
1408                    return _user.getPasswordModified();
1409            }
1410    
1411            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
1412                    throws com.liferay.portal.kernel.exception.PortalException,
1413                            com.liferay.portal.kernel.exception.SystemException {
1414                    return _user.getPasswordPolicy();
1415            }
1416    
1417            public java.lang.String getPasswordUnencrypted() {
1418                    return _user.getPasswordUnencrypted();
1419            }
1420    
1421            public java.util.List<com.liferay.portal.model.Phone> getPhones()
1422                    throws com.liferay.portal.kernel.exception.SystemException {
1423                    return _user.getPhones();
1424            }
1425    
1426            public java.lang.String getPortraitURL(
1427                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
1428                    throws com.liferay.portal.kernel.exception.PortalException,
1429                            com.liferay.portal.kernel.exception.SystemException {
1430                    return _user.getPortraitURL(themeDisplay);
1431            }
1432    
1433            public int getPrivateLayoutsPageCount()
1434                    throws com.liferay.portal.kernel.exception.PortalException,
1435                            com.liferay.portal.kernel.exception.SystemException {
1436                    return _user.getPrivateLayoutsPageCount();
1437            }
1438    
1439            public int getPublicLayoutsPageCount()
1440                    throws com.liferay.portal.kernel.exception.PortalException,
1441                            com.liferay.portal.kernel.exception.SystemException {
1442                    return _user.getPublicLayoutsPageCount();
1443            }
1444    
1445            public java.util.Set<java.lang.String> getReminderQueryQuestions()
1446                    throws com.liferay.portal.kernel.exception.PortalException,
1447                            com.liferay.portal.kernel.exception.SystemException {
1448                    return _user.getReminderQueryQuestions();
1449            }
1450    
1451            public long[] getRoleIds()
1452                    throws com.liferay.portal.kernel.exception.SystemException {
1453                    return _user.getRoleIds();
1454            }
1455    
1456            public java.util.List<com.liferay.portal.model.Role> getRoles()
1457                    throws com.liferay.portal.kernel.exception.SystemException {
1458                    return _user.getRoles();
1459            }
1460    
1461            public long[] getTeamIds()
1462                    throws com.liferay.portal.kernel.exception.SystemException {
1463                    return _user.getTeamIds();
1464            }
1465    
1466            public java.util.List<com.liferay.portal.model.Team> getTeams()
1467                    throws com.liferay.portal.kernel.exception.SystemException {
1468                    return _user.getTeams();
1469            }
1470    
1471            public java.util.TimeZone getTimeZone() {
1472                    return _user.getTimeZone();
1473            }
1474    
1475            public long[] getUserGroupIds()
1476                    throws com.liferay.portal.kernel.exception.SystemException {
1477                    return _user.getUserGroupIds();
1478            }
1479    
1480            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
1481                    throws com.liferay.portal.kernel.exception.SystemException {
1482                    return _user.getUserGroups();
1483            }
1484    
1485            public java.util.List<com.liferay.portal.model.Website> getWebsites()
1486                    throws com.liferay.portal.kernel.exception.SystemException {
1487                    return _user.getWebsites();
1488            }
1489    
1490            public boolean hasCompanyMx()
1491                    throws com.liferay.portal.kernel.exception.PortalException,
1492                            com.liferay.portal.kernel.exception.SystemException {
1493                    return _user.hasCompanyMx();
1494            }
1495    
1496            public boolean hasCompanyMx(java.lang.String emailAddress)
1497                    throws com.liferay.portal.kernel.exception.PortalException,
1498                            com.liferay.portal.kernel.exception.SystemException {
1499                    return _user.hasCompanyMx(emailAddress);
1500            }
1501    
1502            public boolean hasMySites()
1503                    throws com.liferay.portal.kernel.exception.PortalException,
1504                            com.liferay.portal.kernel.exception.SystemException {
1505                    return _user.hasMySites();
1506            }
1507    
1508            public boolean hasOrganization()
1509                    throws com.liferay.portal.kernel.exception.PortalException,
1510                            com.liferay.portal.kernel.exception.SystemException {
1511                    return _user.hasOrganization();
1512            }
1513    
1514            public boolean hasPrivateLayouts()
1515                    throws com.liferay.portal.kernel.exception.PortalException,
1516                            com.liferay.portal.kernel.exception.SystemException {
1517                    return _user.hasPrivateLayouts();
1518            }
1519    
1520            public boolean hasPublicLayouts()
1521                    throws com.liferay.portal.kernel.exception.PortalException,
1522                            com.liferay.portal.kernel.exception.SystemException {
1523                    return _user.hasPublicLayouts();
1524            }
1525    
1526            public boolean hasReminderQuery() {
1527                    return _user.hasReminderQuery();
1528            }
1529    
1530            public boolean isActive() {
1531                    return _user.isActive();
1532            }
1533    
1534            public boolean isFemale()
1535                    throws com.liferay.portal.kernel.exception.PortalException,
1536                            com.liferay.portal.kernel.exception.SystemException {
1537                    return _user.isFemale();
1538            }
1539    
1540            public boolean isMale()
1541                    throws com.liferay.portal.kernel.exception.PortalException,
1542                            com.liferay.portal.kernel.exception.SystemException {
1543                    return _user.isMale();
1544            }
1545    
1546            public boolean isPasswordModified() {
1547                    return _user.isPasswordModified();
1548            }
1549    
1550            public void setPasswordModified(boolean passwordModified) {
1551                    _user.setPasswordModified(passwordModified);
1552            }
1553    
1554            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted) {
1555                    _user.setPasswordUnencrypted(passwordUnencrypted);
1556            }
1557    
1558            /**
1559             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
1560             */
1561            public User getWrappedUser() {
1562                    return _user;
1563            }
1564    
1565            public User getWrappedModel() {
1566                    return _user;
1567            }
1568    
1569            public void resetOriginalValues() {
1570                    _user.resetOriginalValues();
1571            }
1572    
1573            private User _user;
1574    }