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