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  import java.util.Date;
26  
27  /**
28   * <a href="UserModel.java.html"><b><i>View Source</i></b></a>
29   *
30   * <p>
31   * ServiceBuilder generated this class. Modifications in this class will be
32   * overwritten the next time is generated.
33   * </p>
34   *
35   * <p>
36   * This interface is a model that represents the <code>User</code>
37   * table in the database.
38   * </p>
39   *
40   * @author Brian Wing Shun Chan
41   *
42   * @see com.liferay.portal.model.User
43   * @see com.liferay.portal.model.impl.UserImpl
44   * @see com.liferay.portal.model.impl.UserModelImpl
45   *
46   */
47  public interface UserModel extends BaseModel {
48      public long getPrimaryKey();
49  
50      public void setPrimaryKey(long pk);
51  
52      public String getUuid();
53  
54      public void setUuid(String uuid);
55  
56      public long getUserId();
57  
58      public void setUserId(long userId);
59  
60      public long getCompanyId();
61  
62      public void setCompanyId(long companyId);
63  
64      public Date getCreateDate();
65  
66      public void setCreateDate(Date createDate);
67  
68      public Date getModifiedDate();
69  
70      public void setModifiedDate(Date modifiedDate);
71  
72      public boolean getDefaultUser();
73  
74      public boolean isDefaultUser();
75  
76      public void setDefaultUser(boolean defaultUser);
77  
78      public long getContactId();
79  
80      public void setContactId(long contactId);
81  
82      public String getPassword();
83  
84      public void setPassword(String password);
85  
86      public boolean getPasswordEncrypted();
87  
88      public boolean isPasswordEncrypted();
89  
90      public void setPasswordEncrypted(boolean passwordEncrypted);
91  
92      public boolean getPasswordReset();
93  
94      public boolean isPasswordReset();
95  
96      public void setPasswordReset(boolean passwordReset);
97  
98      public Date getPasswordModifiedDate();
99  
100     public void setPasswordModifiedDate(Date passwordModifiedDate);
101 
102     public String getReminderQueryQuestion();
103 
104     public void setReminderQueryQuestion(String reminderQueryQuestion);
105 
106     public String getReminderQueryAnswer();
107 
108     public void setReminderQueryAnswer(String reminderQueryAnswer);
109 
110     public int getGraceLoginCount();
111 
112     public void setGraceLoginCount(int graceLoginCount);
113 
114     public String getScreenName();
115 
116     public void setScreenName(String screenName);
117 
118     public String getEmailAddress();
119 
120     public void setEmailAddress(String emailAddress);
121 
122     public String getOpenId();
123 
124     public void setOpenId(String openId);
125 
126     public long getPortraitId();
127 
128     public void setPortraitId(long portraitId);
129 
130     public String getLanguageId();
131 
132     public void setLanguageId(String languageId);
133 
134     public String getTimeZoneId();
135 
136     public void setTimeZoneId(String timeZoneId);
137 
138     public String getGreeting();
139 
140     public void setGreeting(String greeting);
141 
142     public String getComments();
143 
144     public void setComments(String comments);
145 
146     public Date getLoginDate();
147 
148     public void setLoginDate(Date loginDate);
149 
150     public String getLoginIP();
151 
152     public void setLoginIP(String loginIP);
153 
154     public Date getLastLoginDate();
155 
156     public void setLastLoginDate(Date lastLoginDate);
157 
158     public String getLastLoginIP();
159 
160     public void setLastLoginIP(String lastLoginIP);
161 
162     public Date getLastFailedLoginDate();
163 
164     public void setLastFailedLoginDate(Date lastFailedLoginDate);
165 
166     public int getFailedLoginAttempts();
167 
168     public void setFailedLoginAttempts(int failedLoginAttempts);
169 
170     public boolean getLockout();
171 
172     public boolean isLockout();
173 
174     public void setLockout(boolean lockout);
175 
176     public Date getLockoutDate();
177 
178     public void setLockoutDate(Date lockoutDate);
179 
180     public boolean getAgreedToTermsOfUse();
181 
182     public boolean isAgreedToTermsOfUse();
183 
184     public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse);
185 
186     public boolean getActive();
187 
188     public boolean isActive();
189 
190     public void setActive(boolean active);
191 
192     public User toEscapedModel();
193 }