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