001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.util.Validator;
020    
021    import com.liferay.portlet.exportimport.lar.StagedModelType;
022    
023    import java.util.Date;
024    import java.util.HashMap;
025    import java.util.Map;
026    
027    /**
028     * <p>
029     * This class is a wrapper for {@link User}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see User
034     * @generated
035     */
036    @ProviderType
037    public class UserWrapper implements User, ModelWrapper<User> {
038            public UserWrapper(User user) {
039                    _user = user;
040            }
041    
042            @Override
043            public Class<?> getModelClass() {
044                    return User.class;
045            }
046    
047            @Override
048            public String getModelClassName() {
049                    return User.class.getName();
050            }
051    
052            @Override
053            public Map<String, Object> getModelAttributes() {
054                    Map<String, Object> attributes = new HashMap<String, Object>();
055    
056                    attributes.put("mvccVersion", getMvccVersion());
057                    attributes.put("uuid", getUuid());
058                    attributes.put("userId", getUserId());
059                    attributes.put("companyId", getCompanyId());
060                    attributes.put("createDate", getCreateDate());
061                    attributes.put("modifiedDate", getModifiedDate());
062                    attributes.put("defaultUser", getDefaultUser());
063                    attributes.put("contactId", getContactId());
064                    attributes.put("password", getPassword());
065                    attributes.put("passwordEncrypted", getPasswordEncrypted());
066                    attributes.put("passwordReset", getPasswordReset());
067                    attributes.put("passwordModifiedDate", getPasswordModifiedDate());
068                    attributes.put("digest", getDigest());
069                    attributes.put("reminderQueryQuestion", getReminderQueryQuestion());
070                    attributes.put("reminderQueryAnswer", getReminderQueryAnswer());
071                    attributes.put("graceLoginCount", getGraceLoginCount());
072                    attributes.put("screenName", getScreenName());
073                    attributes.put("emailAddress", getEmailAddress());
074                    attributes.put("facebookId", getFacebookId());
075                    attributes.put("ldapServerId", getLdapServerId());
076                    attributes.put("openId", getOpenId());
077                    attributes.put("portraitId", getPortraitId());
078                    attributes.put("languageId", getLanguageId());
079                    attributes.put("timeZoneId", getTimeZoneId());
080                    attributes.put("greeting", getGreeting());
081                    attributes.put("comments", getComments());
082                    attributes.put("firstName", getFirstName());
083                    attributes.put("middleName", getMiddleName());
084                    attributes.put("lastName", getLastName());
085                    attributes.put("jobTitle", getJobTitle());
086                    attributes.put("loginDate", getLoginDate());
087                    attributes.put("loginIP", getLoginIP());
088                    attributes.put("lastLoginDate", getLastLoginDate());
089                    attributes.put("lastLoginIP", getLastLoginIP());
090                    attributes.put("lastFailedLoginDate", getLastFailedLoginDate());
091                    attributes.put("failedLoginAttempts", getFailedLoginAttempts());
092                    attributes.put("lockout", getLockout());
093                    attributes.put("lockoutDate", getLockoutDate());
094                    attributes.put("agreedToTermsOfUse", getAgreedToTermsOfUse());
095                    attributes.put("emailAddressVerified", getEmailAddressVerified());
096                    attributes.put("status", getStatus());
097    
098                    return attributes;
099            }
100    
101            @Override
102            public void setModelAttributes(Map<String, Object> attributes) {
103                    Long mvccVersion = (Long)attributes.get("mvccVersion");
104    
105                    if (mvccVersion != null) {
106                            setMvccVersion(mvccVersion);
107                    }
108    
109                    String uuid = (String)attributes.get("uuid");
110    
111                    if (uuid != null) {
112                            setUuid(uuid);
113                    }
114    
115                    Long userId = (Long)attributes.get("userId");
116    
117                    if (userId != null) {
118                            setUserId(userId);
119                    }
120    
121                    Long companyId = (Long)attributes.get("companyId");
122    
123                    if (companyId != null) {
124                            setCompanyId(companyId);
125                    }
126    
127                    Date createDate = (Date)attributes.get("createDate");
128    
129                    if (createDate != null) {
130                            setCreateDate(createDate);
131                    }
132    
133                    Date modifiedDate = (Date)attributes.get("modifiedDate");
134    
135                    if (modifiedDate != null) {
136                            setModifiedDate(modifiedDate);
137                    }
138    
139                    Boolean defaultUser = (Boolean)attributes.get("defaultUser");
140    
141                    if (defaultUser != null) {
142                            setDefaultUser(defaultUser);
143                    }
144    
145                    Long contactId = (Long)attributes.get("contactId");
146    
147                    if (contactId != null) {
148                            setContactId(contactId);
149                    }
150    
151                    String password = (String)attributes.get("password");
152    
153                    if (password != null) {
154                            setPassword(password);
155                    }
156    
157                    Boolean passwordEncrypted = (Boolean)attributes.get("passwordEncrypted");
158    
159                    if (passwordEncrypted != null) {
160                            setPasswordEncrypted(passwordEncrypted);
161                    }
162    
163                    Boolean passwordReset = (Boolean)attributes.get("passwordReset");
164    
165                    if (passwordReset != null) {
166                            setPasswordReset(passwordReset);
167                    }
168    
169                    Date passwordModifiedDate = (Date)attributes.get("passwordModifiedDate");
170    
171                    if (passwordModifiedDate != null) {
172                            setPasswordModifiedDate(passwordModifiedDate);
173                    }
174    
175                    String digest = (String)attributes.get("digest");
176    
177                    if (digest != null) {
178                            setDigest(digest);
179                    }
180    
181                    String reminderQueryQuestion = (String)attributes.get(
182                                    "reminderQueryQuestion");
183    
184                    if (reminderQueryQuestion != null) {
185                            setReminderQueryQuestion(reminderQueryQuestion);
186                    }
187    
188                    String reminderQueryAnswer = (String)attributes.get(
189                                    "reminderQueryAnswer");
190    
191                    if (reminderQueryAnswer != null) {
192                            setReminderQueryAnswer(reminderQueryAnswer);
193                    }
194    
195                    Integer graceLoginCount = (Integer)attributes.get("graceLoginCount");
196    
197                    if (graceLoginCount != null) {
198                            setGraceLoginCount(graceLoginCount);
199                    }
200    
201                    String screenName = (String)attributes.get("screenName");
202    
203                    if (screenName != null) {
204                            setScreenName(screenName);
205                    }
206    
207                    String emailAddress = (String)attributes.get("emailAddress");
208    
209                    if (emailAddress != null) {
210                            setEmailAddress(emailAddress);
211                    }
212    
213                    Long facebookId = (Long)attributes.get("facebookId");
214    
215                    if (facebookId != null) {
216                            setFacebookId(facebookId);
217                    }
218    
219                    Long ldapServerId = (Long)attributes.get("ldapServerId");
220    
221                    if (ldapServerId != null) {
222                            setLdapServerId(ldapServerId);
223                    }
224    
225                    String openId = (String)attributes.get("openId");
226    
227                    if (openId != null) {
228                            setOpenId(openId);
229                    }
230    
231                    Long portraitId = (Long)attributes.get("portraitId");
232    
233                    if (portraitId != null) {
234                            setPortraitId(portraitId);
235                    }
236    
237                    String languageId = (String)attributes.get("languageId");
238    
239                    if (languageId != null) {
240                            setLanguageId(languageId);
241                    }
242    
243                    String timeZoneId = (String)attributes.get("timeZoneId");
244    
245                    if (timeZoneId != null) {
246                            setTimeZoneId(timeZoneId);
247                    }
248    
249                    String greeting = (String)attributes.get("greeting");
250    
251                    if (greeting != null) {
252                            setGreeting(greeting);
253                    }
254    
255                    String comments = (String)attributes.get("comments");
256    
257                    if (comments != null) {
258                            setComments(comments);
259                    }
260    
261                    String firstName = (String)attributes.get("firstName");
262    
263                    if (firstName != null) {
264                            setFirstName(firstName);
265                    }
266    
267                    String middleName = (String)attributes.get("middleName");
268    
269                    if (middleName != null) {
270                            setMiddleName(middleName);
271                    }
272    
273                    String lastName = (String)attributes.get("lastName");
274    
275                    if (lastName != null) {
276                            setLastName(lastName);
277                    }
278    
279                    String jobTitle = (String)attributes.get("jobTitle");
280    
281                    if (jobTitle != null) {
282                            setJobTitle(jobTitle);
283                    }
284    
285                    Date loginDate = (Date)attributes.get("loginDate");
286    
287                    if (loginDate != null) {
288                            setLoginDate(loginDate);
289                    }
290    
291                    String loginIP = (String)attributes.get("loginIP");
292    
293                    if (loginIP != null) {
294                            setLoginIP(loginIP);
295                    }
296    
297                    Date lastLoginDate = (Date)attributes.get("lastLoginDate");
298    
299                    if (lastLoginDate != null) {
300                            setLastLoginDate(lastLoginDate);
301                    }
302    
303                    String lastLoginIP = (String)attributes.get("lastLoginIP");
304    
305                    if (lastLoginIP != null) {
306                            setLastLoginIP(lastLoginIP);
307                    }
308    
309                    Date lastFailedLoginDate = (Date)attributes.get("lastFailedLoginDate");
310    
311                    if (lastFailedLoginDate != null) {
312                            setLastFailedLoginDate(lastFailedLoginDate);
313                    }
314    
315                    Integer failedLoginAttempts = (Integer)attributes.get(
316                                    "failedLoginAttempts");
317    
318                    if (failedLoginAttempts != null) {
319                            setFailedLoginAttempts(failedLoginAttempts);
320                    }
321    
322                    Boolean lockout = (Boolean)attributes.get("lockout");
323    
324                    if (lockout != null) {
325                            setLockout(lockout);
326                    }
327    
328                    Date lockoutDate = (Date)attributes.get("lockoutDate");
329    
330                    if (lockoutDate != null) {
331                            setLockoutDate(lockoutDate);
332                    }
333    
334                    Boolean agreedToTermsOfUse = (Boolean)attributes.get(
335                                    "agreedToTermsOfUse");
336    
337                    if (agreedToTermsOfUse != null) {
338                            setAgreedToTermsOfUse(agreedToTermsOfUse);
339                    }
340    
341                    Boolean emailAddressVerified = (Boolean)attributes.get(
342                                    "emailAddressVerified");
343    
344                    if (emailAddressVerified != null) {
345                            setEmailAddressVerified(emailAddressVerified);
346                    }
347    
348                    Integer status = (Integer)attributes.get("status");
349    
350                    if (status != null) {
351                            setStatus(status);
352                    }
353            }
354    
355            @Override
356            public void addRemotePreference(
357                    com.liferay.portal.kernel.util.RemotePreference remotePreference) {
358                    _user.addRemotePreference(remotePreference);
359            }
360    
361            @Override
362            public java.lang.Object clone() {
363                    return new UserWrapper((User)_user.clone());
364            }
365    
366            @Override
367            public int compareTo(com.liferay.portal.model.User user) {
368                    return _user.compareTo(user);
369            }
370    
371            @Override
372            public com.liferay.portal.model.Contact fetchContact() {
373                    return _user.fetchContact();
374            }
375    
376            /**
377            * Returns the user's addresses.
378            *
379            * @return the user's addresses
380            */
381            @Override
382            public java.util.List<com.liferay.portal.model.Address> getAddresses() {
383                    return _user.getAddresses();
384            }
385    
386            /**
387            * Returns the agreed to terms of use of this user.
388            *
389            * @return the agreed to terms of use of this user
390            */
391            @Override
392            public boolean getAgreedToTermsOfUse() {
393                    return _user.getAgreedToTermsOfUse();
394            }
395    
396            /**
397            * Returns the user's birth date.
398            *
399            * @return the user's birth date
400            */
401            @Override
402            public Date getBirthday()
403                    throws com.liferay.portal.kernel.exception.PortalException {
404                    return _user.getBirthday();
405            }
406    
407            /**
408            * Returns the comments of this user.
409            *
410            * @return the comments of this user
411            */
412            @Override
413            public java.lang.String getComments() {
414                    return _user.getComments();
415            }
416    
417            /**
418            * Returns the company ID of this user.
419            *
420            * @return the company ID of this user
421            */
422            @Override
423            public long getCompanyId() {
424                    return _user.getCompanyId();
425            }
426    
427            /**
428            * Returns the user's company's mail domain.
429            *
430            * @return the user's company's mail domain
431            */
432            @Override
433            public java.lang.String getCompanyMx()
434                    throws com.liferay.portal.kernel.exception.PortalException {
435                    return _user.getCompanyMx();
436            }
437    
438            /**
439            * Returns the user's associated contact.
440            *
441            * @return the user's associated contact
442            * @see Contact
443            */
444            @Override
445            public com.liferay.portal.model.Contact getContact()
446                    throws com.liferay.portal.kernel.exception.PortalException {
447                    return _user.getContact();
448            }
449    
450            /**
451            * Returns the contact ID of this user.
452            *
453            * @return the contact ID of this user
454            */
455            @Override
456            public long getContactId() {
457                    return _user.getContactId();
458            }
459    
460            /**
461            * Returns the create date of this user.
462            *
463            * @return the create date of this user
464            */
465            @Override
466            public Date getCreateDate() {
467                    return _user.getCreateDate();
468            }
469    
470            /**
471            * Returns the default user of this user.
472            *
473            * @return the default user of this user
474            */
475            @Override
476            public boolean getDefaultUser() {
477                    return _user.getDefaultUser();
478            }
479    
480            /**
481            * Returns the digest of this user.
482            *
483            * @return the digest of this user
484            */
485            @Override
486            public java.lang.String getDigest() {
487                    return _user.getDigest();
488            }
489    
490            /**
491            * Returns a digest for the user, incorporating the password.
492            *
493            * @param password a password to incorporate with the digest
494            * @return a digest for the user, incorporating the password
495            */
496            @Override
497            public java.lang.String getDigest(java.lang.String password) {
498                    return _user.getDigest(password);
499            }
500    
501            /**
502            * Returns the user's primary email address, or a blank string if the
503            * address is fake.
504            *
505            * @return the user's primary email address, or a blank string if the
506            address is fake
507            */
508            @Override
509            public java.lang.String getDisplayEmailAddress() {
510                    return _user.getDisplayEmailAddress();
511            }
512    
513            /**
514            * Returns the user's display URL, discounting the URL of the user's default
515            * intranet site home page.
516            *
517            * <p>
518            * The logic for the display URL to return is as follows:
519            * </p>
520            *
521            * <ol>
522            * <li>
523            * If the user is the guest user, return an empty string.
524            * </li>
525            * <li>
526            * Else, if a friendly URL is available for the user's profile, return that
527            * friendly URL.
528            * </li>
529            * <li>
530            * Otherwise, return the URL of the user's default extranet site home page.
531            * </li>
532            * </ol>
533            *
534            * @param portalURL the portal's URL
535            * @param mainPath the main path
536            * @return the user's display URL
537            * @deprecated As of 7.0.0, replaced by {@link #getDisplayURL(ThemeDisplay)}
538            */
539            @Deprecated
540            @Override
541            public java.lang.String getDisplayURL(java.lang.String portalURL,
542                    java.lang.String mainPath)
543                    throws com.liferay.portal.kernel.exception.PortalException {
544                    return _user.getDisplayURL(portalURL, mainPath);
545            }
546    
547            /**
548            * Returns the user's display URL.
549            *
550            * <p>
551            * The logic for the display URL to return is as follows:
552            * </p>
553            *
554            * <ol>
555            * <li>
556            * If the user is the guest user, return an empty string.
557            * </li>
558            * <li>
559            * Else, if a friendly URL is available for the user's profile, return that
560            * friendly URL.
561            * </li>
562            * <li>
563            * Else, if <code>privateLayout</code> is <code>true</code>, return the URL
564            * of the user's default intranet site home page.
565            * </li>
566            * <li>
567            * Otherwise, return the URL of the user's default extranet site home page.
568            * </li>
569            * </ol>
570            *
571            * @param portalURL the portal's URL
572            * @param mainPath the main path
573            * @param privateLayout whether to use the URL of the user's default
574            intranet(versus extranet)  site home page, if no friendly URL
575            is available for the user's profile
576            * @return the user's display URL
577            * @throws PortalException
578            * @deprecated As of 7.0.0, replaced by {@link #getDisplayURL(ThemeDisplay)}
579            */
580            @Deprecated
581            @Override
582            public java.lang.String getDisplayURL(java.lang.String portalURL,
583                    java.lang.String mainPath, boolean privateLayout)
584                    throws com.liferay.portal.kernel.exception.PortalException {
585                    return _user.getDisplayURL(portalURL, mainPath, privateLayout);
586            }
587    
588            /**
589            * Returns the user's display URL based on the theme display, discounting
590            * the URL of the user's default intranet site home page.
591            *
592            * <p>
593            * The logic for the display URL to return is as follows:
594            * </p>
595            *
596            * <ol>
597            * <li>
598            * If the user is the guest user, return an empty string.
599            * </li>
600            * <li>
601            * Else, if a friendly URL is available for the user's profile, return that
602            * friendly URL.
603            * </li>
604            * <li>
605            * Otherwise, return the URL of the user's default extranet site home page.
606            * </li>
607            * </ol>
608            *
609            * @param themeDisplay the theme display
610            * @return the user's display URL
611            */
612            @Override
613            public java.lang.String getDisplayURL(
614                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
615                    throws com.liferay.portal.kernel.exception.PortalException {
616                    return _user.getDisplayURL(themeDisplay);
617            }
618    
619            /**
620            * Returns the user's display URL based on the theme display.
621            *
622            * <p>
623            * The logic for the display URL to return is as follows:
624            * </p>
625            *
626            * <ol>
627            * <li>
628            * If the user is the guest user, return an empty string.
629            * </li>
630            * <li>
631            * Else, if a friendly URL is available for the user's profile, return that
632            * friendly URL.
633            * </li>
634            * <li>
635            * Else, if <code>privateLayout</code> is <code>true</code>, return the URL
636            * of the user's default intranet site home page.
637            * </li>
638            * <li>
639            * Otherwise, return the URL of the user's default extranet site home page.
640            * </li>
641            * </ol>
642            *
643            * @param themeDisplay the theme display
644            * @param privateLayout whether to use the URL of the user's default
645            intranet (versus extranet) site home page, if no friendly URL is
646            available for the user's profile
647            * @return the user's display URL
648            * @throws PortalException
649            */
650            @Override
651            public java.lang.String getDisplayURL(
652                    com.liferay.portal.theme.ThemeDisplay themeDisplay,
653                    boolean privateLayout)
654                    throws com.liferay.portal.kernel.exception.PortalException {
655                    return _user.getDisplayURL(themeDisplay, privateLayout);
656            }
657    
658            /**
659            * Returns the email address of this user.
660            *
661            * @return the email address of this user
662            */
663            @Override
664            public java.lang.String getEmailAddress() {
665                    return _user.getEmailAddress();
666            }
667    
668            /**
669            * Returns the email address verified of this user.
670            *
671            * @return the email address verified of this user
672            */
673            @Override
674            public boolean getEmailAddressVerified() {
675                    return _user.getEmailAddressVerified();
676            }
677    
678            /**
679            * Returns the user's email addresses.
680            *
681            * @return the user's email addresses
682            */
683            @Override
684            public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses() {
685                    return _user.getEmailAddresses();
686            }
687    
688            @Override
689            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
690                    return _user.getExpandoBridge();
691            }
692    
693            /**
694            * Returns the facebook ID of this user.
695            *
696            * @return the facebook ID of this user
697            */
698            @Override
699            public long getFacebookId() {
700                    return _user.getFacebookId();
701            }
702    
703            /**
704            * Returns the failed login attempts of this user.
705            *
706            * @return the failed login attempts of this user
707            */
708            @Override
709            public int getFailedLoginAttempts() {
710                    return _user.getFailedLoginAttempts();
711            }
712    
713            /**
714            * Returns <code>true</code> if the user is female.
715            *
716            * @return <code>true</code> if the user is female; <code>false</code>
717            otherwise
718            */
719            @Override
720            public boolean getFemale()
721                    throws com.liferay.portal.kernel.exception.PortalException {
722                    return _user.getFemale();
723            }
724    
725            /**
726            * Returns the first name of this user.
727            *
728            * @return the first name of this user
729            */
730            @Override
731            public java.lang.String getFirstName() {
732                    return _user.getFirstName();
733            }
734    
735            /**
736            * Returns the user's full name.
737            *
738            * @return the user's full name
739            */
740            @Override
741            public java.lang.String getFullName() {
742                    return _user.getFullName();
743            }
744    
745            /**
746            * Returns the user's full name.
747            *
748            * @return the user's full name
749            */
750            @Override
751            public java.lang.String getFullName(boolean usePrefix, boolean useSuffix) {
752                    return _user.getFullName(usePrefix, useSuffix);
753            }
754    
755            /**
756            * Returns the grace login count of this user.
757            *
758            * @return the grace login count of this user
759            */
760            @Override
761            public int getGraceLoginCount() {
762                    return _user.getGraceLoginCount();
763            }
764    
765            /**
766            * Returns the greeting of this user.
767            *
768            * @return the greeting of this user
769            */
770            @Override
771            public java.lang.String getGreeting() {
772                    return _user.getGreeting();
773            }
774    
775            @Override
776            public com.liferay.portal.model.Group getGroup() {
777                    return _user.getGroup();
778            }
779    
780            @Override
781            public long getGroupId() {
782                    return _user.getGroupId();
783            }
784    
785            @Override
786            public long[] getGroupIds() {
787                    return _user.getGroupIds();
788            }
789    
790            @Override
791            public java.util.List<com.liferay.portal.model.Group> getGroups() {
792                    return _user.getGroups();
793            }
794    
795            @Override
796            public java.lang.String getInitials() {
797                    return _user.getInitials();
798            }
799    
800            /**
801            * Returns the job title of this user.
802            *
803            * @return the job title of this user
804            */
805            @Override
806            public java.lang.String getJobTitle() {
807                    return _user.getJobTitle();
808            }
809    
810            /**
811            * Returns the language ID of this user.
812            *
813            * @return the language ID of this user
814            */
815            @Override
816            public java.lang.String getLanguageId() {
817                    return _user.getLanguageId();
818            }
819    
820            /**
821            * Returns the last failed login date of this user.
822            *
823            * @return the last failed login date of this user
824            */
825            @Override
826            public Date getLastFailedLoginDate() {
827                    return _user.getLastFailedLoginDate();
828            }
829    
830            /**
831            * Returns the last login date of this user.
832            *
833            * @return the last login date of this user
834            */
835            @Override
836            public Date getLastLoginDate() {
837                    return _user.getLastLoginDate();
838            }
839    
840            /**
841            * Returns the last login i p of this user.
842            *
843            * @return the last login i p of this user
844            */
845            @Override
846            public java.lang.String getLastLoginIP() {
847                    return _user.getLastLoginIP();
848            }
849    
850            /**
851            * Returns the last name of this user.
852            *
853            * @return the last name of this user
854            */
855            @Override
856            public java.lang.String getLastName() {
857                    return _user.getLastName();
858            }
859    
860            /**
861            * Returns the ldap server ID of this user.
862            *
863            * @return the ldap server ID of this user
864            */
865            @Override
866            public long getLdapServerId() {
867                    return _user.getLdapServerId();
868            }
869    
870            @Override
871            public java.util.Locale getLocale() {
872                    return _user.getLocale();
873            }
874    
875            /**
876            * Returns the lockout of this user.
877            *
878            * @return the lockout of this user
879            */
880            @Override
881            public boolean getLockout() {
882                    return _user.getLockout();
883            }
884    
885            /**
886            * Returns the lockout date of this user.
887            *
888            * @return the lockout date of this user
889            */
890            @Override
891            public Date getLockoutDate() {
892                    return _user.getLockoutDate();
893            }
894    
895            @Override
896            public java.lang.String getLogin()
897                    throws com.liferay.portal.kernel.exception.PortalException {
898                    return _user.getLogin();
899            }
900    
901            /**
902            * Returns the login date of this user.
903            *
904            * @return the login date of this user
905            */
906            @Override
907            public Date getLoginDate() {
908                    return _user.getLoginDate();
909            }
910    
911            /**
912            * Returns the login i p of this user.
913            *
914            * @return the login i p of this user
915            */
916            @Override
917            public java.lang.String getLoginIP() {
918                    return _user.getLoginIP();
919            }
920    
921            /**
922            * Returns <code>true</code> if the user is male.
923            *
924            * @return <code>true</code> if the user is male; <code>false</code>
925            otherwise
926            */
927            @Override
928            public boolean getMale()
929                    throws com.liferay.portal.kernel.exception.PortalException {
930                    return _user.getMale();
931            }
932    
933            /**
934            * Returns the middle name of this user.
935            *
936            * @return the middle name of this user
937            */
938            @Override
939            public java.lang.String getMiddleName() {
940                    return _user.getMiddleName();
941            }
942    
943            /**
944            * Returns the modified date of this user.
945            *
946            * @return the modified date of this user
947            */
948            @Override
949            public Date getModifiedDate() {
950                    return _user.getModifiedDate();
951            }
952    
953            /**
954            * Returns the mvcc version of this user.
955            *
956            * @return the mvcc version of this user
957            */
958            @Override
959            public long getMvccVersion() {
960                    return _user.getMvccVersion();
961            }
962    
963            @Override
964            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups()
965                    throws com.liferay.portal.kernel.exception.PortalException {
966                    return _user.getMySiteGroups();
967            }
968    
969            @Override
970            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
971                    java.lang.String[] classNames, int max)
972                    throws com.liferay.portal.kernel.exception.PortalException {
973                    return _user.getMySiteGroups(classNames, max);
974            }
975    
976            @Override
977            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
978                    int max) throws com.liferay.portal.kernel.exception.PortalException {
979                    return _user.getMySiteGroups(max);
980            }
981    
982            /**
983            * Returns the open ID of this user.
984            *
985            * @return the open ID of this user
986            */
987            @Override
988            public java.lang.String getOpenId() {
989                    return _user.getOpenId();
990            }
991    
992            @Override
993            public long[] getOrganizationIds()
994                    throws com.liferay.portal.kernel.exception.PortalException {
995                    return _user.getOrganizationIds();
996            }
997    
998            @Override
999            public long[] getOrganizationIds(boolean includeAdministrative)
1000                    throws com.liferay.portal.kernel.exception.PortalException {
1001                    return _user.getOrganizationIds(includeAdministrative);
1002            }
1003    
1004            @Override
1005            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
1006                    throws com.liferay.portal.kernel.exception.PortalException {
1007                    return _user.getOrganizations();
1008            }
1009    
1010            @Override
1011            public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
1012                    boolean includeAdministrative)
1013                    throws com.liferay.portal.kernel.exception.PortalException {
1014                    return _user.getOrganizations(includeAdministrative);
1015            }
1016    
1017            @Override
1018            public java.lang.String getOriginalEmailAddress() {
1019                    return _user.getOriginalEmailAddress();
1020            }
1021    
1022            /**
1023            * Returns the password of this user.
1024            *
1025            * @return the password of this user
1026            */
1027            @Override
1028            public java.lang.String getPassword() {
1029                    return _user.getPassword();
1030            }
1031    
1032            /**
1033            * Returns the password encrypted of this user.
1034            *
1035            * @return the password encrypted of this user
1036            */
1037            @Override
1038            public boolean getPasswordEncrypted() {
1039                    return _user.getPasswordEncrypted();
1040            }
1041    
1042            @Override
1043            public boolean getPasswordModified() {
1044                    return _user.getPasswordModified();
1045            }
1046    
1047            /**
1048            * Returns the password modified date of this user.
1049            *
1050            * @return the password modified date of this user
1051            */
1052            @Override
1053            public Date getPasswordModifiedDate() {
1054                    return _user.getPasswordModifiedDate();
1055            }
1056    
1057            @Override
1058            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
1059                    throws com.liferay.portal.kernel.exception.PortalException {
1060                    return _user.getPasswordPolicy();
1061            }
1062    
1063            /**
1064            * Returns the password reset of this user.
1065            *
1066            * @return the password reset of this user
1067            */
1068            @Override
1069            public boolean getPasswordReset() {
1070                    return _user.getPasswordReset();
1071            }
1072    
1073            @Override
1074            public java.lang.String getPasswordUnencrypted() {
1075                    return _user.getPasswordUnencrypted();
1076            }
1077    
1078            @Override
1079            public java.util.List<com.liferay.portal.model.Phone> getPhones() {
1080                    return _user.getPhones();
1081            }
1082    
1083            /**
1084            * Returns the portrait ID of this user.
1085            *
1086            * @return the portrait ID of this user
1087            */
1088            @Override
1089            public long getPortraitId() {
1090                    return _user.getPortraitId();
1091            }
1092    
1093            @Override
1094            public java.lang.String getPortraitURL(
1095                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
1096                    throws com.liferay.portal.kernel.exception.PortalException {
1097                    return _user.getPortraitURL(themeDisplay);
1098            }
1099    
1100            /**
1101            * Returns the primary key of this user.
1102            *
1103            * @return the primary key of this user
1104            */
1105            @Override
1106            public long getPrimaryKey() {
1107                    return _user.getPrimaryKey();
1108            }
1109    
1110            @Override
1111            public java.io.Serializable getPrimaryKeyObj() {
1112                    return _user.getPrimaryKeyObj();
1113            }
1114    
1115            @Override
1116            public int getPrivateLayoutsPageCount()
1117                    throws com.liferay.portal.kernel.exception.PortalException {
1118                    return _user.getPrivateLayoutsPageCount();
1119            }
1120    
1121            @Override
1122            public int getPublicLayoutsPageCount()
1123                    throws com.liferay.portal.kernel.exception.PortalException {
1124                    return _user.getPublicLayoutsPageCount();
1125            }
1126    
1127            /**
1128            * Returns the reminder query answer of this user.
1129            *
1130            * @return the reminder query answer of this user
1131            */
1132            @Override
1133            public java.lang.String getReminderQueryAnswer() {
1134                    return _user.getReminderQueryAnswer();
1135            }
1136    
1137            /**
1138            * Returns the reminder query question of this user.
1139            *
1140            * @return the reminder query question of this user
1141            */
1142            @Override
1143            public java.lang.String getReminderQueryQuestion() {
1144                    return _user.getReminderQueryQuestion();
1145            }
1146    
1147            @Override
1148            public java.util.Set<java.lang.String> getReminderQueryQuestions()
1149                    throws com.liferay.portal.kernel.exception.PortalException {
1150                    return _user.getReminderQueryQuestions();
1151            }
1152    
1153            @Override
1154            public com.liferay.portal.kernel.util.RemotePreference getRemotePreference(
1155                    java.lang.String name) {
1156                    return _user.getRemotePreference(name);
1157            }
1158    
1159            @Override
1160            public java.lang.Iterable<com.liferay.portal.kernel.util.RemotePreference> getRemotePreferences() {
1161                    return _user.getRemotePreferences();
1162            }
1163    
1164            @Override
1165            public long[] getRoleIds() {
1166                    return _user.getRoleIds();
1167            }
1168    
1169            @Override
1170            public java.util.List<com.liferay.portal.model.Role> getRoles() {
1171                    return _user.getRoles();
1172            }
1173    
1174            /**
1175            * Returns the screen name of this user.
1176            *
1177            * @return the screen name of this user
1178            */
1179            @Override
1180            public java.lang.String getScreenName() {
1181                    return _user.getScreenName();
1182            }
1183    
1184            @Override
1185            public java.util.List<com.liferay.portal.model.Group> getSiteGroups()
1186                    throws com.liferay.portal.kernel.exception.PortalException {
1187                    return _user.getSiteGroups();
1188            }
1189    
1190            @Override
1191            public java.util.List<com.liferay.portal.model.Group> getSiteGroups(
1192                    boolean includeAdministrative)
1193                    throws com.liferay.portal.kernel.exception.PortalException {
1194                    return _user.getSiteGroups(includeAdministrative);
1195            }
1196    
1197            /**
1198            * Returns the status of this user.
1199            *
1200            * @return the status of this user
1201            */
1202            @Override
1203            public int getStatus() {
1204                    return _user.getStatus();
1205            }
1206    
1207            @Override
1208            public long[] getTeamIds() {
1209                    return _user.getTeamIds();
1210            }
1211    
1212            @Override
1213            public java.util.List<com.liferay.portal.model.Team> getTeams() {
1214                    return _user.getTeams();
1215            }
1216    
1217            @Override
1218            public java.util.TimeZone getTimeZone() {
1219                    return _user.getTimeZone();
1220            }
1221    
1222            /**
1223            * Returns the time zone ID of this user.
1224            *
1225            * @return the time zone ID of this user
1226            */
1227            @Override
1228            public java.lang.String getTimeZoneId() {
1229                    return _user.getTimeZoneId();
1230            }
1231    
1232            @Override
1233            public Date getUnlockDate()
1234                    throws com.liferay.portal.kernel.exception.PortalException {
1235                    return _user.getUnlockDate();
1236            }
1237    
1238            @Override
1239            public Date getUnlockDate(
1240                    com.liferay.portal.model.PasswordPolicy passwordPolicy) {
1241                    return _user.getUnlockDate(passwordPolicy);
1242            }
1243    
1244            @Override
1245            public long[] getUserGroupIds() {
1246                    return _user.getUserGroupIds();
1247            }
1248    
1249            @Override
1250            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups() {
1251                    return _user.getUserGroups();
1252            }
1253    
1254            /**
1255            * Returns the user ID of this user.
1256            *
1257            * @return the user ID of this user
1258            */
1259            @Override
1260            public long getUserId() {
1261                    return _user.getUserId();
1262            }
1263    
1264            /**
1265            * Returns the user uuid of this user.
1266            *
1267            * @return the user uuid of this user
1268            */
1269            @Override
1270            public java.lang.String getUserUuid() {
1271                    return _user.getUserUuid();
1272            }
1273    
1274            /**
1275            * Returns the uuid of this user.
1276            *
1277            * @return the uuid of this user
1278            */
1279            @Override
1280            public java.lang.String getUuid() {
1281                    return _user.getUuid();
1282            }
1283    
1284            @Override
1285            public java.util.List<com.liferay.portal.model.Website> getWebsites() {
1286                    return _user.getWebsites();
1287            }
1288    
1289            @Override
1290            public boolean hasCompanyMx()
1291                    throws com.liferay.portal.kernel.exception.PortalException {
1292                    return _user.hasCompanyMx();
1293            }
1294    
1295            @Override
1296            public boolean hasCompanyMx(java.lang.String emailAddress)
1297                    throws com.liferay.portal.kernel.exception.PortalException {
1298                    return _user.hasCompanyMx(emailAddress);
1299            }
1300    
1301            @Override
1302            public boolean hasMySites()
1303                    throws com.liferay.portal.kernel.exception.PortalException {
1304                    return _user.hasMySites();
1305            }
1306    
1307            @Override
1308            public boolean hasOrganization() {
1309                    return _user.hasOrganization();
1310            }
1311    
1312            @Override
1313            public boolean hasPrivateLayouts()
1314                    throws com.liferay.portal.kernel.exception.PortalException {
1315                    return _user.hasPrivateLayouts();
1316            }
1317    
1318            @Override
1319            public boolean hasPublicLayouts()
1320                    throws com.liferay.portal.kernel.exception.PortalException {
1321                    return _user.hasPublicLayouts();
1322            }
1323    
1324            @Override
1325            public boolean hasReminderQuery() {
1326                    return _user.hasReminderQuery();
1327            }
1328    
1329            @Override
1330            public int hashCode() {
1331                    return _user.hashCode();
1332            }
1333    
1334            @Override
1335            public boolean isActive() {
1336                    return _user.isActive();
1337            }
1338    
1339            /**
1340            * Returns <code>true</code> if this user is agreed to terms of use.
1341            *
1342            * @return <code>true</code> if this user is agreed to terms of use; <code>false</code> otherwise
1343            */
1344            @Override
1345            public boolean isAgreedToTermsOfUse() {
1346                    return _user.isAgreedToTermsOfUse();
1347            }
1348    
1349            @Override
1350            public boolean isCachedModel() {
1351                    return _user.isCachedModel();
1352            }
1353    
1354            /**
1355            * Returns <code>true</code> if this user is default user.
1356            *
1357            * @return <code>true</code> if this user is default user; <code>false</code> otherwise
1358            */
1359            @Override
1360            public boolean isDefaultUser() {
1361                    return _user.isDefaultUser();
1362            }
1363    
1364            @Override
1365            public boolean isEmailAddressComplete() {
1366                    return _user.isEmailAddressComplete();
1367            }
1368    
1369            @Override
1370            public boolean isEmailAddressVerificationComplete() {
1371                    return _user.isEmailAddressVerificationComplete();
1372            }
1373    
1374            /**
1375            * Returns <code>true</code> if this user is email address verified.
1376            *
1377            * @return <code>true</code> if this user is email address verified; <code>false</code> otherwise
1378            */
1379            @Override
1380            public boolean isEmailAddressVerified() {
1381                    return _user.isEmailAddressVerified();
1382            }
1383    
1384            @Override
1385            public boolean isEscapedModel() {
1386                    return _user.isEscapedModel();
1387            }
1388    
1389            @Override
1390            public boolean isFemale()
1391                    throws com.liferay.portal.kernel.exception.PortalException {
1392                    return _user.isFemale();
1393            }
1394    
1395            /**
1396            * Returns <code>true</code> if this user is lockout.
1397            *
1398            * @return <code>true</code> if this user is lockout; <code>false</code> otherwise
1399            */
1400            @Override
1401            public boolean isLockout() {
1402                    return _user.isLockout();
1403            }
1404    
1405            @Override
1406            public boolean isMale()
1407                    throws com.liferay.portal.kernel.exception.PortalException {
1408                    return _user.isMale();
1409            }
1410    
1411            @Override
1412            public boolean isNew() {
1413                    return _user.isNew();
1414            }
1415    
1416            /**
1417            * Returns <code>true</code> if this user is password encrypted.
1418            *
1419            * @return <code>true</code> if this user is password encrypted; <code>false</code> otherwise
1420            */
1421            @Override
1422            public boolean isPasswordEncrypted() {
1423                    return _user.isPasswordEncrypted();
1424            }
1425    
1426            @Override
1427            public boolean isPasswordModified() {
1428                    return _user.isPasswordModified();
1429            }
1430    
1431            /**
1432            * Returns <code>true</code> if this user is password reset.
1433            *
1434            * @return <code>true</code> if this user is password reset; <code>false</code> otherwise
1435            */
1436            @Override
1437            public boolean isPasswordReset() {
1438                    return _user.isPasswordReset();
1439            }
1440    
1441            @Override
1442            public boolean isReminderQueryComplete() {
1443                    return _user.isReminderQueryComplete();
1444            }
1445    
1446            @Override
1447            public boolean isSetupComplete() {
1448                    return _user.isSetupComplete();
1449            }
1450    
1451            @Override
1452            public boolean isTermsOfUseComplete() {
1453                    return _user.isTermsOfUseComplete();
1454            }
1455    
1456            @Override
1457            public void persist() {
1458                    _user.persist();
1459            }
1460    
1461            /**
1462            * Sets whether this user is agreed to terms of use.
1463            *
1464            * @param agreedToTermsOfUse the agreed to terms of use of this user
1465            */
1466            @Override
1467            public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
1468                    _user.setAgreedToTermsOfUse(agreedToTermsOfUse);
1469            }
1470    
1471            @Override
1472            public void setCachedModel(boolean cachedModel) {
1473                    _user.setCachedModel(cachedModel);
1474            }
1475    
1476            /**
1477            * Sets the comments of this user.
1478            *
1479            * @param comments the comments of this user
1480            */
1481            @Override
1482            public void setComments(java.lang.String comments) {
1483                    _user.setComments(comments);
1484            }
1485    
1486            /**
1487            * Sets the company ID of this user.
1488            *
1489            * @param companyId the company ID of this user
1490            */
1491            @Override
1492            public void setCompanyId(long companyId) {
1493                    _user.setCompanyId(companyId);
1494            }
1495    
1496            /**
1497            * Sets the contact ID of this user.
1498            *
1499            * @param contactId the contact ID of this user
1500            */
1501            @Override
1502            public void setContactId(long contactId) {
1503                    _user.setContactId(contactId);
1504            }
1505    
1506            /**
1507            * Sets the create date of this user.
1508            *
1509            * @param createDate the create date of this user
1510            */
1511            @Override
1512            public void setCreateDate(Date createDate) {
1513                    _user.setCreateDate(createDate);
1514            }
1515    
1516            /**
1517            * Sets whether this user is default user.
1518            *
1519            * @param defaultUser the default user of this user
1520            */
1521            @Override
1522            public void setDefaultUser(boolean defaultUser) {
1523                    _user.setDefaultUser(defaultUser);
1524            }
1525    
1526            /**
1527            * Sets the digest of this user.
1528            *
1529            * @param digest the digest of this user
1530            */
1531            @Override
1532            public void setDigest(java.lang.String digest) {
1533                    _user.setDigest(digest);
1534            }
1535    
1536            /**
1537            * Sets the email address of this user.
1538            *
1539            * @param emailAddress the email address of this user
1540            */
1541            @Override
1542            public void setEmailAddress(java.lang.String emailAddress) {
1543                    _user.setEmailAddress(emailAddress);
1544            }
1545    
1546            /**
1547            * Sets whether this user is email address verified.
1548            *
1549            * @param emailAddressVerified the email address verified of this user
1550            */
1551            @Override
1552            public void setEmailAddressVerified(boolean emailAddressVerified) {
1553                    _user.setEmailAddressVerified(emailAddressVerified);
1554            }
1555    
1556            @Override
1557            public void setExpandoBridgeAttributes(BaseModel<?> baseModel) {
1558                    _user.setExpandoBridgeAttributes(baseModel);
1559            }
1560    
1561            @Override
1562            public void setExpandoBridgeAttributes(
1563                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1564                    _user.setExpandoBridgeAttributes(expandoBridge);
1565            }
1566    
1567            @Override
1568            public void setExpandoBridgeAttributes(
1569                    com.liferay.portal.service.ServiceContext serviceContext) {
1570                    _user.setExpandoBridgeAttributes(serviceContext);
1571            }
1572    
1573            /**
1574            * Sets the facebook ID of this user.
1575            *
1576            * @param facebookId the facebook ID of this user
1577            */
1578            @Override
1579            public void setFacebookId(long facebookId) {
1580                    _user.setFacebookId(facebookId);
1581            }
1582    
1583            /**
1584            * Sets the failed login attempts of this user.
1585            *
1586            * @param failedLoginAttempts the failed login attempts of this user
1587            */
1588            @Override
1589            public void setFailedLoginAttempts(int failedLoginAttempts) {
1590                    _user.setFailedLoginAttempts(failedLoginAttempts);
1591            }
1592    
1593            /**
1594            * Sets the first name of this user.
1595            *
1596            * @param firstName the first name of this user
1597            */
1598            @Override
1599            public void setFirstName(java.lang.String firstName) {
1600                    _user.setFirstName(firstName);
1601            }
1602    
1603            /**
1604            * Sets the grace login count of this user.
1605            *
1606            * @param graceLoginCount the grace login count of this user
1607            */
1608            @Override
1609            public void setGraceLoginCount(int graceLoginCount) {
1610                    _user.setGraceLoginCount(graceLoginCount);
1611            }
1612    
1613            /**
1614            * Sets the greeting of this user.
1615            *
1616            * @param greeting the greeting of this user
1617            */
1618            @Override
1619            public void setGreeting(java.lang.String greeting) {
1620                    _user.setGreeting(greeting);
1621            }
1622    
1623            /**
1624            * Sets the job title of this user.
1625            *
1626            * @param jobTitle the job title of this user
1627            */
1628            @Override
1629            public void setJobTitle(java.lang.String jobTitle) {
1630                    _user.setJobTitle(jobTitle);
1631            }
1632    
1633            /**
1634            * Sets the language ID of this user.
1635            *
1636            * @param languageId the language ID of this user
1637            */
1638            @Override
1639            public void setLanguageId(java.lang.String languageId) {
1640                    _user.setLanguageId(languageId);
1641            }
1642    
1643            /**
1644            * Sets the last failed login date of this user.
1645            *
1646            * @param lastFailedLoginDate the last failed login date of this user
1647            */
1648            @Override
1649            public void setLastFailedLoginDate(Date lastFailedLoginDate) {
1650                    _user.setLastFailedLoginDate(lastFailedLoginDate);
1651            }
1652    
1653            /**
1654            * Sets the last login date of this user.
1655            *
1656            * @param lastLoginDate the last login date of this user
1657            */
1658            @Override
1659            public void setLastLoginDate(Date lastLoginDate) {
1660                    _user.setLastLoginDate(lastLoginDate);
1661            }
1662    
1663            /**
1664            * Sets the last login i p of this user.
1665            *
1666            * @param lastLoginIP the last login i p of this user
1667            */
1668            @Override
1669            public void setLastLoginIP(java.lang.String lastLoginIP) {
1670                    _user.setLastLoginIP(lastLoginIP);
1671            }
1672    
1673            /**
1674            * Sets the last name of this user.
1675            *
1676            * @param lastName the last name of this user
1677            */
1678            @Override
1679            public void setLastName(java.lang.String lastName) {
1680                    _user.setLastName(lastName);
1681            }
1682    
1683            /**
1684            * Sets the ldap server ID of this user.
1685            *
1686            * @param ldapServerId the ldap server ID of this user
1687            */
1688            @Override
1689            public void setLdapServerId(long ldapServerId) {
1690                    _user.setLdapServerId(ldapServerId);
1691            }
1692    
1693            /**
1694            * Sets whether this user is lockout.
1695            *
1696            * @param lockout the lockout of this user
1697            */
1698            @Override
1699            public void setLockout(boolean lockout) {
1700                    _user.setLockout(lockout);
1701            }
1702    
1703            /**
1704            * Sets the lockout date of this user.
1705            *
1706            * @param lockoutDate the lockout date of this user
1707            */
1708            @Override
1709            public void setLockoutDate(Date lockoutDate) {
1710                    _user.setLockoutDate(lockoutDate);
1711            }
1712    
1713            /**
1714            * Sets the login date of this user.
1715            *
1716            * @param loginDate the login date of this user
1717            */
1718            @Override
1719            public void setLoginDate(Date loginDate) {
1720                    _user.setLoginDate(loginDate);
1721            }
1722    
1723            /**
1724            * Sets the login i p of this user.
1725            *
1726            * @param loginIP the login i p of this user
1727            */
1728            @Override
1729            public void setLoginIP(java.lang.String loginIP) {
1730                    _user.setLoginIP(loginIP);
1731            }
1732    
1733            /**
1734            * Sets the middle name of this user.
1735            *
1736            * @param middleName the middle name of this user
1737            */
1738            @Override
1739            public void setMiddleName(java.lang.String middleName) {
1740                    _user.setMiddleName(middleName);
1741            }
1742    
1743            /**
1744            * Sets the modified date of this user.
1745            *
1746            * @param modifiedDate the modified date of this user
1747            */
1748            @Override
1749            public void setModifiedDate(Date modifiedDate) {
1750                    _user.setModifiedDate(modifiedDate);
1751            }
1752    
1753            /**
1754            * Sets the mvcc version of this user.
1755            *
1756            * @param mvccVersion the mvcc version of this user
1757            */
1758            @Override
1759            public void setMvccVersion(long mvccVersion) {
1760                    _user.setMvccVersion(mvccVersion);
1761            }
1762    
1763            @Override
1764            public void setNew(boolean n) {
1765                    _user.setNew(n);
1766            }
1767    
1768            /**
1769            * Sets the open ID of this user.
1770            *
1771            * @param openId the open ID of this user
1772            */
1773            @Override
1774            public void setOpenId(java.lang.String openId) {
1775                    _user.setOpenId(openId);
1776            }
1777    
1778            /**
1779            * Sets the password of this user.
1780            *
1781            * @param password the password of this user
1782            */
1783            @Override
1784            public void setPassword(java.lang.String password) {
1785                    _user.setPassword(password);
1786            }
1787    
1788            /**
1789            * Sets whether this user is password encrypted.
1790            *
1791            * @param passwordEncrypted the password encrypted of this user
1792            */
1793            @Override
1794            public void setPasswordEncrypted(boolean passwordEncrypted) {
1795                    _user.setPasswordEncrypted(passwordEncrypted);
1796            }
1797    
1798            @Override
1799            public void setPasswordModified(boolean passwordModified) {
1800                    _user.setPasswordModified(passwordModified);
1801            }
1802    
1803            /**
1804            * Sets the password modified date of this user.
1805            *
1806            * @param passwordModifiedDate the password modified date of this user
1807            */
1808            @Override
1809            public void setPasswordModifiedDate(Date passwordModifiedDate) {
1810                    _user.setPasswordModifiedDate(passwordModifiedDate);
1811            }
1812    
1813            /**
1814            * Sets whether this user is password reset.
1815            *
1816            * @param passwordReset the password reset of this user
1817            */
1818            @Override
1819            public void setPasswordReset(boolean passwordReset) {
1820                    _user.setPasswordReset(passwordReset);
1821            }
1822    
1823            @Override
1824            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted) {
1825                    _user.setPasswordUnencrypted(passwordUnencrypted);
1826            }
1827    
1828            /**
1829            * Sets the portrait ID of this user.
1830            *
1831            * @param portraitId the portrait ID of this user
1832            */
1833            @Override
1834            public void setPortraitId(long portraitId) {
1835                    _user.setPortraitId(portraitId);
1836            }
1837    
1838            /**
1839            * Sets the primary key of this user.
1840            *
1841            * @param primaryKey the primary key of this user
1842            */
1843            @Override
1844            public void setPrimaryKey(long primaryKey) {
1845                    _user.setPrimaryKey(primaryKey);
1846            }
1847    
1848            @Override
1849            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1850                    _user.setPrimaryKeyObj(primaryKeyObj);
1851            }
1852    
1853            /**
1854            * Sets the reminder query answer of this user.
1855            *
1856            * @param reminderQueryAnswer the reminder query answer of this user
1857            */
1858            @Override
1859            public void setReminderQueryAnswer(java.lang.String reminderQueryAnswer) {
1860                    _user.setReminderQueryAnswer(reminderQueryAnswer);
1861            }
1862    
1863            /**
1864            * Sets the reminder query question of this user.
1865            *
1866            * @param reminderQueryQuestion the reminder query question of this user
1867            */
1868            @Override
1869            public void setReminderQueryQuestion(java.lang.String reminderQueryQuestion) {
1870                    _user.setReminderQueryQuestion(reminderQueryQuestion);
1871            }
1872    
1873            /**
1874            * Sets the screen name of this user.
1875            *
1876            * @param screenName the screen name of this user
1877            */
1878            @Override
1879            public void setScreenName(java.lang.String screenName) {
1880                    _user.setScreenName(screenName);
1881            }
1882    
1883            /**
1884            * Sets the status of this user.
1885            *
1886            * @param status the status of this user
1887            */
1888            @Override
1889            public void setStatus(int status) {
1890                    _user.setStatus(status);
1891            }
1892    
1893            /**
1894            * Sets the time zone ID of this user.
1895            *
1896            * @param timeZoneId the time zone ID of this user
1897            */
1898            @Override
1899            public void setTimeZoneId(java.lang.String timeZoneId) {
1900                    _user.setTimeZoneId(timeZoneId);
1901            }
1902    
1903            /**
1904            * Sets the user ID of this user.
1905            *
1906            * @param userId the user ID of this user
1907            */
1908            @Override
1909            public void setUserId(long userId) {
1910                    _user.setUserId(userId);
1911            }
1912    
1913            /**
1914            * Sets the user uuid of this user.
1915            *
1916            * @param userUuid the user uuid of this user
1917            */
1918            @Override
1919            public void setUserUuid(java.lang.String userUuid) {
1920                    _user.setUserUuid(userUuid);
1921            }
1922    
1923            /**
1924            * Sets the uuid of this user.
1925            *
1926            * @param uuid the uuid of this user
1927            */
1928            @Override
1929            public void setUuid(java.lang.String uuid) {
1930                    _user.setUuid(uuid);
1931            }
1932    
1933            @Override
1934            public CacheModel<com.liferay.portal.model.User> toCacheModel() {
1935                    return _user.toCacheModel();
1936            }
1937    
1938            @Override
1939            public com.liferay.portal.model.User toEscapedModel() {
1940                    return new UserWrapper(_user.toEscapedModel());
1941            }
1942    
1943            @Override
1944            public java.lang.String toString() {
1945                    return _user.toString();
1946            }
1947    
1948            @Override
1949            public com.liferay.portal.model.User toUnescapedModel() {
1950                    return new UserWrapper(_user.toUnescapedModel());
1951            }
1952    
1953            @Override
1954            public java.lang.String toXmlString() {
1955                    return _user.toXmlString();
1956            }
1957    
1958            @Override
1959            public boolean equals(Object obj) {
1960                    if (this == obj) {
1961                            return true;
1962                    }
1963    
1964                    if (!(obj instanceof UserWrapper)) {
1965                            return false;
1966                    }
1967    
1968                    UserWrapper userWrapper = (UserWrapper)obj;
1969    
1970                    if (Validator.equals(_user, userWrapper._user)) {
1971                            return true;
1972                    }
1973    
1974                    return false;
1975            }
1976    
1977            @Override
1978            public StagedModelType getStagedModelType() {
1979                    return _user.getStagedModelType();
1980            }
1981    
1982            @Override
1983            public User getWrappedModel() {
1984                    return _user;
1985            }
1986    
1987            @Override
1988            public boolean isEntityCacheEnabled() {
1989                    return _user.isEntityCacheEnabled();
1990            }
1991    
1992            @Override
1993            public boolean isFinderCacheEnabled() {
1994                    return _user.isFinderCacheEnabled();
1995            }
1996    
1997            @Override
1998            public void resetOriginalValues() {
1999                    _user.resetOriginalValues();
2000            }
2001    
2002            private final User _user;
2003    }