1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights 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 com.liferay.portal.SystemException;
26  
27  import java.util.Date;
28  
29  /**
30   * <a href="UserModel.java.html"><b><i>View Source</i></b></a>
31   *
32   * <p>
33   * ServiceBuilder generated this class. Modifications in this class will be
34   * overwritten the next time is generated.
35   * </p>
36   *
37   * <p>
38   * This interface is a model that represents the <code>User</code>
39   * table in the database.
40   * </p>
41   *
42   * @author Brian Wing Shun Chan
43   *
44   * @see com.liferay.portal.model.User
45   * @see com.liferay.portal.model.impl.UserImpl
46   * @see com.liferay.portal.model.impl.UserModelImpl
47   *
48   */
49  public interface UserModel extends BaseModel<User> {
50      public long getPrimaryKey();
51  
52      public void setPrimaryKey(long pk);
53  
54      public String getUuid();
55  
56      public void setUuid(String uuid);
57  
58      public long getUserId();
59  
60      public void setUserId(long userId);
61  
62      public String getUserUuid() throws SystemException;
63  
64      public void setUserUuid(String userUuid);
65  
66      public long getCompanyId();
67  
68      public void setCompanyId(long companyId);
69  
70      public Date getCreateDate();
71  
72      public void setCreateDate(Date createDate);
73  
74      public Date getModifiedDate();
75  
76      public void setModifiedDate(Date modifiedDate);
77  
78      public boolean getDefaultUser();
79  
80      public boolean isDefaultUser();
81  
82      public void setDefaultUser(boolean defaultUser);
83  
84      public long getContactId();
85  
86      public void setContactId(long contactId);
87  
88      public String getPassword();
89  
90      public void setPassword(String password);
91  
92      public boolean getPasswordEncrypted();
93  
94      public boolean isPasswordEncrypted();
95  
96      public void setPasswordEncrypted(boolean passwordEncrypted);
97  
98      public boolean getPasswordReset();
99  
100     public boolean isPasswordReset();
101 
102     public void setPasswordReset(boolean passwordReset);
103 
104     public Date getPasswordModifiedDate();
105 
106     public void setPasswordModifiedDate(Date passwordModifiedDate);
107 
108     public String getReminderQueryQuestion();
109 
110     public void setReminderQueryQuestion(String reminderQueryQuestion);
111 
112     public String getReminderQueryAnswer();
113 
114     public void setReminderQueryAnswer(String reminderQueryAnswer);
115 
116     public int getGraceLoginCount();
117 
118     public void setGraceLoginCount(int graceLoginCount);
119 
120     public String getScreenName();
121 
122     public void setScreenName(String screenName);
123 
124     public String getEmailAddress();
125 
126     public void setEmailAddress(String emailAddress);
127 
128     public String getOpenId();
129 
130     public void setOpenId(String openId);
131 
132     public long getPortraitId();
133 
134     public void setPortraitId(long portraitId);
135 
136     public String getLanguageId();
137 
138     public void setLanguageId(String languageId);
139 
140     public String getTimeZoneId();
141 
142     public void setTimeZoneId(String timeZoneId);
143 
144     public String getGreeting();
145 
146     public void setGreeting(String greeting);
147 
148     public String getComments();
149 
150     public void setComments(String comments);
151 
152     public String getFirstName();
153 
154     public void setFirstName(String firstName);
155 
156     public String getMiddleName();
157 
158     public void setMiddleName(String middleName);
159 
160     public String getLastName();
161 
162     public void setLastName(String lastName);
163 
164     public String getJobTitle();
165 
166     public void setJobTitle(String jobTitle);
167 
168     public Date getLoginDate();
169 
170     public void setLoginDate(Date loginDate);
171 
172     public String getLoginIP();
173 
174     public void setLoginIP(String loginIP);
175 
176     public Date getLastLoginDate();
177 
178     public void setLastLoginDate(Date lastLoginDate);
179 
180     public String getLastLoginIP();
181 
182     public void setLastLoginIP(String lastLoginIP);
183 
184     public Date getLastFailedLoginDate();
185 
186     public void setLastFailedLoginDate(Date lastFailedLoginDate);
187 
188     public int getFailedLoginAttempts();
189 
190     public void setFailedLoginAttempts(int failedLoginAttempts);
191 
192     public boolean getLockout();
193 
194     public boolean isLockout();
195 
196     public void setLockout(boolean lockout);
197 
198     public Date getLockoutDate();
199 
200     public void setLockoutDate(Date lockoutDate);
201 
202     public boolean getAgreedToTermsOfUse();
203 
204     public boolean isAgreedToTermsOfUse();
205 
206     public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse);
207 
208     public boolean getActive();
209 
210     public boolean isActive();
211 
212     public void setActive(boolean active);
213 
214     public User toEscapedModel();
215 }