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