001    /**
002     * Copyright (c) 2000-2011 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 extended 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     * @author Brian Wing Shun Chan
021     * @see UserModel
022     * @see com.liferay.portal.model.impl.UserImpl
023     * @see com.liferay.portal.model.impl.UserModelImpl
024     * @generated
025     */
026    public interface User extends UserModel, PersistedModel {
027            /*
028             * NOTE FOR DEVELOPERS:
029             *
030             * 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.
031             */
032            public java.util.List<com.liferay.portal.model.Address> getAddresses()
033                    throws com.liferay.portal.kernel.exception.SystemException;
034    
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            @com.liferay.portal.kernel.bean.AutoEscape()
068            public java.lang.String getFullName();
069    
070            public com.liferay.portal.model.Group getGroup()
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException;
073    
074            public long[] getGroupIds()
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException;
077    
078            public java.util.List<com.liferay.portal.model.Group> getGroups()
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException;
081    
082            public java.util.Locale getLocale();
083    
084            public java.lang.String getLogin()
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException;
087    
088            public boolean getMale()
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> getMySites()
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException;
095    
096            public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
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.Group> getMySites(
101                    java.lang.String[] classNames, int max)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException;
104    
105            public long[] getOrganizationIds()
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException;
108    
109            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
110                    throws com.liferay.portal.kernel.exception.PortalException,
111                            com.liferay.portal.kernel.exception.SystemException;
112    
113            public boolean getPasswordModified();
114    
115            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException;
118    
119            public java.lang.String getPasswordUnencrypted();
120    
121            public java.util.List<com.liferay.portal.model.Phone> getPhones()
122                    throws com.liferay.portal.kernel.exception.SystemException;
123    
124            public java.lang.String getPortraitURL(
125                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException;
128    
129            public int getPrivateLayoutsPageCount()
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException;
132    
133            public int getPublicLayoutsPageCount()
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException;
136    
137            public java.util.Set<java.lang.String> getReminderQueryQuestions()
138                    throws com.liferay.portal.kernel.exception.PortalException,
139                            com.liferay.portal.kernel.exception.SystemException;
140    
141            public long[] getRoleIds()
142                    throws com.liferay.portal.kernel.exception.SystemException;
143    
144            public java.util.List<com.liferay.portal.model.Role> getRoles()
145                    throws com.liferay.portal.kernel.exception.SystemException;
146    
147            public double getSocialContributionEquity();
148    
149            public double getSocialContributionEquity(long groupId);
150    
151            public double getSocialParticipationEquity();
152    
153            public double getSocialParticipationEquity(long groupId);
154    
155            public double getSocialPersonalEquity();
156    
157            public double getSocialPersonalEquity(long groupId);
158    
159            public long[] getTeamIds()
160                    throws com.liferay.portal.kernel.exception.SystemException;
161    
162            public java.util.List<com.liferay.portal.model.Team> getTeams()
163                    throws com.liferay.portal.kernel.exception.SystemException;
164    
165            public long[] getUserGroupIds()
166                    throws com.liferay.portal.kernel.exception.SystemException;
167    
168            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            public java.util.TimeZone getTimeZone();
172    
173            public boolean hasCompanyMx()
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException;
176    
177            public boolean hasCompanyMx(java.lang.String emailAddress)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException;
180    
181            public boolean hasMySites()
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException;
184    
185            public boolean hasOrganization()
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException;
188    
189            public boolean hasPrivateLayouts()
190                    throws com.liferay.portal.kernel.exception.PortalException,
191                            com.liferay.portal.kernel.exception.SystemException;
192    
193            public boolean hasPublicLayouts()
194                    throws com.liferay.portal.kernel.exception.PortalException,
195                            com.liferay.portal.kernel.exception.SystemException;
196    
197            public boolean hasReminderQuery();
198    
199            public boolean isActive();
200    
201            public boolean isFemale()
202                    throws com.liferay.portal.kernel.exception.PortalException,
203                            com.liferay.portal.kernel.exception.SystemException;
204    
205            public boolean isMale()
206                    throws com.liferay.portal.kernel.exception.PortalException,
207                            com.liferay.portal.kernel.exception.SystemException;
208    
209            public boolean isPasswordModified();
210    
211            public void setLanguageId(java.lang.String languageId);
212    
213            public void setPasswordModified(boolean passwordModified);
214    
215            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
216    
217            public void setTimeZoneId(java.lang.String timeZoneId);
218    
219            public void updateSocialContributionEquity(long groupId, double value);
220    
221            public void updateSocialParticipationEquity(long groupId, double value);
222    
223            public java.util.List<com.liferay.portal.model.Website> getWebsites()
224                    throws com.liferay.portal.kernel.exception.SystemException;
225    }