1   /**
2    * Copyright (c) 2000-2010 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   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.annotation.AutoEscape;
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 boolean isNew();
229 
230     public boolean setNew(boolean n);
231 
232     public boolean isCachedModel();
233 
234     public void setCachedModel(boolean cachedModel);
235 
236     public boolean isEscapedModel();
237 
238     public void setEscapedModel(boolean escapedModel);
239 
240     public Serializable getPrimaryKeyObj();
241 
242     public ExpandoBridge getExpandoBridge();
243 
244     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
245 
246     public Object clone();
247 
248     public int compareTo(User user);
249 
250     public int hashCode();
251 
252     public User toEscapedModel();
253 
254     public String toString();
255 
256     public String toXmlString();
257 }