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