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    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                            com.liferay.portal.kernel.exception.SystemException;
038    
039            public java.lang.String getAdminName();
040    
041            public java.lang.String getAuthType()
042                    throws com.liferay.portal.kernel.exception.SystemException;
043    
044            public com.liferay.portal.model.User getDefaultUser()
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException;
047    
048            public java.lang.String getDefaultWebId();
049    
050            public java.lang.String getEmailAddress();
051    
052            public com.liferay.portal.model.Group getGroup()
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException;
055    
056            public long getGroupId()
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.security.Key getKeyObj();
061    
062            public java.util.Locale getLocale()
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException;
065    
066            @com.liferay.portal.kernel.bean.AutoEscape()
067            public java.lang.String getName()
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException;
070    
071            public java.lang.String getPortalURL(long groupId)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException;
074    
075            public java.lang.String getShardName()
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException;
078    
079            public java.lang.String getShortName()
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException;
082    
083            public java.util.TimeZone getTimeZone()
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException;
086    
087            public java.lang.String getVirtualHostname();
088    
089            public boolean hasCompanyMx(java.lang.String emailAddress)
090                    throws com.liferay.portal.kernel.exception.SystemException;
091    
092            public boolean isAutoLogin()
093                    throws com.liferay.portal.kernel.exception.SystemException;
094    
095            public boolean isSendPassword()
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public boolean isSendPasswordResetLink()
099                    throws com.liferay.portal.kernel.exception.SystemException;
100    
101            public boolean isSiteLogo()
102                    throws com.liferay.portal.kernel.exception.SystemException;
103    
104            public boolean isStrangers()
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            public boolean isStrangersVerify()
108                    throws com.liferay.portal.kernel.exception.SystemException;
109    
110            public boolean isStrangersWithMx()
111                    throws com.liferay.portal.kernel.exception.SystemException;
112    
113            public void setKeyObj(java.security.Key keyObj);
114    
115            public void setVirtualHostname(java.lang.String virtualHostname);
116    }