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  
47      public java.lang.String getAdminName();
48  
49      public java.lang.String getAuthType()
50          throws com.liferay.portal.kernel.exception.SystemException;
51  
52      public com.liferay.portal.model.User getDefaultUser();
53  
54      public java.lang.String getDefaultWebId();
55  
56      public java.lang.String getEmailAddress();
57  
58      public com.liferay.portal.model.Group getGroup();
59  
60      public java.security.Key getKeyObj();
61  
62      public java.util.Locale getLocale();
63  
64      public java.lang.String getName();
65  
66      public java.lang.String getShardName();
67  
68      public java.lang.String getShortName();
69  
70      public java.util.TimeZone getTimeZone();
71  
72      public boolean hasCompanyMx(java.lang.String emailAddress);
73  
74      public boolean isAutoLogin()
75          throws com.liferay.portal.kernel.exception.SystemException;
76  
77      public boolean isCommunityLogo()
78          throws com.liferay.portal.kernel.exception.SystemException;
79  
80      public boolean isSendPassword()
81          throws com.liferay.portal.kernel.exception.SystemException;
82  
83      public boolean isStrangers()
84          throws com.liferay.portal.kernel.exception.SystemException;
85  
86      public boolean isStrangersVerify()
87          throws com.liferay.portal.kernel.exception.SystemException;
88  
89      public boolean isStrangersWithMx()
90          throws com.liferay.portal.kernel.exception.SystemException;
91  
92      public void setKey(java.lang.String key);
93  
94      public void setKeyObj(java.security.Key keyObj);
95  }