001    /**
002     * Copyright (c) 2000-2013 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(java.lang.String portalURL,
054                    java.lang.String mainPath)
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, boolean privateLayout)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException;
062    
063            public java.lang.String getDisplayURL(
064                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException;
067    
068            public java.lang.String getDisplayURL(
069                    com.liferay.portal.theme.ThemeDisplay themeDisplay,
070                    boolean privateLayout)
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.EmailAddress> getEmailAddresses()
075                    throws com.liferay.portal.kernel.exception.SystemException;
076    
077            public boolean getFemale()
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            @com.liferay.portal.kernel.bean.AutoEscape()
082            public java.lang.String getFullName();
083    
084            public com.liferay.portal.model.Group getGroup()
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException;
087    
088            public long getGroupId()
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException;
091    
092            public long[] getGroupIds()
093                    throws com.liferay.portal.kernel.exception.SystemException;
094    
095            public java.util.List<com.liferay.portal.model.Group> getGroups()
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public java.util.Locale getLocale();
099    
100            public java.lang.String getLogin()
101                    throws com.liferay.portal.kernel.exception.PortalException,
102                            com.liferay.portal.kernel.exception.SystemException;
103    
104            public boolean getMale()
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException;
107    
108            public java.util.List<com.liferay.portal.model.Group> getMySites()
109                    throws com.liferay.portal.kernel.exception.PortalException,
110                            com.liferay.portal.kernel.exception.SystemException;
111    
112            public java.util.List<com.liferay.portal.model.Group> getMySites(
113                    boolean includeControlPanel, int max)
114                    throws com.liferay.portal.kernel.exception.PortalException,
115                            com.liferay.portal.kernel.exception.SystemException;
116    
117            public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException;
120    
121            public java.util.List<com.liferay.portal.model.Group> getMySites(
122                    java.lang.String[] classNames, boolean includeControlPanel, int max)
123                    throws com.liferay.portal.kernel.exception.PortalException,
124                            com.liferay.portal.kernel.exception.SystemException;
125    
126            public java.util.List<com.liferay.portal.model.Group> getMySites(
127                    java.lang.String[] classNames, int max)
128                    throws com.liferay.portal.kernel.exception.PortalException,
129                            com.liferay.portal.kernel.exception.SystemException;
130    
131            public long[] getOrganizationIds()
132                    throws com.liferay.portal.kernel.exception.PortalException,
133                            com.liferay.portal.kernel.exception.SystemException;
134    
135            public long[] getOrganizationIds(boolean includeAdministrative)
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException;
138    
139            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException;
142    
143            public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
144                    boolean includeAdministrative)
145                    throws com.liferay.portal.kernel.exception.PortalException,
146                            com.liferay.portal.kernel.exception.SystemException;
147    
148            public boolean getPasswordModified();
149    
150            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
151                    throws com.liferay.portal.kernel.exception.PortalException,
152                            com.liferay.portal.kernel.exception.SystemException;
153    
154            public java.lang.String getPasswordUnencrypted();
155    
156            public java.util.List<com.liferay.portal.model.Phone> getPhones()
157                    throws com.liferay.portal.kernel.exception.SystemException;
158    
159            public java.lang.String getPortraitURL(
160                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
161                    throws com.liferay.portal.kernel.exception.PortalException,
162                            com.liferay.portal.kernel.exception.SystemException;
163    
164            public int getPrivateLayoutsPageCount()
165                    throws com.liferay.portal.kernel.exception.PortalException,
166                            com.liferay.portal.kernel.exception.SystemException;
167    
168            public int getPublicLayoutsPageCount()
169                    throws com.liferay.portal.kernel.exception.PortalException,
170                            com.liferay.portal.kernel.exception.SystemException;
171    
172            public java.util.Set<java.lang.String> getReminderQueryQuestions()
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException;
175    
176            public long[] getRoleIds()
177                    throws com.liferay.portal.kernel.exception.SystemException;
178    
179            public java.util.List<com.liferay.portal.model.Role> getRoles()
180                    throws com.liferay.portal.kernel.exception.SystemException;
181    
182            public long[] getTeamIds()
183                    throws com.liferay.portal.kernel.exception.SystemException;
184    
185            public java.util.List<com.liferay.portal.model.Team> getTeams()
186                    throws com.liferay.portal.kernel.exception.SystemException;
187    
188            public java.util.TimeZone getTimeZone();
189    
190            public long[] getUserGroupIds()
191                    throws com.liferay.portal.kernel.exception.SystemException;
192    
193            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
194                    throws com.liferay.portal.kernel.exception.SystemException;
195    
196            public java.util.List<com.liferay.portal.model.Website> getWebsites()
197                    throws com.liferay.portal.kernel.exception.SystemException;
198    
199            public boolean hasCompanyMx()
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException;
202    
203            public boolean hasCompanyMx(java.lang.String emailAddress)
204                    throws com.liferay.portal.kernel.exception.PortalException,
205                            com.liferay.portal.kernel.exception.SystemException;
206    
207            public boolean hasMySites()
208                    throws com.liferay.portal.kernel.exception.PortalException,
209                            com.liferay.portal.kernel.exception.SystemException;
210    
211            public boolean hasOrganization()
212                    throws com.liferay.portal.kernel.exception.PortalException,
213                            com.liferay.portal.kernel.exception.SystemException;
214    
215            public boolean hasPrivateLayouts()
216                    throws com.liferay.portal.kernel.exception.PortalException,
217                            com.liferay.portal.kernel.exception.SystemException;
218    
219            public boolean hasPublicLayouts()
220                    throws com.liferay.portal.kernel.exception.PortalException,
221                            com.liferay.portal.kernel.exception.SystemException;
222    
223            public boolean hasReminderQuery();
224    
225            public boolean isActive();
226    
227            public boolean isFemale()
228                    throws com.liferay.portal.kernel.exception.PortalException,
229                            com.liferay.portal.kernel.exception.SystemException;
230    
231            public boolean isMale()
232                    throws com.liferay.portal.kernel.exception.PortalException,
233                            com.liferay.portal.kernel.exception.SystemException;
234    
235            public boolean isPasswordModified();
236    
237            public void setLanguageId(java.lang.String languageId);
238    
239            public void setPasswordModified(boolean passwordModified);
240    
241            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
242    
243            public void setTimeZoneId(java.lang.String timeZoneId);
244    }