001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    
018    /**
019     * <p>
020     * This interface is a model that represents the User_ table in the
021     * database.
022     * </p>
023     *
024     * <p>
025     * Customize {@link com.liferay.portal.model.impl.UserImpl} and rerun the
026     * ServiceBuilder to generate the new methods.
027     * </p>
028     *
029     * @author    Brian Wing Shun Chan
030     * @see       UserModel
031     * @see       com.liferay.portal.model.impl.UserImpl
032     * @see       com.liferay.portal.model.impl.UserModelImpl
033     * @generated
034     */
035    public interface User extends UserModel {
036            public java.util.Date getBirthday()
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public java.lang.String getCompanyMx()
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException;
043    
044            public com.liferay.portal.model.Contact getContact()
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException;
047    
048            public java.lang.String getDisplayEmailAddress();
049    
050            public java.lang.String getDisplayURL(
051                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException;
054    
055            public java.lang.String getDisplayURL(java.lang.String portalURL,
056                    java.lang.String mainPath)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException;
059    
060            public boolean getFemale()
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException;
063    
064            public java.lang.String getFullName();
065    
066            public com.liferay.portal.model.Group getGroup()
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException;
069    
070            public long[] getGroupIds()
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException;
073    
074            public java.util.List<com.liferay.portal.model.Group> getGroups()
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException;
077    
078            public java.util.Locale getLocale();
079    
080            public java.lang.String getLogin()
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException;
083    
084            public boolean getMale()
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException;
087    
088            public java.util.List<com.liferay.portal.model.Group> getMyPlaces()
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException;
091    
092            public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max)
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException;
095    
096            public long[] getOrganizationIds()
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException;
099    
100            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
101                    throws com.liferay.portal.kernel.exception.PortalException,
102                            com.liferay.portal.kernel.exception.SystemException;
103    
104            public boolean getPasswordModified();
105    
106            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
107                    throws com.liferay.portal.kernel.exception.PortalException,
108                            com.liferay.portal.kernel.exception.SystemException;
109    
110            public java.lang.String getPasswordUnencrypted();
111    
112            public int getPrivateLayoutsPageCount()
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException;
115    
116            public int getPublicLayoutsPageCount()
117                    throws com.liferay.portal.kernel.exception.PortalException,
118                            com.liferay.portal.kernel.exception.SystemException;
119    
120            public java.util.Set<java.lang.String> getReminderQueryQuestions()
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException;
123    
124            public long[] getRoleIds()
125                    throws com.liferay.portal.kernel.exception.SystemException;
126    
127            public java.util.List<com.liferay.portal.model.Role> getRoles()
128                    throws com.liferay.portal.kernel.exception.SystemException;
129    
130            public double getSocialContributionEquity();
131    
132            public double getSocialParticipationEquity();
133    
134            public double getSocialPersonalEquity();
135    
136            public long[] getTeamIds()
137                    throws com.liferay.portal.kernel.exception.SystemException;
138    
139            public java.util.List<com.liferay.portal.model.Team> getTeams()
140                    throws com.liferay.portal.kernel.exception.SystemException;
141    
142            public long[] getUserGroupIds()
143                    throws com.liferay.portal.kernel.exception.SystemException;
144    
145            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
146                    throws com.liferay.portal.kernel.exception.SystemException;
147    
148            public java.util.TimeZone getTimeZone();
149    
150            public boolean hasCompanyMx()
151                    throws com.liferay.portal.kernel.exception.PortalException,
152                            com.liferay.portal.kernel.exception.SystemException;
153    
154            public boolean hasCompanyMx(java.lang.String emailAddress)
155                    throws com.liferay.portal.kernel.exception.PortalException,
156                            com.liferay.portal.kernel.exception.SystemException;
157    
158            public boolean hasMyPlaces()
159                    throws com.liferay.portal.kernel.exception.SystemException;
160    
161            public boolean hasOrganization()
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException;
164    
165            public boolean hasPrivateLayouts()
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException;
168    
169            public boolean hasPublicLayouts()
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException;
172    
173            public boolean hasReminderQuery();
174    
175            public boolean isFemale()
176                    throws com.liferay.portal.kernel.exception.PortalException,
177                            com.liferay.portal.kernel.exception.SystemException;
178    
179            public boolean isMale()
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException;
182    
183            public boolean isPasswordModified();
184    
185            public void setLanguageId(java.lang.String languageId);
186    
187            public void setPasswordModified(boolean passwordModified);
188    
189            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
190    
191            public void setTimeZoneId(java.lang.String timeZoneId);
192    
193            public void updateSocialContributionEquity(double value);
194    
195            public void updateSocialParticipationEquity(double value);
196    }