001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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(
059                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException;
062    
063            public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
064                    throws com.liferay.portal.kernel.exception.SystemException;
065    
066            public boolean getFemale()
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException;
069    
070            @com.liferay.portal.kernel.bean.AutoEscape()
071            public java.lang.String getFullName();
072    
073            public com.liferay.portal.model.Group getGroup()
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException;
076    
077            public long getGroupId()
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            public long[] getGroupIds()
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException;
084    
085            public java.util.List<com.liferay.portal.model.Group> getGroups()
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException;
088    
089            public java.util.Locale getLocale();
090    
091            public java.lang.String getLogin()
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException;
094    
095            public boolean getMale()
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException;
098    
099            public java.util.List<com.liferay.portal.model.Group> getMySites()
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.Group> getMySites(
104                    boolean includeControlPanel, int max)
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(int max)
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                    java.lang.String[] classNames, 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(
118                    java.lang.String[] classNames, int max)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException;
121    
122            public long[] getOrganizationIds()
123                    throws com.liferay.portal.kernel.exception.PortalException,
124                            com.liferay.portal.kernel.exception.SystemException;
125    
126            public long[] getOrganizationIds(boolean includeAdministrative)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException;
129    
130            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
131                    throws com.liferay.portal.kernel.exception.PortalException,
132                            com.liferay.portal.kernel.exception.SystemException;
133    
134            public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
135                    boolean includeAdministrative)
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException;
138    
139            public boolean getPasswordModified();
140    
141            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException;
144    
145            public java.lang.String getPasswordUnencrypted();
146    
147            public java.util.List<com.liferay.portal.model.Phone> getPhones()
148                    throws com.liferay.portal.kernel.exception.SystemException;
149    
150            public java.lang.String getPortraitURL(
151                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException;
154    
155            public int getPrivateLayoutsPageCount()
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException;
158    
159            public int getPublicLayoutsPageCount()
160                    throws com.liferay.portal.kernel.exception.PortalException,
161                            com.liferay.portal.kernel.exception.SystemException;
162    
163            public java.util.Set<java.lang.String> getReminderQueryQuestions()
164                    throws com.liferay.portal.kernel.exception.PortalException,
165                            com.liferay.portal.kernel.exception.SystemException;
166    
167            public long[] getRoleIds()
168                    throws com.liferay.portal.kernel.exception.SystemException;
169    
170            public java.util.List<com.liferay.portal.model.Role> getRoles()
171                    throws com.liferay.portal.kernel.exception.SystemException;
172    
173            public long[] getTeamIds()
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            public java.util.List<com.liferay.portal.model.Team> getTeams()
177                    throws com.liferay.portal.kernel.exception.SystemException;
178    
179            public java.util.TimeZone getTimeZone();
180    
181            public long[] getUserGroupIds()
182                    throws com.liferay.portal.kernel.exception.SystemException;
183    
184            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
185                    throws com.liferay.portal.kernel.exception.SystemException;
186    
187            public java.util.List<com.liferay.portal.model.Website> getWebsites()
188                    throws com.liferay.portal.kernel.exception.SystemException;
189    
190            public boolean hasCompanyMx()
191                    throws com.liferay.portal.kernel.exception.PortalException,
192                            com.liferay.portal.kernel.exception.SystemException;
193    
194            public boolean hasCompanyMx(java.lang.String emailAddress)
195                    throws com.liferay.portal.kernel.exception.PortalException,
196                            com.liferay.portal.kernel.exception.SystemException;
197    
198            public boolean hasMySites()
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException;
201    
202            public boolean hasOrganization()
203                    throws com.liferay.portal.kernel.exception.PortalException,
204                            com.liferay.portal.kernel.exception.SystemException;
205    
206            public boolean hasPrivateLayouts()
207                    throws com.liferay.portal.kernel.exception.PortalException,
208                            com.liferay.portal.kernel.exception.SystemException;
209    
210            public boolean hasPublicLayouts()
211                    throws com.liferay.portal.kernel.exception.PortalException,
212                            com.liferay.portal.kernel.exception.SystemException;
213    
214            public boolean hasReminderQuery();
215    
216            public boolean isActive();
217    
218            public boolean isFemale()
219                    throws com.liferay.portal.kernel.exception.PortalException,
220                            com.liferay.portal.kernel.exception.SystemException;
221    
222            public boolean isMale()
223                    throws com.liferay.portal.kernel.exception.PortalException,
224                            com.liferay.portal.kernel.exception.SystemException;
225    
226            public boolean isPasswordModified();
227    
228            public void setLanguageId(java.lang.String languageId);
229    
230            public void setPasswordModified(boolean passwordModified);
231    
232            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
233    
234            public void setTimeZoneId(java.lang.String timeZoneId);
235    }