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="Company.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>Company</code> table
033: * in the database.
034: * </p>
035: *
036: * <p>
037: * Customize <code>com.liferay.portal.service.model.impl.CompanyImpl</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.CompanyModel
044: * @see com.liferay.portal.service.model.impl.CompanyImpl
045: * @see com.liferay.portal.service.model.impl.CompanyModelImpl
046: *
047: */
048: public interface Company extends CompanyModel {
049: public void setKey(java.lang.String key);
050:
051: public java.security.Key getKeyObj();
052:
053: public void setKeyObj(java.security.Key keyObj);
054:
055: public com.liferay.portal.model.Account getAccount();
056:
057: public java.lang.String getName();
058:
059: public java.lang.String getShortName();
060:
061: public java.lang.String getEmailAddress();
062:
063: public com.liferay.portal.model.User getDefaultUser();
064:
065: public java.util.Locale getLocale();
066:
067: public java.util.TimeZone getTimeZone();
068:
069: public java.lang.String getAdminName();
070:
071: public java.lang.String getAuthType()
072: throws com.liferay.portal.SystemException,
073: com.liferay.portal.PortalException;
074:
075: public boolean isAutoLogin()
076: throws com.liferay.portal.SystemException,
077: com.liferay.portal.PortalException;
078:
079: public boolean isSendPassword()
080: throws com.liferay.portal.SystemException,
081: com.liferay.portal.PortalException;
082:
083: public boolean isStrangers()
084: throws com.liferay.portal.SystemException,
085: com.liferay.portal.PortalException;
086:
087: public boolean isStrangersWithMx()
088: throws com.liferay.portal.SystemException,
089: com.liferay.portal.PortalException;
090:
091: public boolean isStrangersVerify()
092: throws com.liferay.portal.SystemException,
093: com.liferay.portal.PortalException;
094:
095: public boolean isCommunityLogo()
096: throws com.liferay.portal.SystemException,
097: com.liferay.portal.PortalException;
098:
099: public boolean hasCompanyMx(java.lang.String emailAddress);
100:
101: public int compareTo(java.lang.Object obj);
102: }
|