1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  import com.liferay.portal.SystemException;
26  
27  import java.util.Date;
28  
29  /**
30   * <a href="UserModel.java.html"><b><i>View Source</i></b></a>
31   *
32   * <p>
33   * ServiceBuilder generated this class. Modifications in this class will be
34   * overwritten the next time is generated.
35   * </p>
36   *
37   * <p>
38   * This interface is a model that represents the User_ table in the
39   * database.
40   * </p>
41   *
42   * @author    Brian Wing Shun Chan
43   * @see       User
44   * @see       com.liferay.portal.model.impl.UserImpl
45   * @see       com.liferay.portal.model.impl.UserModelImpl
46   * @generated
47   */
48  public interface UserModel extends BaseModel<User> {
49      public long getPrimaryKey();
50  
51      public void setPrimaryKey(long pk);
52  
53      public String getUuid();
54  
55      public void setUuid(String uuid);
56  
57      public long getUserId();
58  
59      public void setUserId(long userId);
60  
61      public String getUserUuid() throws SystemException;
62  
63      public void setUserUuid(String userUuid);
64  
65      public long getCompanyId();
66  
67      public void setCompanyId(long companyId);
68  
69      public Date getCreateDate();
70  
71      public void setCreateDate(Date createDate);
72  
73      public Date getModifiedDate();
74  
75      public void setModifiedDate(Date modifiedDate);
76  
77      public boolean getDefaultUser();
78  
79      public boolean isDefaultUser();
80  
81      public void setDefaultUser(boolean defaultUser);
82  
83      public long getContactId();
84  
85      public void setContactId(long contactId);
86  
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     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 }