001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * 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.
021     *
022     * @author Brian Wing Shun Chan
023     * @see CompanyModel
024     * @see com.liferay.portal.model.impl.CompanyImpl
025     * @see com.liferay.portal.model.impl.CompanyModelImpl
026     * @generated
027     */
028    @ProviderType
029    public interface Company extends CompanyModel, PersistedModel {
030            /*
031             * NOTE FOR DEVELOPERS:
032             *
033             * 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.
034             */
035            public com.liferay.portal.model.Account getAccount()
036                    throws com.liferay.portal.kernel.exception.PortalException;
037    
038            public java.lang.String getAdminName();
039    
040            public java.lang.String getAuthType();
041    
042            public com.liferay.portal.model.User getDefaultUser()
043                    throws com.liferay.portal.kernel.exception.PortalException;
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    
052            public long getGroupId()
053                    throws com.liferay.portal.kernel.exception.PortalException;
054    
055            public java.security.Key getKeyObj();
056    
057            public java.util.Locale getLocale()
058                    throws com.liferay.portal.kernel.exception.PortalException;
059    
060            @com.liferay.portal.kernel.bean.AutoEscape()
061            public java.lang.String getName()
062                    throws com.liferay.portal.kernel.exception.PortalException;
063    
064            public java.lang.String getPortalURL(long groupId)
065                    throws com.liferay.portal.kernel.exception.PortalException;
066    
067            public java.lang.String getShardName()
068                    throws com.liferay.portal.kernel.exception.PortalException;
069    
070            public java.lang.String getShortName()
071                    throws com.liferay.portal.kernel.exception.PortalException;
072    
073            public java.util.TimeZone getTimeZone()
074                    throws com.liferay.portal.kernel.exception.PortalException;
075    
076            public java.lang.String getVirtualHostname();
077    
078            public boolean hasCompanyMx(java.lang.String emailAddress);
079    
080            public boolean isAutoLogin();
081    
082            public boolean isSendPassword();
083    
084            public boolean isSendPasswordResetLink();
085    
086            public boolean isSiteLogo();
087    
088            public boolean isStrangers();
089    
090            public boolean isStrangersVerify();
091    
092            public boolean isStrangersWithMx();
093    
094            public void setKeyObj(java.security.Key keyObj);
095    
096            public void setVirtualHostname(java.lang.String virtualHostname);
097    }