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