001    /**
002     * Copyright (c) 2000-2011 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(
054                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
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)
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(int max)
101                    throws com.liferay.portal.kernel.exception.PortalException,
102                            com.liferay.portal.kernel.exception.SystemException;
103    
104            public java.util.List<com.liferay.portal.model.Group> getMySites(
105                    java.lang.String[] classNames, int max)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException;
108    
109            public long[] getOrganizationIds()
110                    throws com.liferay.portal.kernel.exception.PortalException,
111                            com.liferay.portal.kernel.exception.SystemException;
112    
113            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
114                    throws com.liferay.portal.kernel.exception.PortalException,
115                            com.liferay.portal.kernel.exception.SystemException;
116    
117            public boolean getPasswordModified();
118    
119            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
120                    throws com.liferay.portal.kernel.exception.PortalException,
121                            com.liferay.portal.kernel.exception.SystemException;
122    
123            public java.lang.String getPasswordUnencrypted();
124    
125            public java.util.List<com.liferay.portal.model.Phone> getPhones()
126                    throws com.liferay.portal.kernel.exception.SystemException;
127    
128            public java.lang.String getPortraitURL(
129                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException;
132    
133            public int getPrivateLayoutsPageCount()
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException;
136    
137            public int getPublicLayoutsPageCount()
138                    throws com.liferay.portal.kernel.exception.PortalException,
139                            com.liferay.portal.kernel.exception.SystemException;
140    
141            public java.util.Set<java.lang.String> getReminderQueryQuestions()
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException;
144    
145            public long[] getRoleIds()
146                    throws com.liferay.portal.kernel.exception.SystemException;
147    
148            public java.util.List<com.liferay.portal.model.Role> getRoles()
149                    throws com.liferay.portal.kernel.exception.SystemException;
150    
151            public long[] getTeamIds()
152                    throws com.liferay.portal.kernel.exception.SystemException;
153    
154            public java.util.List<com.liferay.portal.model.Team> getTeams()
155                    throws com.liferay.portal.kernel.exception.SystemException;
156    
157            public long[] getUserGroupIds()
158                    throws com.liferay.portal.kernel.exception.SystemException;
159    
160            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
161                    throws com.liferay.portal.kernel.exception.SystemException;
162    
163            public java.util.TimeZone getTimeZone();
164    
165            public boolean hasCompanyMx()
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException;
168    
169            public boolean hasCompanyMx(java.lang.String emailAddress)
170                    throws com.liferay.portal.kernel.exception.PortalException,
171                            com.liferay.portal.kernel.exception.SystemException;
172    
173            public boolean hasMySites()
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException;
176    
177            public boolean hasOrganization()
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException;
180    
181            public boolean hasPrivateLayouts()
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException;
184    
185            public boolean hasPublicLayouts()
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException;
188    
189            public boolean hasReminderQuery();
190    
191            public boolean isActive();
192    
193            public boolean isFemale()
194                    throws com.liferay.portal.kernel.exception.PortalException,
195                            com.liferay.portal.kernel.exception.SystemException;
196    
197            public boolean isMale()
198                    throws com.liferay.portal.kernel.exception.PortalException,
199                            com.liferay.portal.kernel.exception.SystemException;
200    
201            public boolean isPasswordModified();
202    
203            public void setLanguageId(java.lang.String languageId);
204    
205            public void setPasswordModified(boolean passwordModified);
206    
207            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
208    
209            public void setTimeZoneId(java.lang.String timeZoneId);
210    
211            public java.util.List<com.liferay.portal.model.Website> getWebsites()
212                    throws com.liferay.portal.kernel.exception.SystemException;
213    }