1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model;
24  
25  
26  /**
27   * <a href="CompanySoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link Company}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       Company
40   * @generated
41   */
42  public class CompanyWrapper implements Company {
43      public CompanyWrapper(Company company) {
44          _company = company;
45      }
46  
47      public long getPrimaryKey() {
48          return _company.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _company.setPrimaryKey(pk);
53      }
54  
55      public long getCompanyId() {
56          return _company.getCompanyId();
57      }
58  
59      public void setCompanyId(long companyId) {
60          _company.setCompanyId(companyId);
61      }
62  
63      public long getAccountId() {
64          return _company.getAccountId();
65      }
66  
67      public void setAccountId(long accountId) {
68          _company.setAccountId(accountId);
69      }
70  
71      public java.lang.String getWebId() {
72          return _company.getWebId();
73      }
74  
75      public void setWebId(java.lang.String webId) {
76          _company.setWebId(webId);
77      }
78  
79      public java.lang.String getKey() {
80          return _company.getKey();
81      }
82  
83      public void setKey(java.lang.String key) {
84          _company.setKey(key);
85      }
86  
87      public java.lang.String getVirtualHost() {
88          return _company.getVirtualHost();
89      }
90  
91      public void setVirtualHost(java.lang.String virtualHost) {
92          _company.setVirtualHost(virtualHost);
93      }
94  
95      public java.lang.String getMx() {
96          return _company.getMx();
97      }
98  
99      public void setMx(java.lang.String mx) {
100         _company.setMx(mx);
101     }
102 
103     public java.lang.String getHomeURL() {
104         return _company.getHomeURL();
105     }
106 
107     public void setHomeURL(java.lang.String homeURL) {
108         _company.setHomeURL(homeURL);
109     }
110 
111     public long getLogoId() {
112         return _company.getLogoId();
113     }
114 
115     public void setLogoId(long logoId) {
116         _company.setLogoId(logoId);
117     }
118 
119     public boolean getSystem() {
120         return _company.getSystem();
121     }
122 
123     public boolean isSystem() {
124         return _company.isSystem();
125     }
126 
127     public void setSystem(boolean system) {
128         _company.setSystem(system);
129     }
130 
131     public com.liferay.portal.model.Company toEscapedModel() {
132         return _company.toEscapedModel();
133     }
134 
135     public boolean isNew() {
136         return _company.isNew();
137     }
138 
139     public boolean setNew(boolean n) {
140         return _company.setNew(n);
141     }
142 
143     public boolean isCachedModel() {
144         return _company.isCachedModel();
145     }
146 
147     public void setCachedModel(boolean cachedModel) {
148         _company.setCachedModel(cachedModel);
149     }
150 
151     public boolean isEscapedModel() {
152         return _company.isEscapedModel();
153     }
154 
155     public void setEscapedModel(boolean escapedModel) {
156         _company.setEscapedModel(escapedModel);
157     }
158 
159     public java.io.Serializable getPrimaryKeyObj() {
160         return _company.getPrimaryKeyObj();
161     }
162 
163     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
164         return _company.getExpandoBridge();
165     }
166 
167     public void setExpandoBridgeAttributes(
168         com.liferay.portal.service.ServiceContext serviceContext) {
169         _company.setExpandoBridgeAttributes(serviceContext);
170     }
171 
172     public java.lang.Object clone() {
173         return _company.clone();
174     }
175 
176     public int compareTo(com.liferay.portal.model.Company company) {
177         return _company.compareTo(company);
178     }
179 
180     public int hashCode() {
181         return _company.hashCode();
182     }
183 
184     public java.lang.String toString() {
185         return _company.toString();
186     }
187 
188     public java.lang.String toXmlString() {
189         return _company.toXmlString();
190     }
191 
192     public com.liferay.portal.model.Account getAccount() {
193         return _company.getAccount();
194     }
195 
196     public java.lang.String getAdminName() {
197         return _company.getAdminName();
198     }
199 
200     public java.lang.String getAuthType()
201         throws com.liferay.portal.SystemException {
202         return _company.getAuthType();
203     }
204 
205     public com.liferay.portal.model.User getDefaultUser() {
206         return _company.getDefaultUser();
207     }
208 
209     public java.lang.String getDefaultWebId() {
210         return _company.getDefaultWebId();
211     }
212 
213     public java.lang.String getEmailAddress() {
214         return _company.getEmailAddress();
215     }
216 
217     public java.security.Key getKeyObj() {
218         return _company.getKeyObj();
219     }
220 
221     public java.util.Locale getLocale() {
222         return _company.getLocale();
223     }
224 
225     public java.lang.String getName() {
226         return _company.getName();
227     }
228 
229     public java.lang.String getShardName() {
230         return _company.getShardName();
231     }
232 
233     public java.lang.String getShortName() {
234         return _company.getShortName();
235     }
236 
237     public java.util.TimeZone getTimeZone() {
238         return _company.getTimeZone();
239     }
240 
241     public boolean hasCompanyMx(java.lang.String emailAddress) {
242         return _company.hasCompanyMx(emailAddress);
243     }
244 
245     public boolean isAutoLogin() throws com.liferay.portal.SystemException {
246         return _company.isAutoLogin();
247     }
248 
249     public boolean isCommunityLogo() throws com.liferay.portal.SystemException {
250         return _company.isCommunityLogo();
251     }
252 
253     public boolean isSendPassword() throws com.liferay.portal.SystemException {
254         return _company.isSendPassword();
255     }
256 
257     public boolean isStrangers() throws com.liferay.portal.SystemException {
258         return _company.isStrangers();
259     }
260 
261     public boolean isStrangersVerify()
262         throws com.liferay.portal.SystemException {
263         return _company.isStrangersVerify();
264     }
265 
266     public boolean isStrangersWithMx()
267         throws com.liferay.portal.SystemException {
268         return _company.isStrangersWithMx();
269     }
270 
271     public void setKeyObj(java.security.Key keyObj) {
272         _company.setKeyObj(keyObj);
273     }
274 
275     public Company getWrappedCompany() {
276         return _company;
277     }
278 
279     private Company _company;
280 }