001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * The extended model interface for the Company service. Represents a row in the "Company" database table, with each column mapped to a property of this class.
019     *
020     * @author Brian Wing Shun Chan
021     * @see CompanyModel
022     * @see com.liferay.portal.model.impl.CompanyImpl
023     * @see com.liferay.portal.model.impl.CompanyModelImpl
024     * @generated
025     */
026    public interface Company extends CompanyModel, PersistedModel {
027            /*
028             * NOTE FOR DEVELOPERS:
029             *
030             * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.CompanyImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
031             */
032            public int compareTo(com.liferay.portal.model.Company company);
033    
034            public com.liferay.portal.model.Account getAccount()
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException;
037    
038            public java.lang.String getAdminName();
039    
040            public java.lang.String getAuthType()
041                    throws com.liferay.portal.kernel.exception.SystemException;
042    
043            public com.liferay.portal.model.User getDefaultUser()
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException;
046    
047            public java.lang.String getDefaultWebId();
048    
049            public java.lang.String getEmailAddress();
050    
051            public com.liferay.portal.model.Group getGroup()
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException;
054    
055            public java.security.Key getKeyObj();
056    
057            public java.util.Locale getLocale()
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException;
060    
061            public java.lang.String getName()
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException;
064    
065            public java.lang.String getShardName()
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.lang.String getShortName()
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException;
072    
073            public java.util.TimeZone getTimeZone()
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException;
076    
077            public java.lang.String getVirtualHostname();
078    
079            public boolean hasCompanyMx(java.lang.String emailAddress)
080                    throws com.liferay.portal.kernel.exception.SystemException;
081    
082            public boolean isAutoLogin()
083                    throws com.liferay.portal.kernel.exception.SystemException;
084    
085            public boolean isSendPassword()
086                    throws com.liferay.portal.kernel.exception.SystemException;
087    
088            public boolean isSendPasswordResetLink()
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public boolean isSiteLogo()
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    
094            public boolean isStrangers()
095                    throws com.liferay.portal.kernel.exception.SystemException;
096    
097            public boolean isStrangersVerify()
098                    throws com.liferay.portal.kernel.exception.SystemException;
099    
100            public boolean isStrangersWithMx()
101                    throws com.liferay.portal.kernel.exception.SystemException;
102    
103            public void setKey(java.lang.String key);
104    
105            public void setKeyObj(java.security.Key keyObj);
106    }