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  
45      public java.lang.String getCompanyMx();
46  
47      public com.liferay.portal.model.Contact getContact();
48  
49      public java.lang.String getDisplayEmailAddress();
50  
51      public java.lang.String getDisplayURL(
52          com.liferay.portal.theme.ThemeDisplay themeDisplay);
53  
54      public java.lang.String getDisplayURL(java.lang.String portalURL,
55          java.lang.String mainPath);
56  
57      public boolean getFemale();
58  
59      public java.lang.String getFullName();
60  
61      public com.liferay.portal.model.Group getGroup();
62  
63      public long[] getGroupIds();
64  
65      public java.util.List<com.liferay.portal.model.Group> getGroups();
66  
67      public java.util.Locale getLocale();
68  
69      public java.lang.String getLogin()
70          throws com.liferay.portal.kernel.exception.PortalException,
71              com.liferay.portal.kernel.exception.SystemException;
72  
73      public boolean getMale();
74  
75      public java.util.List<com.liferay.portal.model.Group> getMyPlaces();
76  
77      public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max);
78  
79      public long[] getOrganizationIds();
80  
81      public java.util.List<com.liferay.portal.model.Organization> getOrganizations();
82  
83      public boolean getPasswordModified();
84  
85      public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
86          throws com.liferay.portal.kernel.exception.PortalException,
87              com.liferay.portal.kernel.exception.SystemException;
88  
89      public java.lang.String getPasswordUnencrypted();
90  
91      public int getPrivateLayoutsPageCount();
92  
93      public int getPublicLayoutsPageCount();
94  
95      public java.util.Set<String> getReminderQueryQuestions()
96          throws com.liferay.portal.kernel.exception.PortalException,
97              com.liferay.portal.kernel.exception.SystemException;
98  
99      public long[] getRoleIds();
100 
101     public java.util.List<com.liferay.portal.model.Role> getRoles();
102 
103     public long[] getUserGroupIds();
104 
105     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups();
106 
107     public java.util.TimeZone getTimeZone();
108 
109     public boolean hasCompanyMx();
110 
111     public boolean hasCompanyMx(java.lang.String emailAddress);
112 
113     public boolean hasMyPlaces();
114 
115     public boolean hasOrganization();
116 
117     public boolean hasPrivateLayouts();
118 
119     public boolean hasPublicLayouts();
120 
121     public boolean hasReminderQuery();
122 
123     public boolean isFemale();
124 
125     public boolean isMale();
126 
127     public boolean isPasswordModified();
128 
129     public void setLanguageId(java.lang.String languageId);
130 
131     public void setPasswordModified(boolean passwordModified);
132 
133     public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
134 
135     public void setTimeZoneId(java.lang.String timeZoneId);
136 }