001    /**
002     * Copyright (c) 2000-2012 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(
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 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 getGroupId()
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException;
077    
078            public long[] getGroupIds()
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException;
081    
082            public java.util.List<com.liferay.portal.model.Group> getGroups()
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException;
085    
086            public java.util.Locale getLocale();
087    
088            public java.lang.String getLogin()
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException;
091    
092            public boolean getMale()
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()
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                    boolean includeControlPanel, int max)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException;
104    
105            public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
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.Group> getMySites(
110                    java.lang.String[] classNames, boolean includeControlPanel, int max)
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                    java.lang.String[] classNames, int max)
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException;
118    
119            public long[] getOrganizationIds()
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.Organization> getOrganizations()
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException;
126    
127            public boolean getPasswordModified();
128    
129            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException;
132    
133            public java.lang.String getPasswordUnencrypted();
134    
135            public java.util.List<com.liferay.portal.model.Phone> getPhones()
136                    throws com.liferay.portal.kernel.exception.SystemException;
137    
138            public java.lang.String getPortraitURL(
139                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException;
142    
143            public int getPrivateLayoutsPageCount()
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException;
146    
147            public int getPublicLayoutsPageCount()
148                    throws com.liferay.portal.kernel.exception.PortalException,
149                            com.liferay.portal.kernel.exception.SystemException;
150    
151            public java.util.Set<java.lang.String> getReminderQueryQuestions()
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException;
154    
155            public long[] getRoleIds()
156                    throws com.liferay.portal.kernel.exception.SystemException;
157    
158            public java.util.List<com.liferay.portal.model.Role> getRoles()
159                    throws com.liferay.portal.kernel.exception.SystemException;
160    
161            public long[] getTeamIds()
162                    throws com.liferay.portal.kernel.exception.SystemException;
163    
164            public java.util.List<com.liferay.portal.model.Team> getTeams()
165                    throws com.liferay.portal.kernel.exception.SystemException;
166    
167            public java.util.TimeZone getTimeZone();
168    
169            public long[] getUserGroupIds()
170                    throws com.liferay.portal.kernel.exception.SystemException;
171    
172            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
173                    throws com.liferay.portal.kernel.exception.SystemException;
174    
175            public java.util.List<com.liferay.portal.model.Website> getWebsites()
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            public boolean hasCompanyMx()
179                    throws com.liferay.portal.kernel.exception.PortalException,
180                            com.liferay.portal.kernel.exception.SystemException;
181    
182            public boolean hasCompanyMx(java.lang.String emailAddress)
183                    throws com.liferay.portal.kernel.exception.PortalException,
184                            com.liferay.portal.kernel.exception.SystemException;
185    
186            public boolean hasMySites()
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException;
189    
190            public boolean hasOrganization()
191                    throws com.liferay.portal.kernel.exception.PortalException,
192                            com.liferay.portal.kernel.exception.SystemException;
193    
194            public boolean hasPrivateLayouts()
195                    throws com.liferay.portal.kernel.exception.PortalException,
196                            com.liferay.portal.kernel.exception.SystemException;
197    
198            public boolean hasPublicLayouts()
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException;
201    
202            public boolean hasReminderQuery();
203    
204            public boolean isActive();
205    
206            public boolean isFemale()
207                    throws com.liferay.portal.kernel.exception.PortalException,
208                            com.liferay.portal.kernel.exception.SystemException;
209    
210            public boolean isMale()
211                    throws com.liferay.portal.kernel.exception.PortalException,
212                            com.liferay.portal.kernel.exception.SystemException;
213    
214            public boolean isPasswordModified();
215    
216            public void setLanguageId(java.lang.String languageId);
217    
218            public void setPasswordModified(boolean passwordModified);
219    
220            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
221    
222            public void setTimeZoneId(java.lang.String timeZoneId);
223    }