001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Company}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Company
024     * @generated
025     */
026    public class CompanyWrapper implements Company {
027            public CompanyWrapper(Company company) {
028                    _company = company;
029            }
030    
031            /**
032            * Gets the primary key of this company.
033            *
034            * @return the primary key of this company
035            */
036            public long getPrimaryKey() {
037                    return _company.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this company
042            *
043            * @param pk the primary key of this company
044            */
045            public void setPrimaryKey(long pk) {
046                    _company.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the company id of this company.
051            *
052            * @return the company id of this company
053            */
054            public long getCompanyId() {
055                    return _company.getCompanyId();
056            }
057    
058            /**
059            * Sets the company id of this company.
060            *
061            * @param companyId the company id of this company
062            */
063            public void setCompanyId(long companyId) {
064                    _company.setCompanyId(companyId);
065            }
066    
067            /**
068            * Gets the account id of this company.
069            *
070            * @return the account id of this company
071            */
072            public long getAccountId() {
073                    return _company.getAccountId();
074            }
075    
076            /**
077            * Sets the account id of this company.
078            *
079            * @param accountId the account id of this company
080            */
081            public void setAccountId(long accountId) {
082                    _company.setAccountId(accountId);
083            }
084    
085            /**
086            * Gets the web id of this company.
087            *
088            * @return the web id of this company
089            */
090            public java.lang.String getWebId() {
091                    return _company.getWebId();
092            }
093    
094            /**
095            * Sets the web id of this company.
096            *
097            * @param webId the web id of this company
098            */
099            public void setWebId(java.lang.String webId) {
100                    _company.setWebId(webId);
101            }
102    
103            /**
104            * Gets the key of this company.
105            *
106            * @return the key of this company
107            */
108            public java.lang.String getKey() {
109                    return _company.getKey();
110            }
111    
112            /**
113            * Sets the key of this company.
114            *
115            * @param key the key of this company
116            */
117            public void setKey(java.lang.String key) {
118                    _company.setKey(key);
119            }
120    
121            /**
122            * Gets the virtual host of this company.
123            *
124            * @return the virtual host of this company
125            */
126            public java.lang.String getVirtualHost() {
127                    return _company.getVirtualHost();
128            }
129    
130            /**
131            * Sets the virtual host of this company.
132            *
133            * @param virtualHost the virtual host of this company
134            */
135            public void setVirtualHost(java.lang.String virtualHost) {
136                    _company.setVirtualHost(virtualHost);
137            }
138    
139            /**
140            * Gets the mx of this company.
141            *
142            * @return the mx of this company
143            */
144            public java.lang.String getMx() {
145                    return _company.getMx();
146            }
147    
148            /**
149            * Sets the mx of this company.
150            *
151            * @param mx the mx of this company
152            */
153            public void setMx(java.lang.String mx) {
154                    _company.setMx(mx);
155            }
156    
157            /**
158            * Gets the home u r l of this company.
159            *
160            * @return the home u r l of this company
161            */
162            public java.lang.String getHomeURL() {
163                    return _company.getHomeURL();
164            }
165    
166            /**
167            * Sets the home u r l of this company.
168            *
169            * @param homeURL the home u r l of this company
170            */
171            public void setHomeURL(java.lang.String homeURL) {
172                    _company.setHomeURL(homeURL);
173            }
174    
175            /**
176            * Gets the logo id of this company.
177            *
178            * @return the logo id of this company
179            */
180            public long getLogoId() {
181                    return _company.getLogoId();
182            }
183    
184            /**
185            * Sets the logo id of this company.
186            *
187            * @param logoId the logo id of this company
188            */
189            public void setLogoId(long logoId) {
190                    _company.setLogoId(logoId);
191            }
192    
193            /**
194            * Gets the system of this company.
195            *
196            * @return the system of this company
197            */
198            public boolean getSystem() {
199                    return _company.getSystem();
200            }
201    
202            /**
203            * Determines whether this company is system.
204            *
205            * @return whether this company is system
206            */
207            public boolean isSystem() {
208                    return _company.isSystem();
209            }
210    
211            /**
212            * Sets whether this {$entity.humanName} is system.
213            *
214            * @param system the system of this company
215            */
216            public void setSystem(boolean system) {
217                    _company.setSystem(system);
218            }
219    
220            /**
221            * Gets the max users of this company.
222            *
223            * @return the max users of this company
224            */
225            public int getMaxUsers() {
226                    return _company.getMaxUsers();
227            }
228    
229            /**
230            * Sets the max users of this company.
231            *
232            * @param maxUsers the max users of this company
233            */
234            public void setMaxUsers(int maxUsers) {
235                    _company.setMaxUsers(maxUsers);
236            }
237    
238            public boolean isNew() {
239                    return _company.isNew();
240            }
241    
242            public void setNew(boolean n) {
243                    _company.setNew(n);
244            }
245    
246            public boolean isCachedModel() {
247                    return _company.isCachedModel();
248            }
249    
250            public void setCachedModel(boolean cachedModel) {
251                    _company.setCachedModel(cachedModel);
252            }
253    
254            public boolean isEscapedModel() {
255                    return _company.isEscapedModel();
256            }
257    
258            public void setEscapedModel(boolean escapedModel) {
259                    _company.setEscapedModel(escapedModel);
260            }
261    
262            public java.io.Serializable getPrimaryKeyObj() {
263                    return _company.getPrimaryKeyObj();
264            }
265    
266            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
267                    return _company.getExpandoBridge();
268            }
269    
270            public void setExpandoBridgeAttributes(
271                    com.liferay.portal.service.ServiceContext serviceContext) {
272                    _company.setExpandoBridgeAttributes(serviceContext);
273            }
274    
275            public java.lang.Object clone() {
276                    return _company.clone();
277            }
278    
279            public int compareTo(com.liferay.portal.model.Company company) {
280                    return _company.compareTo(company);
281            }
282    
283            public int hashCode() {
284                    return _company.hashCode();
285            }
286    
287            public com.liferay.portal.model.Company toEscapedModel() {
288                    return _company.toEscapedModel();
289            }
290    
291            public java.lang.String toString() {
292                    return _company.toString();
293            }
294    
295            public java.lang.String toXmlString() {
296                    return _company.toXmlString();
297            }
298    
299            public com.liferay.portal.model.Account getAccount()
300                    throws com.liferay.portal.kernel.exception.PortalException,
301                            com.liferay.portal.kernel.exception.SystemException {
302                    return _company.getAccount();
303            }
304    
305            public java.lang.String getAdminName() {
306                    return _company.getAdminName();
307            }
308    
309            public java.lang.String getAuthType()
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    return _company.getAuthType();
312            }
313    
314            public com.liferay.portal.model.User getDefaultUser()
315                    throws com.liferay.portal.kernel.exception.PortalException,
316                            com.liferay.portal.kernel.exception.SystemException {
317                    return _company.getDefaultUser();
318            }
319    
320            public java.lang.String getDefaultWebId() {
321                    return _company.getDefaultWebId();
322            }
323    
324            public java.lang.String getEmailAddress() {
325                    return _company.getEmailAddress();
326            }
327    
328            public com.liferay.portal.model.Group getGroup()
329                    throws com.liferay.portal.kernel.exception.PortalException,
330                            com.liferay.portal.kernel.exception.SystemException {
331                    return _company.getGroup();
332            }
333    
334            public java.security.Key getKeyObj() {
335                    return _company.getKeyObj();
336            }
337    
338            public java.util.Locale getLocale()
339                    throws com.liferay.portal.kernel.exception.PortalException,
340                            com.liferay.portal.kernel.exception.SystemException {
341                    return _company.getLocale();
342            }
343    
344            public java.lang.String getName()
345                    throws com.liferay.portal.kernel.exception.PortalException,
346                            com.liferay.portal.kernel.exception.SystemException {
347                    return _company.getName();
348            }
349    
350            public java.lang.String getShardName()
351                    throws com.liferay.portal.kernel.exception.PortalException,
352                            com.liferay.portal.kernel.exception.SystemException {
353                    return _company.getShardName();
354            }
355    
356            public java.lang.String getShortName()
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    return _company.getShortName();
360            }
361    
362            public java.util.TimeZone getTimeZone()
363                    throws com.liferay.portal.kernel.exception.PortalException,
364                            com.liferay.portal.kernel.exception.SystemException {
365                    return _company.getTimeZone();
366            }
367    
368            public boolean hasCompanyMx(java.lang.String emailAddress)
369                    throws com.liferay.portal.kernel.exception.SystemException {
370                    return _company.hasCompanyMx(emailAddress);
371            }
372    
373            public boolean isAutoLogin()
374                    throws com.liferay.portal.kernel.exception.SystemException {
375                    return _company.isAutoLogin();
376            }
377    
378            public boolean isCommunityLogo()
379                    throws com.liferay.portal.kernel.exception.SystemException {
380                    return _company.isCommunityLogo();
381            }
382    
383            public boolean isSendPassword()
384                    throws com.liferay.portal.kernel.exception.SystemException {
385                    return _company.isSendPassword();
386            }
387    
388            public boolean isSendPasswordResetLink()
389                    throws com.liferay.portal.kernel.exception.SystemException {
390                    return _company.isSendPasswordResetLink();
391            }
392    
393            public boolean isStrangers()
394                    throws com.liferay.portal.kernel.exception.SystemException {
395                    return _company.isStrangers();
396            }
397    
398            public boolean isStrangersVerify()
399                    throws com.liferay.portal.kernel.exception.SystemException {
400                    return _company.isStrangersVerify();
401            }
402    
403            public boolean isStrangersWithMx()
404                    throws com.liferay.portal.kernel.exception.SystemException {
405                    return _company.isStrangersWithMx();
406            }
407    
408            public void setKeyObj(java.security.Key keyObj) {
409                    _company.setKeyObj(keyObj);
410            }
411    
412            public Company getWrappedCompany() {
413                    return _company;
414            }
415    
416            private Company _company;
417    }