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 long getGroupId()
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException;
056    
057            public java.security.Key getKeyObj();
058    
059            public java.util.Locale getLocale()
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException;
062    
063            @com.liferay.portal.kernel.bean.AutoEscape()
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 getPortalURL(long groupId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException;
071    
072            public java.lang.String getShardName()
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException;
075    
076            public java.lang.String getShortName()
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException;
079    
080            public java.util.TimeZone getTimeZone()
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException;
083    
084            public java.lang.String getVirtualHostname();
085    
086            public boolean hasCompanyMx(java.lang.String emailAddress)
087                    throws com.liferay.portal.kernel.exception.SystemException;
088    
089            public boolean isAutoLogin()
090                    throws com.liferay.portal.kernel.exception.SystemException;
091    
092            public boolean isSendPassword()
093                    throws com.liferay.portal.kernel.exception.SystemException;
094    
095            public boolean isSendPasswordResetLink()
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public boolean isSiteLogo()
099                    throws com.liferay.portal.kernel.exception.SystemException;
100    
101            public boolean isStrangers()
102                    throws com.liferay.portal.kernel.exception.SystemException;
103    
104            public boolean isStrangersVerify()
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            public boolean isStrangersWithMx()
108                    throws com.liferay.portal.kernel.exception.SystemException;
109    
110            public void setKeyObj(java.security.Key keyObj);
111    
112            public void setVirtualHostname(java.lang.String virtualHostname);
113    }