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