001    /**
002     * Copyright (c) 2000-2010 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 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     * <p>
021     * 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.
022     * </p>
023     *
024     * @author Brian Wing Shun Chan
025     * @see UserModel
026     * @see com.liferay.portal.model.impl.UserImpl
027     * @see com.liferay.portal.model.impl.UserModelImpl
028     * @generated
029     */
030    public interface User extends UserModel {
031            public java.util.Date getBirthday()
032                    throws com.liferay.portal.kernel.exception.PortalException,
033                            com.liferay.portal.kernel.exception.SystemException;
034    
035            public java.lang.String getCompanyMx()
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException;
038    
039            public com.liferay.portal.model.Contact getContact()
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException;
042    
043            public java.lang.String getDisplayEmailAddress();
044    
045            public java.lang.String getDisplayURL(
046                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
047                    throws com.liferay.portal.kernel.exception.PortalException,
048                            com.liferay.portal.kernel.exception.SystemException;
049    
050            public java.lang.String getDisplayURL(java.lang.String portalURL,
051                    java.lang.String mainPath)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException;
054    
055            public boolean getFemale()
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException;
058    
059            public java.lang.String getFullName();
060    
061            public com.liferay.portal.model.Group getGroup()
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException;
064    
065            public long[] getGroupIds()
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.util.List<com.liferay.portal.model.Group> getGroups()
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException;
072    
073            public java.util.Locale getLocale();
074    
075            public java.lang.String getLogin()
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException;
078    
079            public boolean getMale()
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException;
082    
083            public java.util.List<com.liferay.portal.model.Group> getMyPlaces()
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException;
086    
087            public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException;
090    
091            public long[] getOrganizationIds()
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException;
094    
095            public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException;
098    
099            public boolean getPasswordModified();
100    
101            public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException;
104    
105            public java.lang.String getPasswordUnencrypted();
106    
107            public int getPrivateLayoutsPageCount()
108                    throws com.liferay.portal.kernel.exception.PortalException,
109                            com.liferay.portal.kernel.exception.SystemException;
110    
111            public int getPublicLayoutsPageCount()
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException;
114    
115            public java.util.Set<java.lang.String> getReminderQueryQuestions()
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException;
118    
119            public long[] getRoleIds()
120                    throws com.liferay.portal.kernel.exception.SystemException;
121    
122            public java.util.List<com.liferay.portal.model.Role> getRoles()
123                    throws com.liferay.portal.kernel.exception.SystemException;
124    
125            public double getSocialContributionEquity();
126    
127            public double getSocialParticipationEquity();
128    
129            public double getSocialPersonalEquity();
130    
131            public long[] getTeamIds()
132                    throws com.liferay.portal.kernel.exception.SystemException;
133    
134            public java.util.List<com.liferay.portal.model.Team> getTeams()
135                    throws com.liferay.portal.kernel.exception.SystemException;
136    
137            public long[] getUserGroupIds()
138                    throws com.liferay.portal.kernel.exception.SystemException;
139    
140            public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            public java.util.TimeZone getTimeZone();
144    
145            public boolean hasCompanyMx()
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException;
148    
149            public boolean hasCompanyMx(java.lang.String emailAddress)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException;
152    
153            public boolean hasMyPlaces()
154                    throws com.liferay.portal.kernel.exception.SystemException;
155    
156            public boolean hasOrganization()
157                    throws com.liferay.portal.kernel.exception.PortalException,
158                            com.liferay.portal.kernel.exception.SystemException;
159    
160            public boolean hasPrivateLayouts()
161                    throws com.liferay.portal.kernel.exception.PortalException,
162                            com.liferay.portal.kernel.exception.SystemException;
163    
164            public boolean hasPublicLayouts()
165                    throws com.liferay.portal.kernel.exception.PortalException,
166                            com.liferay.portal.kernel.exception.SystemException;
167    
168            public boolean hasReminderQuery();
169    
170            public boolean isFemale()
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException;
173    
174            public boolean isMale()
175                    throws com.liferay.portal.kernel.exception.PortalException,
176                            com.liferay.portal.kernel.exception.SystemException;
177    
178            public boolean isPasswordModified();
179    
180            public void setLanguageId(java.lang.String languageId);
181    
182            public void setPasswordModified(boolean passwordModified);
183    
184            public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
185    
186            public void setTimeZoneId(java.lang.String timeZoneId);
187    
188            public void updateSocialContributionEquity(double value);
189    
190            public void updateSocialParticipationEquity(double value);
191    }