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  
18  /**
19   * <a href="User.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the User_ table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portal.model.impl.UserImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       UserModel
38   * @see       com.liferay.portal.model.impl.UserImpl
39   * @see       com.liferay.portal.model.impl.UserModelImpl
40   * @generated
41   */
42  public interface User extends UserModel {
43      public java.util.Date getBirthday()
44          throws com.liferay.portal.kernel.exception.PortalException,
45              com.liferay.portal.kernel.exception.SystemException;
46  
47      public java.lang.String getCompanyMx()
48          throws com.liferay.portal.kernel.exception.PortalException,
49              com.liferay.portal.kernel.exception.SystemException;
50  
51      public com.liferay.portal.model.Contact getContact()
52          throws com.liferay.portal.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException;
54  
55      public java.lang.String getDisplayEmailAddress();
56  
57      public java.lang.String getDisplayURL(
58          com.liferay.portal.theme.ThemeDisplay themeDisplay)
59          throws com.liferay.portal.kernel.exception.PortalException,
60              com.liferay.portal.kernel.exception.SystemException;
61  
62      public java.lang.String getDisplayURL(java.lang.String portalURL,
63          java.lang.String mainPath)
64          throws com.liferay.portal.kernel.exception.PortalException,
65              com.liferay.portal.kernel.exception.SystemException;
66  
67      public boolean getFemale()
68          throws com.liferay.portal.kernel.exception.PortalException,
69              com.liferay.portal.kernel.exception.SystemException;
70  
71      public java.lang.String getFullName();
72  
73      public com.liferay.portal.model.Group getGroup()
74          throws com.liferay.portal.kernel.exception.PortalException,
75              com.liferay.portal.kernel.exception.SystemException;
76  
77      public long[] getGroupIds()
78          throws com.liferay.portal.kernel.exception.PortalException,
79              com.liferay.portal.kernel.exception.SystemException;
80  
81      public java.util.List<com.liferay.portal.model.Group> getGroups()
82          throws com.liferay.portal.kernel.exception.PortalException,
83              com.liferay.portal.kernel.exception.SystemException;
84  
85      public java.util.Locale getLocale();
86  
87      public java.lang.String getLogin()
88          throws com.liferay.portal.kernel.exception.PortalException,
89              com.liferay.portal.kernel.exception.SystemException;
90  
91      public boolean getMale()
92          throws com.liferay.portal.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.SystemException;
94  
95      public java.util.List<com.liferay.portal.model.Group> getMyPlaces()
96          throws com.liferay.portal.kernel.exception.PortalException,
97              com.liferay.portal.kernel.exception.SystemException;
98  
99      public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max)
100         throws com.liferay.portal.kernel.exception.PortalException,
101             com.liferay.portal.kernel.exception.SystemException;
102 
103     public long[] getOrganizationIds()
104         throws com.liferay.portal.kernel.exception.PortalException,
105             com.liferay.portal.kernel.exception.SystemException;
106 
107     public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
108         throws com.liferay.portal.kernel.exception.PortalException,
109             com.liferay.portal.kernel.exception.SystemException;
110 
111     public boolean getPasswordModified();
112 
113     public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
114         throws com.liferay.portal.kernel.exception.PortalException,
115             com.liferay.portal.kernel.exception.SystemException;
116 
117     public java.lang.String getPasswordUnencrypted();
118 
119     public int getPrivateLayoutsPageCount()
120         throws com.liferay.portal.kernel.exception.PortalException,
121             com.liferay.portal.kernel.exception.SystemException;
122 
123     public int getPublicLayoutsPageCount()
124         throws com.liferay.portal.kernel.exception.PortalException,
125             com.liferay.portal.kernel.exception.SystemException;
126 
127     public java.util.Set<java.lang.String> getReminderQueryQuestions()
128         throws com.liferay.portal.kernel.exception.PortalException,
129             com.liferay.portal.kernel.exception.SystemException;
130 
131     public long[] getRoleIds()
132         throws com.liferay.portal.kernel.exception.SystemException;
133 
134     public java.util.List<com.liferay.portal.model.Role> getRoles()
135         throws com.liferay.portal.kernel.exception.SystemException;
136 
137     public long[] getTeamIds()
138         throws com.liferay.portal.kernel.exception.SystemException;
139 
140     public java.util.List<com.liferay.portal.model.Team> getTeams()
141         throws com.liferay.portal.kernel.exception.SystemException;
142 
143     public long[] getUserGroupIds()
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
147         throws com.liferay.portal.kernel.exception.SystemException;
148 
149     public java.util.TimeZone getTimeZone();
150 
151     public boolean hasCompanyMx()
152         throws com.liferay.portal.kernel.exception.PortalException,
153             com.liferay.portal.kernel.exception.SystemException;
154 
155     public boolean hasCompanyMx(java.lang.String emailAddress)
156         throws com.liferay.portal.kernel.exception.PortalException,
157             com.liferay.portal.kernel.exception.SystemException;
158 
159     public boolean hasMyPlaces()
160         throws com.liferay.portal.kernel.exception.SystemException;
161 
162     public boolean hasOrganization()
163         throws com.liferay.portal.kernel.exception.PortalException,
164             com.liferay.portal.kernel.exception.SystemException;
165 
166     public boolean hasPrivateLayouts()
167         throws com.liferay.portal.kernel.exception.PortalException,
168             com.liferay.portal.kernel.exception.SystemException;
169 
170     public boolean hasPublicLayouts()
171         throws com.liferay.portal.kernel.exception.PortalException,
172             com.liferay.portal.kernel.exception.SystemException;
173 
174     public boolean hasReminderQuery();
175 
176     public boolean isFemale()
177         throws com.liferay.portal.kernel.exception.PortalException,
178             com.liferay.portal.kernel.exception.SystemException;
179 
180     public boolean isMale()
181         throws com.liferay.portal.kernel.exception.PortalException,
182             com.liferay.portal.kernel.exception.SystemException;
183 
184     public boolean isPasswordModified();
185 
186     public void setLanguageId(java.lang.String languageId);
187 
188     public void setPasswordModified(boolean passwordModified);
189 
190     public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
191 
192     public void setTimeZoneId(java.lang.String timeZoneId);
193 }