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