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