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  import com.liferay.portal.kernel.annotation.AutoEscape;
18  import com.liferay.portal.kernel.exception.SystemException;
19  import com.liferay.portal.service.ServiceContext;
20  
21  import com.liferay.portlet.expando.model.ExpandoBridge;
22  
23  import java.io.Serializable;
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 User_ table in the
37   * database.
38   * </p>
39   *
40   * @author    Brian Wing Shun Chan
41   * @see       User
42   * @see       com.liferay.portal.model.impl.UserImpl
43   * @see       com.liferay.portal.model.impl.UserModelImpl
44   * @generated
45   */
46  public interface UserModel extends BaseModel<User> {
47      public long getPrimaryKey();
48  
49      public void setPrimaryKey(long pk);
50  
51      @AutoEscape
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 String getUserUuid() throws SystemException;
61  
62      public void setUserUuid(String userUuid);
63  
64      public long getCompanyId();
65  
66      public void setCompanyId(long companyId);
67  
68      public Date getCreateDate();
69  
70      public void setCreateDate(Date createDate);
71  
72      public Date getModifiedDate();
73  
74      public void setModifiedDate(Date modifiedDate);
75  
76      public boolean getDefaultUser();
77  
78      public boolean isDefaultUser();
79  
80      public void setDefaultUser(boolean defaultUser);
81  
82      public long getContactId();
83  
84      public void setContactId(long contactId);
85  
86      @AutoEscape
87      public String getPassword();
88  
89      public void setPassword(String password);
90  
91      public boolean getPasswordEncrypted();
92  
93      public boolean isPasswordEncrypted();
94  
95      public void setPasswordEncrypted(boolean passwordEncrypted);
96  
97      public boolean getPasswordReset();
98  
99      public boolean isPasswordReset();
100 
101     public void setPasswordReset(boolean passwordReset);
102 
103     public Date getPasswordModifiedDate();
104 
105     public void setPasswordModifiedDate(Date passwordModifiedDate);
106 
107     @AutoEscape
108     public String getReminderQueryQuestion();
109 
110     public void setReminderQueryQuestion(String reminderQueryQuestion);
111 
112     @AutoEscape
113     public String getReminderQueryAnswer();
114 
115     public void setReminderQueryAnswer(String reminderQueryAnswer);
116 
117     public int getGraceLoginCount();
118 
119     public void setGraceLoginCount(int graceLoginCount);
120 
121     @AutoEscape
122     public String getScreenName();
123 
124     public void setScreenName(String screenName);
125 
126     @AutoEscape
127     public String getEmailAddress();
128 
129     public void setEmailAddress(String emailAddress);
130 
131     @AutoEscape
132     public String getOpenId();
133 
134     public void setOpenId(String openId);
135 
136     public long getPortraitId();
137 
138     public void setPortraitId(long portraitId);
139 
140     @AutoEscape
141     public String getLanguageId();
142 
143     public void setLanguageId(String languageId);
144 
145     @AutoEscape
146     public String getTimeZoneId();
147 
148     public void setTimeZoneId(String timeZoneId);
149 
150     @AutoEscape
151     public String getGreeting();
152 
153     public void setGreeting(String greeting);
154 
155     @AutoEscape
156     public String getComments();
157 
158     public void setComments(String comments);
159 
160     @AutoEscape
161     public String getFirstName();
162 
163     public void setFirstName(String firstName);
164 
165     @AutoEscape
166     public String getMiddleName();
167 
168     public void setMiddleName(String middleName);
169 
170     @AutoEscape
171     public String getLastName();
172 
173     public void setLastName(String lastName);
174 
175     @AutoEscape
176     public String getJobTitle();
177 
178     public void setJobTitle(String jobTitle);
179 
180     public Date getLoginDate();
181 
182     public void setLoginDate(Date loginDate);
183 
184     @AutoEscape
185     public String getLoginIP();
186 
187     public void setLoginIP(String loginIP);
188 
189     public Date getLastLoginDate();
190 
191     public void setLastLoginDate(Date lastLoginDate);
192 
193     @AutoEscape
194     public String getLastLoginIP();
195 
196     public void setLastLoginIP(String lastLoginIP);
197 
198     public Date getLastFailedLoginDate();
199 
200     public void setLastFailedLoginDate(Date lastFailedLoginDate);
201 
202     public int getFailedLoginAttempts();
203 
204     public void setFailedLoginAttempts(int failedLoginAttempts);
205 
206     public boolean getLockout();
207 
208     public boolean isLockout();
209 
210     public void setLockout(boolean lockout);
211 
212     public Date getLockoutDate();
213 
214     public void setLockoutDate(Date lockoutDate);
215 
216     public boolean getAgreedToTermsOfUse();
217 
218     public boolean isAgreedToTermsOfUse();
219 
220     public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse);
221 
222     public boolean getActive();
223 
224     public boolean isActive();
225 
226     public void setActive(boolean active);
227 
228     public double getSocialContributionEquity();
229 
230     public void setSocialContributionEquity(double socialContributionEquity);
231 
232     public double getSocialParticipationEquity();
233 
234     public void setSocialParticipationEquity(double socialParticipationEquity);
235 
236     public double getSocialPersonalEquity();
237 
238     public void setSocialPersonalEquity(double socialPersonalEquity);
239 
240     public User toEscapedModel();
241 
242     public boolean isNew();
243 
244     public boolean setNew(boolean n);
245 
246     public boolean isCachedModel();
247 
248     public void setCachedModel(boolean cachedModel);
249 
250     public boolean isEscapedModel();
251 
252     public void setEscapedModel(boolean escapedModel);
253 
254     public Serializable getPrimaryKeyObj();
255 
256     public ExpandoBridge getExpandoBridge();
257 
258     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
259 
260     public Object clone();
261 
262     public int compareTo(User user);
263 
264     public int hashCode();
265 
266     public String toString();
267 
268     public String toXmlString();
269 }