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