1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="Company.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the Company table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portal.model.impl.CompanyImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       CompanyModel
38   * @see       com.liferay.portal.model.impl.CompanyImpl
39   * @see       com.liferay.portal.model.impl.CompanyModelImpl
40   * @generated
41   */
42  public interface Company extends CompanyModel {
43      public int compareTo(com.liferay.portal.model.Company company);
44  
45      public com.liferay.portal.model.Account getAccount()
46          throws com.liferay.portal.kernel.exception.PortalException,
47              com.liferay.portal.kernel.exception.SystemException;
48  
49      public java.lang.String getAdminName();
50  
51      public java.lang.String getAuthType()
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portal.model.User getDefaultUser()
55          throws com.liferay.portal.kernel.exception.PortalException,
56              com.liferay.portal.kernel.exception.SystemException;
57  
58      public java.lang.String getDefaultWebId();
59  
60      public java.lang.String getEmailAddress();
61  
62      public com.liferay.portal.model.Group getGroup()
63          throws com.liferay.portal.kernel.exception.PortalException,
64              com.liferay.portal.kernel.exception.SystemException;
65  
66      public java.security.Key getKeyObj();
67  
68      public java.util.Locale getLocale()
69          throws com.liferay.portal.kernel.exception.PortalException,
70              com.liferay.portal.kernel.exception.SystemException;
71  
72      public java.lang.String getName()
73          throws com.liferay.portal.kernel.exception.PortalException,
74              com.liferay.portal.kernel.exception.SystemException;
75  
76      public java.lang.String getShardName()
77          throws com.liferay.portal.kernel.exception.PortalException,
78              com.liferay.portal.kernel.exception.SystemException;
79  
80      public java.lang.String getShortName()
81          throws com.liferay.portal.kernel.exception.PortalException,
82              com.liferay.portal.kernel.exception.SystemException;
83  
84      public java.util.TimeZone getTimeZone()
85          throws com.liferay.portal.kernel.exception.PortalException,
86              com.liferay.portal.kernel.exception.SystemException;
87  
88      public boolean hasCompanyMx(java.lang.String emailAddress)
89          throws com.liferay.portal.kernel.exception.SystemException;
90  
91      public boolean isAutoLogin()
92          throws com.liferay.portal.kernel.exception.SystemException;
93  
94      public boolean isCommunityLogo()
95          throws com.liferay.portal.kernel.exception.SystemException;
96  
97      public boolean isSendPassword()
98          throws com.liferay.portal.kernel.exception.SystemException;
99  
100     public boolean isSendPasswordResetLink()
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public boolean isStrangers()
104         throws com.liferay.portal.kernel.exception.SystemException;
105 
106     public boolean isStrangersVerify()
107         throws com.liferay.portal.kernel.exception.SystemException;
108 
109     public boolean isStrangersWithMx()
110         throws com.liferay.portal.kernel.exception.SystemException;
111 
112     public void setKey(java.lang.String key);
113 
114     public void setKeyObj(java.security.Key keyObj);
115 }