1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  /**
18   * <a href="User.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This interface is a model that represents the User_ table in the
27   * database.
28   * </p>
29   *
30   * <p>
31   * Customize {@link com.liferay.portal.model.impl.UserImpl} and rerun the
32   * ServiceBuilder to generate the new methods.
33   * </p>
34   *
35   * @author    Brian Wing Shun Chan
36   * @see       UserModel
37   * @see       com.liferay.portal.model.impl.UserImpl
38   * @see       com.liferay.portal.model.impl.UserModelImpl
39   * @generated
40   */
41  public interface User extends UserModel {
42      public java.util.Date getBirthday();
43  
44      public java.lang.String getCompanyMx();
45  
46      public com.liferay.portal.model.Contact getContact();
47  
48      public java.lang.String getDisplayEmailAddress();
49  
50      public java.lang.String getDisplayURL(
51          com.liferay.portal.theme.ThemeDisplay themeDisplay);
52  
53      public java.lang.String getDisplayURL(java.lang.String portalURL,
54          java.lang.String mainPath);
55  
56      public boolean getFemale();
57  
58      @com.liferay.portal.kernel.annotation.AutoEscape()
59      public java.lang.String getFullName();
60  
61      public com.liferay.portal.model.Group getGroup();
62  
63      public long[] getGroupIds();
64  
65      public java.util.List<com.liferay.portal.model.Group> getGroups();
66  
67      public java.util.Locale getLocale();
68  
69      public java.lang.String getLogin()
70          throws com.liferay.portal.PortalException,
71              com.liferay.portal.SystemException;
72  
73      public boolean getMale();
74  
75      public java.util.List<com.liferay.portal.model.Group> getMyPlaces()
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException;
78  
79      public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max)
80          throws com.liferay.portal.PortalException,
81              com.liferay.portal.SystemException;
82  
83      public java.util.List<com.liferay.portal.model.Group> getMyPlaces(
84          java.lang.String[] classNames, int max)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException;
87  
88      public long[] getOrganizationIds();
89  
90      public java.util.List<com.liferay.portal.model.Organization> getOrganizations();
91  
92      public boolean getPasswordModified();
93  
94      public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
95          throws com.liferay.portal.PortalException,
96              com.liferay.portal.SystemException;
97  
98      public java.lang.String getPasswordUnencrypted();
99  
100     public int getPrivateLayoutsPageCount();
101 
102     public int getPublicLayoutsPageCount();
103 
104     public java.util.Set<java.lang.String> getReminderQueryQuestions()
105         throws com.liferay.portal.PortalException,
106             com.liferay.portal.SystemException;
107 
108     public long[] getRoleIds();
109 
110     public java.util.List<com.liferay.portal.model.Role> getRoles();
111 
112     public long[] getUserGroupIds();
113 
114     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups();
115 
116     public java.util.TimeZone getTimeZone();
117 
118     public boolean hasCompanyMx();
119 
120     public boolean hasCompanyMx(java.lang.String emailAddress);
121 
122     public boolean hasMyPlaces();
123 
124     public boolean hasOrganization();
125 
126     public boolean hasPrivateLayouts();
127 
128     public boolean hasPublicLayouts();
129 
130     public boolean isFemale();
131 
132     public boolean isMale();
133 
134     public boolean isPasswordModified();
135 
136     public void setLanguageId(java.lang.String languageId);
137 
138     public void setPasswordModified(boolean passwordModified);
139 
140     public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
141 
142     public void setTimeZoneId(java.lang.String timeZoneId);
143 }