001    /**
002     * Copyright (c) 2000-2012 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    /**
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, ModelWrapper<Company> {
027            public CompanyWrapper(Company company) {
028                    _company = company;
029            }
030    
031            public Class<?> getModelClass() {
032                    return Company.class;
033            }
034    
035            public String getModelClassName() {
036                    return Company.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this company.
041            *
042            * @return the primary key of this company
043            */
044            public long getPrimaryKey() {
045                    return _company.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this company.
050            *
051            * @param primaryKey the primary key of this company
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _company.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the company ID of this company.
059            *
060            * @return the company ID of this company
061            */
062            public long getCompanyId() {
063                    return _company.getCompanyId();
064            }
065    
066            /**
067            * Sets the company ID of this company.
068            *
069            * @param companyId the company ID of this company
070            */
071            public void setCompanyId(long companyId) {
072                    _company.setCompanyId(companyId);
073            }
074    
075            /**
076            * Returns the account ID of this company.
077            *
078            * @return the account ID of this company
079            */
080            public long getAccountId() {
081                    return _company.getAccountId();
082            }
083    
084            /**
085            * Sets the account ID of this company.
086            *
087            * @param accountId the account ID of this company
088            */
089            public void setAccountId(long accountId) {
090                    _company.setAccountId(accountId);
091            }
092    
093            /**
094            * Returns the web ID of this company.
095            *
096            * @return the web ID of this company
097            */
098            public java.lang.String getWebId() {
099                    return _company.getWebId();
100            }
101    
102            /**
103            * Sets the web ID of this company.
104            *
105            * @param webId the web ID of this company
106            */
107            public void setWebId(java.lang.String webId) {
108                    _company.setWebId(webId);
109            }
110    
111            /**
112            * Returns the key of this company.
113            *
114            * @return the key of this company
115            */
116            public java.lang.String getKey() {
117                    return _company.getKey();
118            }
119    
120            /**
121            * Sets the key of this company.
122            *
123            * @param key the key of this company
124            */
125            public void setKey(java.lang.String key) {
126                    _company.setKey(key);
127            }
128    
129            /**
130            * Returns the mx of this company.
131            *
132            * @return the mx of this company
133            */
134            public java.lang.String getMx() {
135                    return _company.getMx();
136            }
137    
138            /**
139            * Sets the mx of this company.
140            *
141            * @param mx the mx of this company
142            */
143            public void setMx(java.lang.String mx) {
144                    _company.setMx(mx);
145            }
146    
147            /**
148            * Returns the home u r l of this company.
149            *
150            * @return the home u r l of this company
151            */
152            public java.lang.String getHomeURL() {
153                    return _company.getHomeURL();
154            }
155    
156            /**
157            * Sets the home u r l of this company.
158            *
159            * @param homeURL the home u r l of this company
160            */
161            public void setHomeURL(java.lang.String homeURL) {
162                    _company.setHomeURL(homeURL);
163            }
164    
165            /**
166            * Returns the logo ID of this company.
167            *
168            * @return the logo ID of this company
169            */
170            public long getLogoId() {
171                    return _company.getLogoId();
172            }
173    
174            /**
175            * Sets the logo ID of this company.
176            *
177            * @param logoId the logo ID of this company
178            */
179            public void setLogoId(long logoId) {
180                    _company.setLogoId(logoId);
181            }
182    
183            /**
184            * Returns the system of this company.
185            *
186            * @return the system of this company
187            */
188            public boolean getSystem() {
189                    return _company.getSystem();
190            }
191    
192            /**
193            * Returns <code>true</code> if this company is system.
194            *
195            * @return <code>true</code> if this company is system; <code>false</code> otherwise
196            */
197            public boolean isSystem() {
198                    return _company.isSystem();
199            }
200    
201            /**
202            * Sets whether this company is system.
203            *
204            * @param system the system of this company
205            */
206            public void setSystem(boolean system) {
207                    _company.setSystem(system);
208            }
209    
210            /**
211            * Returns the max users of this company.
212            *
213            * @return the max users of this company
214            */
215            public int getMaxUsers() {
216                    return _company.getMaxUsers();
217            }
218    
219            /**
220            * Sets the max users of this company.
221            *
222            * @param maxUsers the max users of this company
223            */
224            public void setMaxUsers(int maxUsers) {
225                    _company.setMaxUsers(maxUsers);
226            }
227    
228            /**
229            * Returns the active of this company.
230            *
231            * @return the active of this company
232            */
233            public boolean getActive() {
234                    return _company.getActive();
235            }
236    
237            /**
238            * Returns <code>true</code> if this company is active.
239            *
240            * @return <code>true</code> if this company is active; <code>false</code> otherwise
241            */
242            public boolean isActive() {
243                    return _company.isActive();
244            }
245    
246            /**
247            * Sets whether this company is active.
248            *
249            * @param active the active of this company
250            */
251            public void setActive(boolean active) {
252                    _company.setActive(active);
253            }
254    
255            public boolean isNew() {
256                    return _company.isNew();
257            }
258    
259            public void setNew(boolean n) {
260                    _company.setNew(n);
261            }
262    
263            public boolean isCachedModel() {
264                    return _company.isCachedModel();
265            }
266    
267            public void setCachedModel(boolean cachedModel) {
268                    _company.setCachedModel(cachedModel);
269            }
270    
271            public boolean isEscapedModel() {
272                    return _company.isEscapedModel();
273            }
274    
275            public java.io.Serializable getPrimaryKeyObj() {
276                    return _company.getPrimaryKeyObj();
277            }
278    
279            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
280                    _company.setPrimaryKeyObj(primaryKeyObj);
281            }
282    
283            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
284                    return _company.getExpandoBridge();
285            }
286    
287            public void setExpandoBridgeAttributes(
288                    com.liferay.portal.service.ServiceContext serviceContext) {
289                    _company.setExpandoBridgeAttributes(serviceContext);
290            }
291    
292            @Override
293            public java.lang.Object clone() {
294                    return new CompanyWrapper((Company)_company.clone());
295            }
296    
297            public int compareTo(com.liferay.portal.model.Company company) {
298                    return _company.compareTo(company);
299            }
300    
301            @Override
302            public int hashCode() {
303                    return _company.hashCode();
304            }
305    
306            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Company> toCacheModel() {
307                    return _company.toCacheModel();
308            }
309    
310            public com.liferay.portal.model.Company toEscapedModel() {
311                    return new CompanyWrapper(_company.toEscapedModel());
312            }
313    
314            @Override
315            public java.lang.String toString() {
316                    return _company.toString();
317            }
318    
319            public java.lang.String toXmlString() {
320                    return _company.toXmlString();
321            }
322    
323            public void persist()
324                    throws com.liferay.portal.kernel.exception.SystemException {
325                    _company.persist();
326            }
327    
328            public com.liferay.portal.model.Account getAccount()
329                    throws com.liferay.portal.kernel.exception.PortalException,
330                            com.liferay.portal.kernel.exception.SystemException {
331                    return _company.getAccount();
332            }
333    
334            public java.lang.String getAdminName() {
335                    return _company.getAdminName();
336            }
337    
338            public java.lang.String getAuthType()
339                    throws com.liferay.portal.kernel.exception.SystemException {
340                    return _company.getAuthType();
341            }
342    
343            public com.liferay.portal.model.User getDefaultUser()
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException {
346                    return _company.getDefaultUser();
347            }
348    
349            public java.lang.String getDefaultWebId() {
350                    return _company.getDefaultWebId();
351            }
352    
353            public java.lang.String getEmailAddress() {
354                    return _company.getEmailAddress();
355            }
356    
357            public com.liferay.portal.model.Group getGroup()
358                    throws com.liferay.portal.kernel.exception.PortalException,
359                            com.liferay.portal.kernel.exception.SystemException {
360                    return _company.getGroup();
361            }
362    
363            public java.security.Key getKeyObj() {
364                    return _company.getKeyObj();
365            }
366    
367            public java.util.Locale getLocale()
368                    throws com.liferay.portal.kernel.exception.PortalException,
369                            com.liferay.portal.kernel.exception.SystemException {
370                    return _company.getLocale();
371            }
372    
373            public java.lang.String getName()
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException {
376                    return _company.getName();
377            }
378    
379            public java.lang.String getPortalURL(long groupId)
380                    throws com.liferay.portal.kernel.exception.PortalException,
381                            com.liferay.portal.kernel.exception.SystemException {
382                    return _company.getPortalURL(groupId);
383            }
384    
385            public java.lang.String getShardName()
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException {
388                    return _company.getShardName();
389            }
390    
391            public java.lang.String getShortName()
392                    throws com.liferay.portal.kernel.exception.PortalException,
393                            com.liferay.portal.kernel.exception.SystemException {
394                    return _company.getShortName();
395            }
396    
397            public java.util.TimeZone getTimeZone()
398                    throws com.liferay.portal.kernel.exception.PortalException,
399                            com.liferay.portal.kernel.exception.SystemException {
400                    return _company.getTimeZone();
401            }
402    
403            public java.lang.String getVirtualHostname() {
404                    return _company.getVirtualHostname();
405            }
406    
407            public boolean hasCompanyMx(java.lang.String emailAddress)
408                    throws com.liferay.portal.kernel.exception.SystemException {
409                    return _company.hasCompanyMx(emailAddress);
410            }
411    
412            public boolean isAutoLogin()
413                    throws com.liferay.portal.kernel.exception.SystemException {
414                    return _company.isAutoLogin();
415            }
416    
417            public boolean isSendPassword()
418                    throws com.liferay.portal.kernel.exception.SystemException {
419                    return _company.isSendPassword();
420            }
421    
422            public boolean isSendPasswordResetLink()
423                    throws com.liferay.portal.kernel.exception.SystemException {
424                    return _company.isSendPasswordResetLink();
425            }
426    
427            public boolean isSiteLogo()
428                    throws com.liferay.portal.kernel.exception.SystemException {
429                    return _company.isSiteLogo();
430            }
431    
432            public boolean isStrangers()
433                    throws com.liferay.portal.kernel.exception.SystemException {
434                    return _company.isStrangers();
435            }
436    
437            public boolean isStrangersVerify()
438                    throws com.liferay.portal.kernel.exception.SystemException {
439                    return _company.isStrangersVerify();
440            }
441    
442            public boolean isStrangersWithMx()
443                    throws com.liferay.portal.kernel.exception.SystemException {
444                    return _company.isStrangersWithMx();
445            }
446    
447            public void setKeyObj(java.security.Key keyObj) {
448                    _company.setKeyObj(keyObj);
449            }
450    
451            /**
452             * @deprecated Renamed to {@link #getWrappedModel}
453             */
454            public Company getWrappedCompany() {
455                    return _company;
456            }
457    
458            public Company getWrappedModel() {
459                    return _company;
460            }
461    
462            public void resetOriginalValues() {
463                    _company.resetOriginalValues();
464            }
465    
466            private Company _company;
467    }