001    /**
002     * Copyright (c) 2000-2011 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            public Class<?> getModelClass() {
032                    return Company.class;
033            }
034    
035            public String getModelClassName() {
036                    return Company.class.getName();
037            }
038    
039            /**
040            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Determines 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            * Gets 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            public boolean isNew() {
229                    return _company.isNew();
230            }
231    
232            public void setNew(boolean n) {
233                    _company.setNew(n);
234            }
235    
236            public boolean isCachedModel() {
237                    return _company.isCachedModel();
238            }
239    
240            public void setCachedModel(boolean cachedModel) {
241                    _company.setCachedModel(cachedModel);
242            }
243    
244            public boolean isEscapedModel() {
245                    return _company.isEscapedModel();
246            }
247    
248            public void setEscapedModel(boolean escapedModel) {
249                    _company.setEscapedModel(escapedModel);
250            }
251    
252            public java.io.Serializable getPrimaryKeyObj() {
253                    return _company.getPrimaryKeyObj();
254            }
255    
256            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
257                    _company.setPrimaryKeyObj(primaryKeyObj);
258            }
259    
260            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
261                    return _company.getExpandoBridge();
262            }
263    
264            public void setExpandoBridgeAttributes(
265                    com.liferay.portal.service.ServiceContext serviceContext) {
266                    _company.setExpandoBridgeAttributes(serviceContext);
267            }
268    
269            @Override
270            public java.lang.Object clone() {
271                    return new CompanyWrapper((Company)_company.clone());
272            }
273    
274            public int compareTo(com.liferay.portal.model.Company company) {
275                    return _company.compareTo(company);
276            }
277    
278            @Override
279            public int hashCode() {
280                    return _company.hashCode();
281            }
282    
283            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Company> toCacheModel() {
284                    return _company.toCacheModel();
285            }
286    
287            public com.liferay.portal.model.Company toEscapedModel() {
288                    return new CompanyWrapper(_company.toEscapedModel());
289            }
290    
291            @Override
292            public java.lang.String toString() {
293                    return _company.toString();
294            }
295    
296            public java.lang.String toXmlString() {
297                    return _company.toXmlString();
298            }
299    
300            public void persist()
301                    throws com.liferay.portal.kernel.exception.SystemException {
302                    _company.persist();
303            }
304    
305            public com.liferay.portal.model.Account getAccount()
306                    throws com.liferay.portal.kernel.exception.PortalException,
307                            com.liferay.portal.kernel.exception.SystemException {
308                    return _company.getAccount();
309            }
310    
311            public java.lang.String getAdminName() {
312                    return _company.getAdminName();
313            }
314    
315            public java.lang.String getAuthType()
316                    throws com.liferay.portal.kernel.exception.SystemException {
317                    return _company.getAuthType();
318            }
319    
320            public com.liferay.portal.model.User getDefaultUser()
321                    throws com.liferay.portal.kernel.exception.PortalException,
322                            com.liferay.portal.kernel.exception.SystemException {
323                    return _company.getDefaultUser();
324            }
325    
326            public java.lang.String getDefaultWebId() {
327                    return _company.getDefaultWebId();
328            }
329    
330            public java.lang.String getEmailAddress() {
331                    return _company.getEmailAddress();
332            }
333    
334            public com.liferay.portal.model.Group getGroup()
335                    throws com.liferay.portal.kernel.exception.PortalException,
336                            com.liferay.portal.kernel.exception.SystemException {
337                    return _company.getGroup();
338            }
339    
340            public java.security.Key getKeyObj() {
341                    return _company.getKeyObj();
342            }
343    
344            public java.util.Locale getLocale()
345                    throws com.liferay.portal.kernel.exception.PortalException,
346                            com.liferay.portal.kernel.exception.SystemException {
347                    return _company.getLocale();
348            }
349    
350            public java.lang.String getName()
351                    throws com.liferay.portal.kernel.exception.PortalException,
352                            com.liferay.portal.kernel.exception.SystemException {
353                    return _company.getName();
354            }
355    
356            public java.lang.String getShardName()
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    return _company.getShardName();
360            }
361    
362            public java.lang.String getShortName()
363                    throws com.liferay.portal.kernel.exception.PortalException,
364                            com.liferay.portal.kernel.exception.SystemException {
365                    return _company.getShortName();
366            }
367    
368            public java.util.TimeZone getTimeZone()
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException {
371                    return _company.getTimeZone();
372            }
373    
374            /**
375            * @deprecated {@link #getVirtualHostname}
376            */
377            public java.lang.String getVirtualHost() {
378                    return _company.getVirtualHost();
379            }
380    
381            public java.lang.String getVirtualHostname() {
382                    return _company.getVirtualHostname();
383            }
384    
385            public boolean hasCompanyMx(java.lang.String emailAddress)
386                    throws com.liferay.portal.kernel.exception.SystemException {
387                    return _company.hasCompanyMx(emailAddress);
388            }
389    
390            public boolean isAutoLogin()
391                    throws com.liferay.portal.kernel.exception.SystemException {
392                    return _company.isAutoLogin();
393            }
394    
395            public boolean isCommunityLogo()
396                    throws com.liferay.portal.kernel.exception.SystemException {
397                    return _company.isCommunityLogo();
398            }
399    
400            public boolean isSendPassword()
401                    throws com.liferay.portal.kernel.exception.SystemException {
402                    return _company.isSendPassword();
403            }
404    
405            public boolean isSendPasswordResetLink()
406                    throws com.liferay.portal.kernel.exception.SystemException {
407                    return _company.isSendPasswordResetLink();
408            }
409    
410            public boolean isStrangers()
411                    throws com.liferay.portal.kernel.exception.SystemException {
412                    return _company.isStrangers();
413            }
414    
415            public boolean isStrangersVerify()
416                    throws com.liferay.portal.kernel.exception.SystemException {
417                    return _company.isStrangersVerify();
418            }
419    
420            public boolean isStrangersWithMx()
421                    throws com.liferay.portal.kernel.exception.SystemException {
422                    return _company.isStrangersWithMx();
423            }
424    
425            public void setKeyObj(java.security.Key keyObj) {
426                    _company.setKeyObj(keyObj);
427            }
428    
429            public Company getWrappedCompany() {
430                    return _company;
431            }
432    
433            public void resetOriginalValues() {
434                    _company.resetOriginalValues();
435            }
436    
437            private Company _company;
438    }