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     * The model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of this class.
019     *
020     * <p>
021     * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.UserImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
022     * </p>
023     *
024     * <p>
025     * Never reference this interface directly. All methods that expect a user model instance should use the {@link User} interface instead.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see UserModel
030     * @see com.liferay.portal.model.impl.UserImpl
031     * @see com.liferay.portal.model.impl.UserModelImpl
032     * @generated
033     */
034    public interface User extends UserModel {
035            public java.util.Date getBirthday()
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException;
038    
039            public java.lang.String getCompanyMx()
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException;
042    
043            public com.liferay.portal.model.Contact getContact()
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException;
046    
047            public java.lang.String getDigest();
048    
049            public java.lang.String getDigest(java.lang.String password);
050    
051            public java.lang.String getDisplayEmailAddress();
052    
053            public java.lang.String getDisplayURL(
054                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException;
057    
058            public java.lang.String getDisplayURL(java.lang.String portalURL,
059                    java.lang.String mainPath)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException;
062    
063            public boolean getFemale()
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException;
066    
067            public java.lang.String getFullName();
068    
069            public com.liferay.portal.model.Group getGroup()
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException;
072    
073            public long[] getGroupIds()
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException;
076    
077            public java.util.List<com.liferay.portal.model.Group> getGroups()
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            public java.util.Locale getLocale();
082    
083            public java.lang.String getLogin()
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException;
086    
087            public boolean getMale()
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException;
090    
091            public java.util.List<com.liferay.portal.model.Group> getMyPlaces()
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException;
094    
095            public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException;
098    
099            public long[] getOrganizationIds()
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException;
102    
103            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException;
106    
107            public boolean getPasswordModified();
108    
109            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
110                    throws com.liferay.portal.kernel.exception.PortalException,
111                            com.liferay.portal.kernel.exception.SystemException;
112    
113            public java.lang.String getPasswordUnencrypted();
114    
115            public int getPrivateLayoutsPageCount()
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException;
118    
119            public int getPublicLayoutsPageCount()
120                    throws com.liferay.portal.kernel.exception.PortalException,
121                            com.liferay.portal.kernel.exception.SystemException;
122    
123            public java.util.Set<java.lang.String> getReminderQueryQuestions()
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException;
126    
127            public long[] getRoleIds()
128                    throws com.liferay.portal.kernel.exception.SystemException;
129    
130            public java.util.List<com.liferay.portal.model.Role> getRoles()
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            public double getSocialContributionEquity();
134    
135            public double getSocialParticipationEquity();
136    
137            public double getSocialPersonalEquity();
138    
139            public long[] getTeamIds()
140                    throws com.liferay.portal.kernel.exception.SystemException;
141    
142            public java.util.List<com.liferay.portal.model.Team> getTeams()
143                    throws com.liferay.portal.kernel.exception.SystemException;
144    
145            public long[] getUserGroupIds()
146                    throws com.liferay.portal.kernel.exception.SystemException;
147    
148            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
149                    throws com.liferay.portal.kernel.exception.SystemException;
150    
151            public java.util.TimeZone getTimeZone();
152    
153            public boolean hasCompanyMx()
154                    throws com.liferay.portal.kernel.exception.PortalException,
155                            com.liferay.portal.kernel.exception.SystemException;
156    
157            public boolean hasCompanyMx(java.lang.String emailAddress)
158                    throws com.liferay.portal.kernel.exception.PortalException,
159                            com.liferay.portal.kernel.exception.SystemException;
160    
161            public boolean hasMyPlaces()
162                    throws com.liferay.portal.kernel.exception.SystemException;
163    
164            public boolean hasOrganization()
165                    throws com.liferay.portal.kernel.exception.PortalException,
166                            com.liferay.portal.kernel.exception.SystemException;
167    
168            public boolean hasPrivateLayouts()
169                    throws com.liferay.portal.kernel.exception.PortalException,
170                            com.liferay.portal.kernel.exception.SystemException;
171    
172            public boolean hasPublicLayouts()
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException;
175    
176            public boolean hasReminderQuery();
177    
178            public boolean isFemale()
179                    throws com.liferay.portal.kernel.exception.PortalException,
180                            com.liferay.portal.kernel.exception.SystemException;
181    
182            public boolean isMale()
183                    throws com.liferay.portal.kernel.exception.PortalException,
184                            com.liferay.portal.kernel.exception.SystemException;
185    
186            public boolean isPasswordModified();
187    
188            public void setLanguageId(java.lang.String languageId);
189    
190            public void setPasswordModified(boolean passwordModified);
191    
192            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
193    
194            public void setTimeZoneId(java.lang.String timeZoneId);
195    
196            public void updateSocialContributionEquity(double value);
197    
198            public void updateSocialParticipationEquity(double value);
199    }