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  /**
19   * <a href="User.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the User_ table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portal.model.impl.UserImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       UserModel
38   * @see       com.liferay.portal.model.impl.UserImpl
39   * @see       com.liferay.portal.model.impl.UserModelImpl
40   * @generated
41   */
42  public interface User extends UserModel {
43      public java.lang.String getCompanyMx();
44  
45      public boolean hasCompanyMx();
46  
47      public boolean hasCompanyMx(java.lang.String emailAddress);
48  
49      public java.lang.String getLogin()
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException;
52  
53      public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
54          throws com.liferay.portal.PortalException,
55              com.liferay.portal.SystemException;
56  
57      public java.lang.String getPasswordUnencrypted();
58  
59      public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
60  
61      public boolean getPasswordModified();
62  
63      public boolean isPasswordModified();
64  
65      public void setPasswordModified(boolean passwordModified);
66  
67      public java.util.Locale getLocale();
68  
69      public void setLanguageId(java.lang.String languageId);
70  
71      public java.util.TimeZone getTimeZone();
72  
73      public void setTimeZoneId(java.lang.String timeZoneId);
74  
75      public com.liferay.portal.model.Contact getContact();
76  
77      public java.lang.String getFullName();
78  
79      public boolean getMale();
80  
81      public boolean isMale();
82  
83      public boolean getFemale();
84  
85      public boolean isFemale();
86  
87      public java.util.Date getBirthday();
88  
89      public com.liferay.portal.model.Group getGroup();
90  
91      public com.liferay.portal.model.Organization getOrganization();
92  
93      public long[] getOrganizationIds();
94  
95      public java.util.List<com.liferay.portal.model.Organization> getOrganizations();
96  
97      public boolean hasOrganization();
98  
99      public com.liferay.portal.model.Organization getLocation();
100 
101     public long getLocationId();
102 
103     public boolean hasLocation();
104 
105     public int getPrivateLayoutsPageCount();
106 
107     public boolean hasPrivateLayouts();
108 
109     public int getPublicLayoutsPageCount();
110 
111     public boolean hasPublicLayouts();
112 
113     public java.util.List<com.liferay.portal.model.Group> getMyPlaces();
114 
115     public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max);
116 
117     public boolean hasMyPlaces();
118 
119     public java.lang.String getDisplayURL(
120         com.liferay.portal.theme.ThemeDisplay themeDisplay);
121 
122     public java.lang.String getDisplayURL(java.lang.String portalURL,
123         java.lang.String mainPath);
124 }