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(java.lang.String password);
048    
049            public java.lang.String getDisplayEmailAddress();
050    
051            public java.lang.String getDisplayURL(java.lang.String portalURL,
052                    java.lang.String mainPath)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException;
055    
056            public java.lang.String getDisplayURL(java.lang.String portalURL,
057                    java.lang.String mainPath, boolean privateLayout)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException;
060    
061            public java.lang.String getDisplayURL(
062                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException;
065    
066            public java.lang.String getDisplayURL(
067                    com.liferay.portal.theme.ThemeDisplay themeDisplay,
068                    boolean privateLayout)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException;
071    
072            public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
073                    throws com.liferay.portal.kernel.exception.SystemException;
074    
075            public boolean getFemale()
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException;
078    
079            @com.liferay.portal.kernel.bean.AutoEscape()
080            public java.lang.String getFullName();
081    
082            public com.liferay.portal.model.Group getGroup()
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException;
085    
086            public long getGroupId()
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException;
089    
090            public long[] getGroupIds()
091                    throws com.liferay.portal.kernel.exception.SystemException;
092    
093            public java.util.List<com.liferay.portal.model.Group> getGroups()
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            public java.util.Locale getLocale();
097    
098            public java.lang.String getLogin()
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException;
101    
102            public boolean getMale()
103                    throws com.liferay.portal.kernel.exception.PortalException,
104                            com.liferay.portal.kernel.exception.SystemException;
105    
106            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups()
107                    throws com.liferay.portal.kernel.exception.PortalException,
108                            com.liferay.portal.kernel.exception.SystemException;
109    
110            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
111                    boolean includeControlPanel, int max)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException;
114    
115            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
116                    int max)
117                    throws com.liferay.portal.kernel.exception.PortalException,
118                            com.liferay.portal.kernel.exception.SystemException;
119    
120            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
121                    java.lang.String[] classNames, boolean includeControlPanel, int max)
122                    throws com.liferay.portal.kernel.exception.PortalException,
123                            com.liferay.portal.kernel.exception.SystemException;
124    
125            public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
126                    java.lang.String[] classNames, int max)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException;
129    
130            /**
131            * @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups}
132            */
133            public java.util.List<com.liferay.portal.model.Group> getMySites()
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException;
136    
137            /**
138            * @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(boolean,
139            int)}
140            */
141            public java.util.List<com.liferay.portal.model.Group> getMySites(
142                    boolean includeControlPanel, int max)
143                    throws com.liferay.portal.kernel.exception.PortalException,
144                            com.liferay.portal.kernel.exception.SystemException;
145    
146            /**
147            * @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(int)}
148            */
149            public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException;
152    
153            /**
154            * @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(String[],
155            boolean, int)}
156            */
157            public java.util.List<com.liferay.portal.model.Group> getMySites(
158                    java.lang.String[] classNames, boolean includeControlPanel, int max)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException;
161    
162            /**
163            * @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(String[],
164            int)}
165            */
166            public java.util.List<com.liferay.portal.model.Group> getMySites(
167                    java.lang.String[] classNames, int max)
168                    throws com.liferay.portal.kernel.exception.PortalException,
169                            com.liferay.portal.kernel.exception.SystemException;
170    
171            public long[] getOrganizationIds()
172                    throws com.liferay.portal.kernel.exception.PortalException,
173                            com.liferay.portal.kernel.exception.SystemException;
174    
175            public long[] getOrganizationIds(boolean includeAdministrative)
176                    throws com.liferay.portal.kernel.exception.PortalException,
177                            com.liferay.portal.kernel.exception.SystemException;
178    
179            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException;
182    
183            public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
184                    boolean includeAdministrative)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException;
187    
188            public boolean getPasswordModified();
189    
190            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
191                    throws com.liferay.portal.kernel.exception.PortalException,
192                            com.liferay.portal.kernel.exception.SystemException;
193    
194            public java.lang.String getPasswordUnencrypted();
195    
196            public java.util.List<com.liferay.portal.model.Phone> getPhones()
197                    throws com.liferay.portal.kernel.exception.SystemException;
198    
199            public java.lang.String getPortraitURL(
200                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException;
203    
204            public int getPrivateLayoutsPageCount()
205                    throws com.liferay.portal.kernel.exception.PortalException,
206                            com.liferay.portal.kernel.exception.SystemException;
207    
208            public int getPublicLayoutsPageCount()
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException;
211    
212            public java.util.Set<java.lang.String> getReminderQueryQuestions()
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException;
215    
216            public long[] getRoleIds()
217                    throws com.liferay.portal.kernel.exception.SystemException;
218    
219            public java.util.List<com.liferay.portal.model.Role> getRoles()
220                    throws com.liferay.portal.kernel.exception.SystemException;
221    
222            public java.util.List<com.liferay.portal.model.Group> getSiteGroups()
223                    throws com.liferay.portal.kernel.exception.PortalException,
224                            com.liferay.portal.kernel.exception.SystemException;
225    
226            public java.util.List<com.liferay.portal.model.Group> getSiteGroups(
227                    boolean includeAdministrative)
228                    throws com.liferay.portal.kernel.exception.PortalException,
229                            com.liferay.portal.kernel.exception.SystemException;
230    
231            public long[] getTeamIds()
232                    throws com.liferay.portal.kernel.exception.SystemException;
233    
234            public java.util.List<com.liferay.portal.model.Team> getTeams()
235                    throws com.liferay.portal.kernel.exception.SystemException;
236    
237            public java.util.TimeZone getTimeZone();
238    
239            public long[] getUserGroupIds()
240                    throws com.liferay.portal.kernel.exception.SystemException;
241    
242            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
243                    throws com.liferay.portal.kernel.exception.SystemException;
244    
245            public java.util.List<com.liferay.portal.model.Website> getWebsites()
246                    throws com.liferay.portal.kernel.exception.SystemException;
247    
248            public boolean hasCompanyMx()
249                    throws com.liferay.portal.kernel.exception.PortalException,
250                            com.liferay.portal.kernel.exception.SystemException;
251    
252            public boolean hasCompanyMx(java.lang.String emailAddress)
253                    throws com.liferay.portal.kernel.exception.PortalException,
254                            com.liferay.portal.kernel.exception.SystemException;
255    
256            public boolean hasMySites()
257                    throws com.liferay.portal.kernel.exception.PortalException,
258                            com.liferay.portal.kernel.exception.SystemException;
259    
260            public boolean hasOrganization()
261                    throws com.liferay.portal.kernel.exception.PortalException,
262                            com.liferay.portal.kernel.exception.SystemException;
263    
264            public boolean hasPrivateLayouts()
265                    throws com.liferay.portal.kernel.exception.PortalException,
266                            com.liferay.portal.kernel.exception.SystemException;
267    
268            public boolean hasPublicLayouts()
269                    throws com.liferay.portal.kernel.exception.PortalException,
270                            com.liferay.portal.kernel.exception.SystemException;
271    
272            public boolean hasReminderQuery();
273    
274            public boolean isActive();
275    
276            public boolean isFemale()
277                    throws com.liferay.portal.kernel.exception.PortalException,
278                            com.liferay.portal.kernel.exception.SystemException;
279    
280            public boolean isMale()
281                    throws com.liferay.portal.kernel.exception.PortalException,
282                            com.liferay.portal.kernel.exception.SystemException;
283    
284            public boolean isPasswordModified();
285    
286            public void setPasswordModified(boolean passwordModified);
287    
288            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
289    }