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    /**
019     * <p>
020     * This interface is a model that represents the Company table in the
021     * database.
022     * </p>
023     *
024     * <p>
025     * Customize {@link com.liferay.portal.model.impl.CompanyImpl} and rerun the
026     * ServiceBuilder to generate the new methods.
027     * </p>
028     *
029     * @author    Brian Wing Shun Chan
030     * @see       CompanyModel
031     * @see       com.liferay.portal.model.impl.CompanyImpl
032     * @see       com.liferay.portal.model.impl.CompanyModelImpl
033     * @generated
034     */
035    public interface Company extends CompanyModel {
036            public int compareTo(com.liferay.portal.model.Company company);
037    
038            public com.liferay.portal.model.Account getAccount()
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException;
041    
042            public java.lang.String getAdminName();
043    
044            public java.lang.String getAuthType()
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portal.model.User getDefaultUser()
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException;
050    
051            public java.lang.String getDefaultWebId();
052    
053            public java.lang.String getEmailAddress();
054    
055            public com.liferay.portal.model.Group getGroup()
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException;
058    
059            public java.security.Key getKeyObj();
060    
061            public java.util.Locale getLocale()
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException;
064    
065            public java.lang.String getName()
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.lang.String getShardName()
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException;
072    
073            public java.lang.String getShortName()
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException;
076    
077            public java.util.TimeZone getTimeZone()
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            public boolean hasCompanyMx(java.lang.String emailAddress)
082                    throws com.liferay.portal.kernel.exception.SystemException;
083    
084            public boolean isAutoLogin()
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            public boolean isCommunityLogo()
088                    throws com.liferay.portal.kernel.exception.SystemException;
089    
090            public boolean isSendPassword()
091                    throws com.liferay.portal.kernel.exception.SystemException;
092    
093            public boolean isSendPasswordResetLink()
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            public boolean isStrangers()
097                    throws com.liferay.portal.kernel.exception.SystemException;
098    
099            public boolean isStrangersVerify()
100                    throws com.liferay.portal.kernel.exception.SystemException;
101    
102            public boolean isStrangersWithMx()
103                    throws com.liferay.portal.kernel.exception.SystemException;
104    
105            public void setKey(java.lang.String key);
106    
107            public void setKeyObj(java.security.Key keyObj);
108    }