001    /**
002     * Copyright (c) 2000-2012 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 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 getPortalURL(long groupId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.lang.String getShardName()
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException;
072    
073            public java.lang.String getShortName()
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException;
076    
077            public java.util.TimeZone getTimeZone()
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            public java.lang.String getVirtualHostname();
082    
083            public boolean hasCompanyMx(java.lang.String emailAddress)
084                    throws com.liferay.portal.kernel.exception.SystemException;
085    
086            public boolean isAutoLogin()
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 isSiteLogo()
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public boolean isStrangers()
099                    throws com.liferay.portal.kernel.exception.SystemException;
100    
101            public boolean isStrangersVerify()
102                    throws com.liferay.portal.kernel.exception.SystemException;
103    
104            public boolean isStrangersWithMx()
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            public void setKey(java.lang.String key);
108    
109            public void setKeyObj(java.security.Key keyObj);
110    }