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