001    /**
002     * Copyright (c) 2000-2012 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.service.ServiceContext serviceContext) {
1183                    _user.setExpandoBridgeAttributes(serviceContext);
1184            }
1185    
1186            @Override
1187            public java.lang.Object clone() {
1188                    return new UserWrapper((User)_user.clone());
1189            }
1190    
1191            public int compareTo(com.liferay.portal.model.User user) {
1192                    return _user.compareTo(user);
1193            }
1194    
1195            @Override
1196            public int hashCode() {
1197                    return _user.hashCode();
1198            }
1199    
1200            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.User> toCacheModel() {
1201                    return _user.toCacheModel();
1202            }
1203    
1204            public com.liferay.portal.model.User toEscapedModel() {
1205                    return new UserWrapper(_user.toEscapedModel());
1206            }
1207    
1208            public com.liferay.portal.model.User toUnescapedModel() {
1209                    return new UserWrapper(_user.toUnescapedModel());
1210            }
1211    
1212            @Override
1213            public java.lang.String toString() {
1214                    return _user.toString();
1215            }
1216    
1217            public java.lang.String toXmlString() {
1218                    return _user.toXmlString();
1219            }
1220    
1221            public void persist()
1222                    throws com.liferay.portal.kernel.exception.SystemException {
1223                    _user.persist();
1224            }
1225    
1226            public java.util.List<com.liferay.portal.model.Address> getAddresses()
1227                    throws com.liferay.portal.kernel.exception.SystemException {
1228                    return _user.getAddresses();
1229            }
1230    
1231            public java.util.Date getBirthday()
1232                    throws com.liferay.portal.kernel.exception.PortalException,
1233                            com.liferay.portal.kernel.exception.SystemException {
1234                    return _user.getBirthday();
1235            }
1236    
1237            public java.lang.String getCompanyMx()
1238                    throws com.liferay.portal.kernel.exception.PortalException,
1239                            com.liferay.portal.kernel.exception.SystemException {
1240                    return _user.getCompanyMx();
1241            }
1242    
1243            public com.liferay.portal.model.Contact getContact()
1244                    throws com.liferay.portal.kernel.exception.PortalException,
1245                            com.liferay.portal.kernel.exception.SystemException {
1246                    return _user.getContact();
1247            }
1248    
1249            public java.lang.String getDigest(java.lang.String password) {
1250                    return _user.getDigest(password);
1251            }
1252    
1253            public java.lang.String getDisplayEmailAddress() {
1254                    return _user.getDisplayEmailAddress();
1255            }
1256    
1257            public java.lang.String getDisplayURL(java.lang.String portalURL,
1258                    java.lang.String mainPath)
1259                    throws com.liferay.portal.kernel.exception.PortalException,
1260                            com.liferay.portal.kernel.exception.SystemException {
1261                    return _user.getDisplayURL(portalURL, mainPath);
1262            }
1263    
1264            public java.lang.String getDisplayURL(java.lang.String portalURL,
1265                    java.lang.String mainPath, boolean privateLayout)
1266                    throws com.liferay.portal.kernel.exception.PortalException,
1267                            com.liferay.portal.kernel.exception.SystemException {
1268                    return _user.getDisplayURL(portalURL, mainPath, privateLayout);
1269            }
1270    
1271            public java.lang.String getDisplayURL(
1272                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
1273                    throws com.liferay.portal.kernel.exception.PortalException,
1274                            com.liferay.portal.kernel.exception.SystemException {
1275                    return _user.getDisplayURL(themeDisplay);
1276            }
1277    
1278            public java.lang.String getDisplayURL(
1279                    com.liferay.portal.theme.ThemeDisplay themeDisplay,
1280                    boolean privateLayout)
1281                    throws com.liferay.portal.kernel.exception.PortalException,
1282                            com.liferay.portal.kernel.exception.SystemException {
1283                    return _user.getDisplayURL(themeDisplay, privateLayout);
1284            }
1285    
1286            public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
1287                    throws com.liferay.portal.kernel.exception.SystemException {
1288                    return _user.getEmailAddresses();
1289            }
1290    
1291            public boolean getFemale()
1292                    throws com.liferay.portal.kernel.exception.PortalException,
1293                            com.liferay.portal.kernel.exception.SystemException {
1294                    return _user.getFemale();
1295            }
1296    
1297            public java.lang.String getFullName() {
1298                    return _user.getFullName();
1299            }
1300    
1301            public com.liferay.portal.model.Group getGroup()
1302                    throws com.liferay.portal.kernel.exception.PortalException,
1303                            com.liferay.portal.kernel.exception.SystemException {
1304                    return _user.getGroup();
1305            }
1306    
1307            public long getGroupId()
1308                    throws com.liferay.portal.kernel.exception.PortalException,
1309                            com.liferay.portal.kernel.exception.SystemException {
1310                    return _user.getGroupId();
1311            }
1312    
1313            public long[] getGroupIds()
1314                    throws com.liferay.portal.kernel.exception.PortalException,
1315                            com.liferay.portal.kernel.exception.SystemException {
1316                    return _user.getGroupIds();
1317            }
1318    
1319            public java.util.List<com.liferay.portal.model.Group> getGroups()
1320                    throws com.liferay.portal.kernel.exception.PortalException,
1321                            com.liferay.portal.kernel.exception.SystemException {
1322                    return _user.getGroups();
1323            }
1324    
1325            public java.util.Locale getLocale() {
1326                    return _user.getLocale();
1327            }
1328    
1329            public java.lang.String getLogin()
1330                    throws com.liferay.portal.kernel.exception.PortalException,
1331                            com.liferay.portal.kernel.exception.SystemException {
1332                    return _user.getLogin();
1333            }
1334    
1335            public boolean getMale()
1336                    throws com.liferay.portal.kernel.exception.PortalException,
1337                            com.liferay.portal.kernel.exception.SystemException {
1338                    return _user.getMale();
1339            }
1340    
1341            public java.util.List<com.liferay.portal.model.Group> getMySites()
1342                    throws com.liferay.portal.kernel.exception.PortalException,
1343                            com.liferay.portal.kernel.exception.SystemException {
1344                    return _user.getMySites();
1345            }
1346    
1347            public java.util.List<com.liferay.portal.model.Group> getMySites(
1348                    boolean includeControlPanel, int max)
1349                    throws com.liferay.portal.kernel.exception.PortalException,
1350                            com.liferay.portal.kernel.exception.SystemException {
1351                    return _user.getMySites(includeControlPanel, max);
1352            }
1353    
1354            public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
1355                    throws com.liferay.portal.kernel.exception.PortalException,
1356                            com.liferay.portal.kernel.exception.SystemException {
1357                    return _user.getMySites(max);
1358            }
1359    
1360            public java.util.List<com.liferay.portal.model.Group> getMySites(
1361                    java.lang.String[] classNames, boolean includeControlPanel, int max)
1362                    throws com.liferay.portal.kernel.exception.PortalException,
1363                            com.liferay.portal.kernel.exception.SystemException {
1364                    return _user.getMySites(classNames, includeControlPanel, max);
1365            }
1366    
1367            public java.util.List<com.liferay.portal.model.Group> getMySites(
1368                    java.lang.String[] classNames, int max)
1369                    throws com.liferay.portal.kernel.exception.PortalException,
1370                            com.liferay.portal.kernel.exception.SystemException {
1371                    return _user.getMySites(classNames, max);
1372            }
1373    
1374            public long[] getOrganizationIds()
1375                    throws com.liferay.portal.kernel.exception.PortalException,
1376                            com.liferay.portal.kernel.exception.SystemException {
1377                    return _user.getOrganizationIds();
1378            }
1379    
1380            public long[] getOrganizationIds(boolean includeAdministrative)
1381                    throws com.liferay.portal.kernel.exception.PortalException,
1382                            com.liferay.portal.kernel.exception.SystemException {
1383                    return _user.getOrganizationIds(includeAdministrative);
1384            }
1385    
1386            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
1387                    throws com.liferay.portal.kernel.exception.PortalException,
1388                            com.liferay.portal.kernel.exception.SystemException {
1389                    return _user.getOrganizations();
1390            }
1391    
1392            public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
1393                    boolean includeAdministrative)
1394                    throws com.liferay.portal.kernel.exception.PortalException,
1395                            com.liferay.portal.kernel.exception.SystemException {
1396                    return _user.getOrganizations(includeAdministrative);
1397            }
1398    
1399            public boolean getPasswordModified() {
1400                    return _user.getPasswordModified();
1401            }
1402    
1403            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
1404                    throws com.liferay.portal.kernel.exception.PortalException,
1405                            com.liferay.portal.kernel.exception.SystemException {
1406                    return _user.getPasswordPolicy();
1407            }
1408    
1409            public java.lang.String getPasswordUnencrypted() {
1410                    return _user.getPasswordUnencrypted();
1411            }
1412    
1413            public java.util.List<com.liferay.portal.model.Phone> getPhones()
1414                    throws com.liferay.portal.kernel.exception.SystemException {
1415                    return _user.getPhones();
1416            }
1417    
1418            public java.lang.String getPortraitURL(
1419                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
1420                    throws com.liferay.portal.kernel.exception.PortalException,
1421                            com.liferay.portal.kernel.exception.SystemException {
1422                    return _user.getPortraitURL(themeDisplay);
1423            }
1424    
1425            public int getPrivateLayoutsPageCount()
1426                    throws com.liferay.portal.kernel.exception.PortalException,
1427                            com.liferay.portal.kernel.exception.SystemException {
1428                    return _user.getPrivateLayoutsPageCount();
1429            }
1430    
1431            public int getPublicLayoutsPageCount()
1432                    throws com.liferay.portal.kernel.exception.PortalException,
1433                            com.liferay.portal.kernel.exception.SystemException {
1434                    return _user.getPublicLayoutsPageCount();
1435            }
1436    
1437            public java.util.Set<java.lang.String> getReminderQueryQuestions()
1438                    throws com.liferay.portal.kernel.exception.PortalException,
1439                            com.liferay.portal.kernel.exception.SystemException {
1440                    return _user.getReminderQueryQuestions();
1441            }
1442    
1443            public long[] getRoleIds()
1444                    throws com.liferay.portal.kernel.exception.SystemException {
1445                    return _user.getRoleIds();
1446            }
1447    
1448            public java.util.List<com.liferay.portal.model.Role> getRoles()
1449                    throws com.liferay.portal.kernel.exception.SystemException {
1450                    return _user.getRoles();
1451            }
1452    
1453            public long[] getTeamIds()
1454                    throws com.liferay.portal.kernel.exception.SystemException {
1455                    return _user.getTeamIds();
1456            }
1457    
1458            public java.util.List<com.liferay.portal.model.Team> getTeams()
1459                    throws com.liferay.portal.kernel.exception.SystemException {
1460                    return _user.getTeams();
1461            }
1462    
1463            public java.util.TimeZone getTimeZone() {
1464                    return _user.getTimeZone();
1465            }
1466    
1467            public long[] getUserGroupIds()
1468                    throws com.liferay.portal.kernel.exception.SystemException {
1469                    return _user.getUserGroupIds();
1470            }
1471    
1472            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
1473                    throws com.liferay.portal.kernel.exception.SystemException {
1474                    return _user.getUserGroups();
1475            }
1476    
1477            public java.util.List<com.liferay.portal.model.Website> getWebsites()
1478                    throws com.liferay.portal.kernel.exception.SystemException {
1479                    return _user.getWebsites();
1480            }
1481    
1482            public boolean hasCompanyMx()
1483                    throws com.liferay.portal.kernel.exception.PortalException,
1484                            com.liferay.portal.kernel.exception.SystemException {
1485                    return _user.hasCompanyMx();
1486            }
1487    
1488            public boolean hasCompanyMx(java.lang.String emailAddress)
1489                    throws com.liferay.portal.kernel.exception.PortalException,
1490                            com.liferay.portal.kernel.exception.SystemException {
1491                    return _user.hasCompanyMx(emailAddress);
1492            }
1493    
1494            public boolean hasMySites()
1495                    throws com.liferay.portal.kernel.exception.PortalException,
1496                            com.liferay.portal.kernel.exception.SystemException {
1497                    return _user.hasMySites();
1498            }
1499    
1500            public boolean hasOrganization()
1501                    throws com.liferay.portal.kernel.exception.PortalException,
1502                            com.liferay.portal.kernel.exception.SystemException {
1503                    return _user.hasOrganization();
1504            }
1505    
1506            public boolean hasPrivateLayouts()
1507                    throws com.liferay.portal.kernel.exception.PortalException,
1508                            com.liferay.portal.kernel.exception.SystemException {
1509                    return _user.hasPrivateLayouts();
1510            }
1511    
1512            public boolean hasPublicLayouts()
1513                    throws com.liferay.portal.kernel.exception.PortalException,
1514                            com.liferay.portal.kernel.exception.SystemException {
1515                    return _user.hasPublicLayouts();
1516            }
1517    
1518            public boolean hasReminderQuery() {
1519                    return _user.hasReminderQuery();
1520            }
1521    
1522            public boolean isActive() {
1523                    return _user.isActive();
1524            }
1525    
1526            public boolean isFemale()
1527                    throws com.liferay.portal.kernel.exception.PortalException,
1528                            com.liferay.portal.kernel.exception.SystemException {
1529                    return _user.isFemale();
1530            }
1531    
1532            public boolean isMale()
1533                    throws com.liferay.portal.kernel.exception.PortalException,
1534                            com.liferay.portal.kernel.exception.SystemException {
1535                    return _user.isMale();
1536            }
1537    
1538            public boolean isPasswordModified() {
1539                    return _user.isPasswordModified();
1540            }
1541    
1542            public void setPasswordModified(boolean passwordModified) {
1543                    _user.setPasswordModified(passwordModified);
1544            }
1545    
1546            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted) {
1547                    _user.setPasswordUnencrypted(passwordUnencrypted);
1548            }
1549    
1550            /**
1551             * @deprecated Renamed to {@link #getWrappedModel}
1552             */
1553            public User getWrappedUser() {
1554                    return _user;
1555            }
1556    
1557            public User getWrappedModel() {
1558                    return _user;
1559            }
1560    
1561            public void resetOriginalValues() {
1562                    _user.resetOriginalValues();
1563            }
1564    
1565            private User _user;
1566    }