001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.model;
022:
023: /**
024: * <a href="User.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface is a model that represents the <code>User</code> table
033: * in the database.
034: * </p>
035: *
036: * <p>
037: * Customize <code>com.liferay.portal.service.model.impl.UserImpl</code>
038: * and rerun the ServiceBuilder to generate the new methods.
039: * </p>
040: *
041: * @author Brian Wing Shun Chan
042: *
043: * @see com.liferay.portal.service.model.UserModel
044: * @see com.liferay.portal.service.model.impl.UserImpl
045: * @see com.liferay.portal.service.model.impl.UserModelImpl
046: *
047: */
048: public interface User extends UserModel {
049: public java.lang.String getCompanyMx();
050:
051: public boolean hasCompanyMx();
052:
053: public boolean hasCompanyMx(java.lang.String emailAddress);
054:
055: public java.lang.String getLogin()
056: throws com.liferay.portal.SystemException,
057: com.liferay.portal.PortalException;
058:
059: public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
060: throws com.liferay.portal.SystemException,
061: com.liferay.portal.PortalException;
062:
063: public java.lang.String getPasswordUnencrypted();
064:
065: public void setPasswordUnencrypted(
066: java.lang.String passwordUnencrypted);
067:
068: public boolean getPasswordModified();
069:
070: public boolean isPasswordModified();
071:
072: public void setPasswordModified(boolean passwordModified);
073:
074: public java.util.Locale getLocale();
075:
076: public void setLanguageId(java.lang.String languageId);
077:
078: public java.util.TimeZone getTimeZone();
079:
080: public void setTimeZoneId(java.lang.String timeZoneId);
081:
082: public com.liferay.portal.model.Contact getContact();
083:
084: public java.lang.String getFirstName();
085:
086: public java.lang.String getMiddleName();
087:
088: public java.lang.String getLastName();
089:
090: public java.lang.String getFullName();
091:
092: public boolean getMale();
093:
094: public boolean isMale();
095:
096: public boolean getFemale();
097:
098: public boolean isFemale();
099:
100: public java.util.Date getBirthday();
101:
102: public com.liferay.portal.model.Group getGroup();
103:
104: public com.liferay.portal.model.Organization getOrganization();
105:
106: public long[] getOrganizationIds();
107:
108: public java.util.List getOrganizations();
109:
110: public boolean hasOrganization();
111:
112: public com.liferay.portal.model.Organization getLocation();
113:
114: public long getLocationId();
115:
116: public boolean hasLocation();
117:
118: public int getPrivateLayoutsPageCount();
119:
120: public boolean hasPrivateLayouts();
121:
122: public int getPublicLayoutsPageCount();
123:
124: public boolean hasPublicLayouts();
125:
126: public boolean isLayoutsRequired();
127:
128: public java.util.List getMyPlaces();
129:
130: public boolean hasMyPlaces();
131:
132: public java.lang.String getDisplayURL(java.lang.String portalURL);
133: }
|