001    /**
002     * Copyright (c) 2000-2013 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 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 com.liferay.portal.model.Account getAccount()
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException;
035    
036            public java.lang.String getAdminName();
037    
038            public java.lang.String getAuthType()
039                    throws com.liferay.portal.kernel.exception.SystemException;
040    
041            public com.liferay.portal.model.User getDefaultUser()
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException;
044    
045            public java.lang.String getDefaultWebId();
046    
047            public java.lang.String getEmailAddress();
048    
049            public com.liferay.portal.model.Group getGroup()
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException;
052    
053            public java.security.Key getKeyObj();
054    
055            public java.util.Locale getLocale()
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException;
058    
059            @com.liferay.portal.kernel.bean.AutoEscape()
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 getPortalURL(long groupId)
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 java.lang.String getVirtualHostname();
081    
082            public boolean hasCompanyMx(java.lang.String emailAddress)
083                    throws com.liferay.portal.kernel.exception.SystemException;
084    
085            public boolean isAutoLogin()
086                    throws com.liferay.portal.kernel.exception.SystemException;
087    
088            public boolean isSendPassword()
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public boolean isSendPasswordResetLink()
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    
094            public boolean isSiteLogo()
095                    throws com.liferay.portal.kernel.exception.SystemException;
096    
097            public boolean isStrangers()
098                    throws com.liferay.portal.kernel.exception.SystemException;
099    
100            public boolean isStrangersVerify()
101                    throws com.liferay.portal.kernel.exception.SystemException;
102    
103            public boolean isStrangersWithMx()
104                    throws com.liferay.portal.kernel.exception.SystemException;
105    
106            public void setKeyObj(java.security.Key keyObj);
107    
108            public void setVirtualHostname(java.lang.String virtualHostname);
109    }