1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions 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  
26  /**
27   * <a href="User.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 <code>User</code> table
36   * in the database.
37   * </p>
38   *
39   * <p>
40   * Customize <code>com.liferay.portal.model.impl.UserImpl</code>
41   * and rerun the ServiceBuilder to generate the new methods.
42   * </p>
43   *
44   * @author Brian Wing Shun Chan
45   *
46   * @see com.liferay.portal.model.UserModel
47   * @see com.liferay.portal.model.impl.UserImpl
48   * @see com.liferay.portal.model.impl.UserModelImpl
49   *
50   */
51  public interface User extends UserModel {
52      public java.util.Date getBirthday();
53  
54      public java.lang.String getCompanyMx();
55  
56      public com.liferay.portal.model.Contact getContact();
57  
58      public java.lang.String getDisplayURL(
59          com.liferay.portal.theme.ThemeDisplay themeDisplay);
60  
61      public boolean getFemale();
62  
63      public java.lang.String getFirstName();
64  
65      public java.lang.String getFullName();
66  
67      public com.liferay.portal.model.Group getGroup();
68  
69      public long[] getGroupIds();
70  
71      public java.util.List<com.liferay.portal.model.Group> getGroups();
72  
73      public java.lang.String getLastName();
74  
75      public java.util.Locale getLocale();
76  
77      public java.lang.String getLogin()
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException;
80  
81      public boolean getMale();
82  
83      public java.lang.String getMiddleName();
84  
85      public java.util.List<com.liferay.portal.model.Group> getMyPlaces();
86  
87      public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max);
88  
89      public long[] getOrganizationIds();
90  
91      public java.util.List<com.liferay.portal.model.Organization> getOrganizations();
92  
93      public boolean getPasswordModified();
94  
95      public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException;
98  
99      public java.lang.String getPasswordUnencrypted();
100 
101     public int getPrivateLayoutsPageCount();
102 
103     public int getPublicLayoutsPageCount();
104 
105     public java.util.Set<String> getReminderQueryQuestions()
106         throws com.liferay.portal.PortalException,
107             com.liferay.portal.SystemException;
108 
109     public long[] getRoleIds();
110 
111     public java.util.List<com.liferay.portal.model.Role> getRoles();
112 
113     public long[] getUserGroupIds();
114 
115     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups();
116 
117     public java.util.TimeZone getTimeZone();
118 
119     public boolean hasCompanyMx();
120 
121     public boolean hasCompanyMx(java.lang.String emailAddress);
122 
123     public boolean hasMyPlaces();
124 
125     public boolean hasOrganization();
126 
127     public boolean hasPrivateLayouts();
128 
129     public boolean hasPublicLayouts();
130 
131     public boolean isFemale();
132 
133     public boolean isMale();
134 
135     public boolean isPasswordModified();
136 
137     public void setLanguageId(java.lang.String languageId);
138 
139     public void setPasswordModified(boolean passwordModified);
140 
141     public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
142 
143     public void setTimeZoneId(java.lang.String timeZoneId);
144 }