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