1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="UserSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link User}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       User
40   * @generated
41   */
42  public class UserWrapper implements User {
43      public UserWrapper(User user) {
44          _user = user;
45      }
46  
47      public long getPrimaryKey() {
48          return _user.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _user.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getUuid() {
56          return _user.getUuid();
57      }
58  
59      public void setUuid(java.lang.String uuid) {
60          _user.setUuid(uuid);
61      }
62  
63      public long getUserId() {
64          return _user.getUserId();
65      }
66  
67      public void setUserId(long userId) {
68          _user.setUserId(userId);
69      }
70  
71      public java.lang.String getUserUuid()
72          throws com.liferay.portal.SystemException {
73          return _user.getUserUuid();
74      }
75  
76      public void setUserUuid(java.lang.String userUuid) {
77          _user.setUserUuid(userUuid);
78      }
79  
80      public long getCompanyId() {
81          return _user.getCompanyId();
82      }
83  
84      public void setCompanyId(long companyId) {
85          _user.setCompanyId(companyId);
86      }
87  
88      public java.util.Date getCreateDate() {
89          return _user.getCreateDate();
90      }
91  
92      public void setCreateDate(java.util.Date createDate) {
93          _user.setCreateDate(createDate);
94      }
95  
96      public java.util.Date getModifiedDate() {
97          return _user.getModifiedDate();
98      }
99  
100     public void setModifiedDate(java.util.Date modifiedDate) {
101         _user.setModifiedDate(modifiedDate);
102     }
103 
104     public boolean getDefaultUser() {
105         return _user.getDefaultUser();
106     }
107 
108     public boolean isDefaultUser() {
109         return _user.isDefaultUser();
110     }
111 
112     public void setDefaultUser(boolean defaultUser) {
113         _user.setDefaultUser(defaultUser);
114     }
115 
116     public long getContactId() {
117         return _user.getContactId();
118     }
119 
120     public void setContactId(long contactId) {
121         _user.setContactId(contactId);
122     }
123 
124     public java.lang.String getPassword() {
125         return _user.getPassword();
126     }
127 
128     public void setPassword(java.lang.String password) {
129         _user.setPassword(password);
130     }
131 
132     public boolean getPasswordEncrypted() {
133         return _user.getPasswordEncrypted();
134     }
135 
136     public boolean isPasswordEncrypted() {
137         return _user.isPasswordEncrypted();
138     }
139 
140     public void setPasswordEncrypted(boolean passwordEncrypted) {
141         _user.setPasswordEncrypted(passwordEncrypted);
142     }
143 
144     public boolean getPasswordReset() {
145         return _user.getPasswordReset();
146     }
147 
148     public boolean isPasswordReset() {
149         return _user.isPasswordReset();
150     }
151 
152     public void setPasswordReset(boolean passwordReset) {
153         _user.setPasswordReset(passwordReset);
154     }
155 
156     public java.util.Date getPasswordModifiedDate() {
157         return _user.getPasswordModifiedDate();
158     }
159 
160     public void setPasswordModifiedDate(java.util.Date passwordModifiedDate) {
161         _user.setPasswordModifiedDate(passwordModifiedDate);
162     }
163 
164     public java.lang.String getReminderQueryQuestion() {
165         return _user.getReminderQueryQuestion();
166     }
167 
168     public void setReminderQueryQuestion(java.lang.String reminderQueryQuestion) {
169         _user.setReminderQueryQuestion(reminderQueryQuestion);
170     }
171 
172     public java.lang.String getReminderQueryAnswer() {
173         return _user.getReminderQueryAnswer();
174     }
175 
176     public void setReminderQueryAnswer(java.lang.String reminderQueryAnswer) {
177         _user.setReminderQueryAnswer(reminderQueryAnswer);
178     }
179 
180     public int getGraceLoginCount() {
181         return _user.getGraceLoginCount();
182     }
183 
184     public void setGraceLoginCount(int graceLoginCount) {
185         _user.setGraceLoginCount(graceLoginCount);
186     }
187 
188     public java.lang.String getScreenName() {
189         return _user.getScreenName();
190     }
191 
192     public void setScreenName(java.lang.String screenName) {
193         _user.setScreenName(screenName);
194     }
195 
196     public java.lang.String getEmailAddress() {
197         return _user.getEmailAddress();
198     }
199 
200     public void setEmailAddress(java.lang.String emailAddress) {
201         _user.setEmailAddress(emailAddress);
202     }
203 
204     public java.lang.String getOpenId() {
205         return _user.getOpenId();
206     }
207 
208     public void setOpenId(java.lang.String openId) {
209         _user.setOpenId(openId);
210     }
211 
212     public long getPortraitId() {
213         return _user.getPortraitId();
214     }
215 
216     public void setPortraitId(long portraitId) {
217         _user.setPortraitId(portraitId);
218     }
219 
220     public java.lang.String getLanguageId() {
221         return _user.getLanguageId();
222     }
223 
224     public void setLanguageId(java.lang.String languageId) {
225         _user.setLanguageId(languageId);
226     }
227 
228     public java.lang.String getTimeZoneId() {
229         return _user.getTimeZoneId();
230     }
231 
232     public void setTimeZoneId(java.lang.String timeZoneId) {
233         _user.setTimeZoneId(timeZoneId);
234     }
235 
236     public java.lang.String getGreeting() {
237         return _user.getGreeting();
238     }
239 
240     public void setGreeting(java.lang.String greeting) {
241         _user.setGreeting(greeting);
242     }
243 
244     public java.lang.String getComments() {
245         return _user.getComments();
246     }
247 
248     public void setComments(java.lang.String comments) {
249         _user.setComments(comments);
250     }
251 
252     public java.lang.String getFirstName() {
253         return _user.getFirstName();
254     }
255 
256     public void setFirstName(java.lang.String firstName) {
257         _user.setFirstName(firstName);
258     }
259 
260     public java.lang.String getMiddleName() {
261         return _user.getMiddleName();
262     }
263 
264     public void setMiddleName(java.lang.String middleName) {
265         _user.setMiddleName(middleName);
266     }
267 
268     public java.lang.String getLastName() {
269         return _user.getLastName();
270     }
271 
272     public void setLastName(java.lang.String lastName) {
273         _user.setLastName(lastName);
274     }
275 
276     public java.lang.String getJobTitle() {
277         return _user.getJobTitle();
278     }
279 
280     public void setJobTitle(java.lang.String jobTitle) {
281         _user.setJobTitle(jobTitle);
282     }
283 
284     public java.util.Date getLoginDate() {
285         return _user.getLoginDate();
286     }
287 
288     public void setLoginDate(java.util.Date loginDate) {
289         _user.setLoginDate(loginDate);
290     }
291 
292     public java.lang.String getLoginIP() {
293         return _user.getLoginIP();
294     }
295 
296     public void setLoginIP(java.lang.String loginIP) {
297         _user.setLoginIP(loginIP);
298     }
299 
300     public java.util.Date getLastLoginDate() {
301         return _user.getLastLoginDate();
302     }
303 
304     public void setLastLoginDate(java.util.Date lastLoginDate) {
305         _user.setLastLoginDate(lastLoginDate);
306     }
307 
308     public java.lang.String getLastLoginIP() {
309         return _user.getLastLoginIP();
310     }
311 
312     public void setLastLoginIP(java.lang.String lastLoginIP) {
313         _user.setLastLoginIP(lastLoginIP);
314     }
315 
316     public java.util.Date getLastFailedLoginDate() {
317         return _user.getLastFailedLoginDate();
318     }
319 
320     public void setLastFailedLoginDate(java.util.Date lastFailedLoginDate) {
321         _user.setLastFailedLoginDate(lastFailedLoginDate);
322     }
323 
324     public int getFailedLoginAttempts() {
325         return _user.getFailedLoginAttempts();
326     }
327 
328     public void setFailedLoginAttempts(int failedLoginAttempts) {
329         _user.setFailedLoginAttempts(failedLoginAttempts);
330     }
331 
332     public boolean getLockout() {
333         return _user.getLockout();
334     }
335 
336     public boolean isLockout() {
337         return _user.isLockout();
338     }
339 
340     public void setLockout(boolean lockout) {
341         _user.setLockout(lockout);
342     }
343 
344     public java.util.Date getLockoutDate() {
345         return _user.getLockoutDate();
346     }
347 
348     public void setLockoutDate(java.util.Date lockoutDate) {
349         _user.setLockoutDate(lockoutDate);
350     }
351 
352     public boolean getAgreedToTermsOfUse() {
353         return _user.getAgreedToTermsOfUse();
354     }
355 
356     public boolean isAgreedToTermsOfUse() {
357         return _user.isAgreedToTermsOfUse();
358     }
359 
360     public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
361         _user.setAgreedToTermsOfUse(agreedToTermsOfUse);
362     }
363 
364     public boolean getActive() {
365         return _user.getActive();
366     }
367 
368     public boolean isActive() {
369         return _user.isActive();
370     }
371 
372     public void setActive(boolean active) {
373         _user.setActive(active);
374     }
375 
376     public com.liferay.portal.model.User toEscapedModel() {
377         return _user.toEscapedModel();
378     }
379 
380     public boolean isNew() {
381         return _user.isNew();
382     }
383 
384     public boolean setNew(boolean n) {
385         return _user.setNew(n);
386     }
387 
388     public boolean isCachedModel() {
389         return _user.isCachedModel();
390     }
391 
392     public void setCachedModel(boolean cachedModel) {
393         _user.setCachedModel(cachedModel);
394     }
395 
396     public boolean isEscapedModel() {
397         return _user.isEscapedModel();
398     }
399 
400     public void setEscapedModel(boolean escapedModel) {
401         _user.setEscapedModel(escapedModel);
402     }
403 
404     public java.io.Serializable getPrimaryKeyObj() {
405         return _user.getPrimaryKeyObj();
406     }
407 
408     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
409         return _user.getExpandoBridge();
410     }
411 
412     public void setExpandoBridgeAttributes(
413         com.liferay.portal.service.ServiceContext serviceContext) {
414         _user.setExpandoBridgeAttributes(serviceContext);
415     }
416 
417     public java.lang.Object clone() {
418         return _user.clone();
419     }
420 
421     public int compareTo(com.liferay.portal.model.User user) {
422         return _user.compareTo(user);
423     }
424 
425     public int hashCode() {
426         return _user.hashCode();
427     }
428 
429     public java.lang.String toString() {
430         return _user.toString();
431     }
432 
433     public java.lang.String toXmlString() {
434         return _user.toXmlString();
435     }
436 
437     public java.util.Date getBirthday() {
438         return _user.getBirthday();
439     }
440 
441     public java.lang.String getCompanyMx() {
442         return _user.getCompanyMx();
443     }
444 
445     public com.liferay.portal.model.Contact getContact() {
446         return _user.getContact();
447     }
448 
449     public java.lang.String getDisplayEmailAddress() {
450         return _user.getDisplayEmailAddress();
451     }
452 
453     public java.lang.String getDisplayURL(
454         com.liferay.portal.theme.ThemeDisplay themeDisplay) {
455         return _user.getDisplayURL(themeDisplay);
456     }
457 
458     public java.lang.String getDisplayURL(java.lang.String portalURL,
459         java.lang.String mainPath) {
460         return _user.getDisplayURL(portalURL, mainPath);
461     }
462 
463     public boolean getFemale() {
464         return _user.getFemale();
465     }
466 
467     public java.lang.String getFullName() {
468         return _user.getFullName();
469     }
470 
471     public com.liferay.portal.model.Group getGroup() {
472         return _user.getGroup();
473     }
474 
475     public long[] getGroupIds() {
476         return _user.getGroupIds();
477     }
478 
479     public java.util.List<com.liferay.portal.model.Group> getGroups() {
480         return _user.getGroups();
481     }
482 
483     public java.util.Locale getLocale() {
484         return _user.getLocale();
485     }
486 
487     public java.lang.String getLogin()
488         throws com.liferay.portal.PortalException,
489             com.liferay.portal.SystemException {
490         return _user.getLogin();
491     }
492 
493     public boolean getMale() {
494         return _user.getMale();
495     }
496 
497     public java.util.List<com.liferay.portal.model.Group> getMyPlaces() {
498         return _user.getMyPlaces();
499     }
500 
501     public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max) {
502         return _user.getMyPlaces(max);
503     }
504 
505     public long[] getOrganizationIds() {
506         return _user.getOrganizationIds();
507     }
508 
509     public java.util.List<com.liferay.portal.model.Organization> getOrganizations() {
510         return _user.getOrganizations();
511     }
512 
513     public boolean getPasswordModified() {
514         return _user.getPasswordModified();
515     }
516 
517     public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
518         throws com.liferay.portal.PortalException,
519             com.liferay.portal.SystemException {
520         return _user.getPasswordPolicy();
521     }
522 
523     public java.lang.String getPasswordUnencrypted() {
524         return _user.getPasswordUnencrypted();
525     }
526 
527     public int getPrivateLayoutsPageCount() {
528         return _user.getPrivateLayoutsPageCount();
529     }
530 
531     public int getPublicLayoutsPageCount() {
532         return _user.getPublicLayoutsPageCount();
533     }
534 
535     public java.util.Set<String> getReminderQueryQuestions()
536         throws com.liferay.portal.PortalException,
537             com.liferay.portal.SystemException {
538         return _user.getReminderQueryQuestions();
539     }
540 
541     public long[] getRoleIds() {
542         return _user.getRoleIds();
543     }
544 
545     public java.util.List<com.liferay.portal.model.Role> getRoles() {
546         return _user.getRoles();
547     }
548 
549     public long[] getUserGroupIds() {
550         return _user.getUserGroupIds();
551     }
552 
553     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups() {
554         return _user.getUserGroups();
555     }
556 
557     public java.util.TimeZone getTimeZone() {
558         return _user.getTimeZone();
559     }
560 
561     public boolean hasCompanyMx() {
562         return _user.hasCompanyMx();
563     }
564 
565     public boolean hasCompanyMx(java.lang.String emailAddress) {
566         return _user.hasCompanyMx(emailAddress);
567     }
568 
569     public boolean hasMyPlaces() {
570         return _user.hasMyPlaces();
571     }
572 
573     public boolean hasOrganization() {
574         return _user.hasOrganization();
575     }
576 
577     public boolean hasPrivateLayouts() {
578         return _user.hasPrivateLayouts();
579     }
580 
581     public boolean hasPublicLayouts() {
582         return _user.hasPublicLayouts();
583     }
584 
585     public boolean isFemale() {
586         return _user.isFemale();
587     }
588 
589     public boolean isMale() {
590         return _user.isMale();
591     }
592 
593     public boolean isPasswordModified() {
594         return _user.isPasswordModified();
595     }
596 
597     public void setPasswordModified(boolean passwordModified) {
598         _user.setPasswordModified(passwordModified);
599     }
600 
601     public void setPasswordUnencrypted(java.lang.String passwordUnencrypted) {
602         _user.setPasswordUnencrypted(passwordUnencrypted);
603     }
604 
605     public User getWrappedUser() {
606         return _user;
607     }
608 
609     private User _user;
610 }