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.portlet.messageboards.model;
016    
017    import com.liferay.portal.model.ModelWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link MBMailingList}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       MBMailingList
026     * @generated
027     */
028    public class MBMailingListWrapper implements MBMailingList,
029            ModelWrapper<MBMailingList> {
030            public MBMailingListWrapper(MBMailingList mbMailingList) {
031                    _mbMailingList = mbMailingList;
032            }
033    
034            public Class<?> getModelClass() {
035                    return MBMailingList.class;
036            }
037    
038            public String getModelClassName() {
039                    return MBMailingList.class.getName();
040            }
041    
042            /**
043            * Returns the primary key of this message boards mailing list.
044            *
045            * @return the primary key of this message boards mailing list
046            */
047            public long getPrimaryKey() {
048                    return _mbMailingList.getPrimaryKey();
049            }
050    
051            /**
052            * Sets the primary key of this message boards mailing list.
053            *
054            * @param primaryKey the primary key of this message boards mailing list
055            */
056            public void setPrimaryKey(long primaryKey) {
057                    _mbMailingList.setPrimaryKey(primaryKey);
058            }
059    
060            /**
061            * Returns the uuid of this message boards mailing list.
062            *
063            * @return the uuid of this message boards mailing list
064            */
065            public java.lang.String getUuid() {
066                    return _mbMailingList.getUuid();
067            }
068    
069            /**
070            * Sets the uuid of this message boards mailing list.
071            *
072            * @param uuid the uuid of this message boards mailing list
073            */
074            public void setUuid(java.lang.String uuid) {
075                    _mbMailingList.setUuid(uuid);
076            }
077    
078            /**
079            * Returns the mailing list ID of this message boards mailing list.
080            *
081            * @return the mailing list ID of this message boards mailing list
082            */
083            public long getMailingListId() {
084                    return _mbMailingList.getMailingListId();
085            }
086    
087            /**
088            * Sets the mailing list ID of this message boards mailing list.
089            *
090            * @param mailingListId the mailing list ID of this message boards mailing list
091            */
092            public void setMailingListId(long mailingListId) {
093                    _mbMailingList.setMailingListId(mailingListId);
094            }
095    
096            /**
097            * Returns the group ID of this message boards mailing list.
098            *
099            * @return the group ID of this message boards mailing list
100            */
101            public long getGroupId() {
102                    return _mbMailingList.getGroupId();
103            }
104    
105            /**
106            * Sets the group ID of this message boards mailing list.
107            *
108            * @param groupId the group ID of this message boards mailing list
109            */
110            public void setGroupId(long groupId) {
111                    _mbMailingList.setGroupId(groupId);
112            }
113    
114            /**
115            * Returns the company ID of this message boards mailing list.
116            *
117            * @return the company ID of this message boards mailing list
118            */
119            public long getCompanyId() {
120                    return _mbMailingList.getCompanyId();
121            }
122    
123            /**
124            * Sets the company ID of this message boards mailing list.
125            *
126            * @param companyId the company ID of this message boards mailing list
127            */
128            public void setCompanyId(long companyId) {
129                    _mbMailingList.setCompanyId(companyId);
130            }
131    
132            /**
133            * Returns the user ID of this message boards mailing list.
134            *
135            * @return the user ID of this message boards mailing list
136            */
137            public long getUserId() {
138                    return _mbMailingList.getUserId();
139            }
140    
141            /**
142            * Sets the user ID of this message boards mailing list.
143            *
144            * @param userId the user ID of this message boards mailing list
145            */
146            public void setUserId(long userId) {
147                    _mbMailingList.setUserId(userId);
148            }
149    
150            /**
151            * Returns the user uuid of this message boards mailing list.
152            *
153            * @return the user uuid of this message boards mailing list
154            * @throws SystemException if a system exception occurred
155            */
156            public java.lang.String getUserUuid()
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return _mbMailingList.getUserUuid();
159            }
160    
161            /**
162            * Sets the user uuid of this message boards mailing list.
163            *
164            * @param userUuid the user uuid of this message boards mailing list
165            */
166            public void setUserUuid(java.lang.String userUuid) {
167                    _mbMailingList.setUserUuid(userUuid);
168            }
169    
170            /**
171            * Returns the user name of this message boards mailing list.
172            *
173            * @return the user name of this message boards mailing list
174            */
175            public java.lang.String getUserName() {
176                    return _mbMailingList.getUserName();
177            }
178    
179            /**
180            * Sets the user name of this message boards mailing list.
181            *
182            * @param userName the user name of this message boards mailing list
183            */
184            public void setUserName(java.lang.String userName) {
185                    _mbMailingList.setUserName(userName);
186            }
187    
188            /**
189            * Returns the create date of this message boards mailing list.
190            *
191            * @return the create date of this message boards mailing list
192            */
193            public java.util.Date getCreateDate() {
194                    return _mbMailingList.getCreateDate();
195            }
196    
197            /**
198            * Sets the create date of this message boards mailing list.
199            *
200            * @param createDate the create date of this message boards mailing list
201            */
202            public void setCreateDate(java.util.Date createDate) {
203                    _mbMailingList.setCreateDate(createDate);
204            }
205    
206            /**
207            * Returns the modified date of this message boards mailing list.
208            *
209            * @return the modified date of this message boards mailing list
210            */
211            public java.util.Date getModifiedDate() {
212                    return _mbMailingList.getModifiedDate();
213            }
214    
215            /**
216            * Sets the modified date of this message boards mailing list.
217            *
218            * @param modifiedDate the modified date of this message boards mailing list
219            */
220            public void setModifiedDate(java.util.Date modifiedDate) {
221                    _mbMailingList.setModifiedDate(modifiedDate);
222            }
223    
224            /**
225            * Returns the category ID of this message boards mailing list.
226            *
227            * @return the category ID of this message boards mailing list
228            */
229            public long getCategoryId() {
230                    return _mbMailingList.getCategoryId();
231            }
232    
233            /**
234            * Sets the category ID of this message boards mailing list.
235            *
236            * @param categoryId the category ID of this message boards mailing list
237            */
238            public void setCategoryId(long categoryId) {
239                    _mbMailingList.setCategoryId(categoryId);
240            }
241    
242            /**
243            * Returns the email address of this message boards mailing list.
244            *
245            * @return the email address of this message boards mailing list
246            */
247            public java.lang.String getEmailAddress() {
248                    return _mbMailingList.getEmailAddress();
249            }
250    
251            /**
252            * Sets the email address of this message boards mailing list.
253            *
254            * @param emailAddress the email address of this message boards mailing list
255            */
256            public void setEmailAddress(java.lang.String emailAddress) {
257                    _mbMailingList.setEmailAddress(emailAddress);
258            }
259    
260            /**
261            * Returns the in protocol of this message boards mailing list.
262            *
263            * @return the in protocol of this message boards mailing list
264            */
265            public java.lang.String getInProtocol() {
266                    return _mbMailingList.getInProtocol();
267            }
268    
269            /**
270            * Sets the in protocol of this message boards mailing list.
271            *
272            * @param inProtocol the in protocol of this message boards mailing list
273            */
274            public void setInProtocol(java.lang.String inProtocol) {
275                    _mbMailingList.setInProtocol(inProtocol);
276            }
277    
278            /**
279            * Returns the in server name of this message boards mailing list.
280            *
281            * @return the in server name of this message boards mailing list
282            */
283            public java.lang.String getInServerName() {
284                    return _mbMailingList.getInServerName();
285            }
286    
287            /**
288            * Sets the in server name of this message boards mailing list.
289            *
290            * @param inServerName the in server name of this message boards mailing list
291            */
292            public void setInServerName(java.lang.String inServerName) {
293                    _mbMailingList.setInServerName(inServerName);
294            }
295    
296            /**
297            * Returns the in server port of this message boards mailing list.
298            *
299            * @return the in server port of this message boards mailing list
300            */
301            public int getInServerPort() {
302                    return _mbMailingList.getInServerPort();
303            }
304    
305            /**
306            * Sets the in server port of this message boards mailing list.
307            *
308            * @param inServerPort the in server port of this message boards mailing list
309            */
310            public void setInServerPort(int inServerPort) {
311                    _mbMailingList.setInServerPort(inServerPort);
312            }
313    
314            /**
315            * Returns the in use s s l of this message boards mailing list.
316            *
317            * @return the in use s s l of this message boards mailing list
318            */
319            public boolean getInUseSSL() {
320                    return _mbMailingList.getInUseSSL();
321            }
322    
323            /**
324            * Returns <code>true</code> if this message boards mailing list is in use s s l.
325            *
326            * @return <code>true</code> if this message boards mailing list is in use s s l; <code>false</code> otherwise
327            */
328            public boolean isInUseSSL() {
329                    return _mbMailingList.isInUseSSL();
330            }
331    
332            /**
333            * Sets whether this message boards mailing list is in use s s l.
334            *
335            * @param inUseSSL the in use s s l of this message boards mailing list
336            */
337            public void setInUseSSL(boolean inUseSSL) {
338                    _mbMailingList.setInUseSSL(inUseSSL);
339            }
340    
341            /**
342            * Returns the in user name of this message boards mailing list.
343            *
344            * @return the in user name of this message boards mailing list
345            */
346            public java.lang.String getInUserName() {
347                    return _mbMailingList.getInUserName();
348            }
349    
350            /**
351            * Sets the in user name of this message boards mailing list.
352            *
353            * @param inUserName the in user name of this message boards mailing list
354            */
355            public void setInUserName(java.lang.String inUserName) {
356                    _mbMailingList.setInUserName(inUserName);
357            }
358    
359            /**
360            * Returns the in password of this message boards mailing list.
361            *
362            * @return the in password of this message boards mailing list
363            */
364            public java.lang.String getInPassword() {
365                    return _mbMailingList.getInPassword();
366            }
367    
368            /**
369            * Sets the in password of this message boards mailing list.
370            *
371            * @param inPassword the in password of this message boards mailing list
372            */
373            public void setInPassword(java.lang.String inPassword) {
374                    _mbMailingList.setInPassword(inPassword);
375            }
376    
377            /**
378            * Returns the in read interval of this message boards mailing list.
379            *
380            * @return the in read interval of this message boards mailing list
381            */
382            public int getInReadInterval() {
383                    return _mbMailingList.getInReadInterval();
384            }
385    
386            /**
387            * Sets the in read interval of this message boards mailing list.
388            *
389            * @param inReadInterval the in read interval of this message boards mailing list
390            */
391            public void setInReadInterval(int inReadInterval) {
392                    _mbMailingList.setInReadInterval(inReadInterval);
393            }
394    
395            /**
396            * Returns the out email address of this message boards mailing list.
397            *
398            * @return the out email address of this message boards mailing list
399            */
400            public java.lang.String getOutEmailAddress() {
401                    return _mbMailingList.getOutEmailAddress();
402            }
403    
404            /**
405            * Sets the out email address of this message boards mailing list.
406            *
407            * @param outEmailAddress the out email address of this message boards mailing list
408            */
409            public void setOutEmailAddress(java.lang.String outEmailAddress) {
410                    _mbMailingList.setOutEmailAddress(outEmailAddress);
411            }
412    
413            /**
414            * Returns the out custom of this message boards mailing list.
415            *
416            * @return the out custom of this message boards mailing list
417            */
418            public boolean getOutCustom() {
419                    return _mbMailingList.getOutCustom();
420            }
421    
422            /**
423            * Returns <code>true</code> if this message boards mailing list is out custom.
424            *
425            * @return <code>true</code> if this message boards mailing list is out custom; <code>false</code> otherwise
426            */
427            public boolean isOutCustom() {
428                    return _mbMailingList.isOutCustom();
429            }
430    
431            /**
432            * Sets whether this message boards mailing list is out custom.
433            *
434            * @param outCustom the out custom of this message boards mailing list
435            */
436            public void setOutCustom(boolean outCustom) {
437                    _mbMailingList.setOutCustom(outCustom);
438            }
439    
440            /**
441            * Returns the out server name of this message boards mailing list.
442            *
443            * @return the out server name of this message boards mailing list
444            */
445            public java.lang.String getOutServerName() {
446                    return _mbMailingList.getOutServerName();
447            }
448    
449            /**
450            * Sets the out server name of this message boards mailing list.
451            *
452            * @param outServerName the out server name of this message boards mailing list
453            */
454            public void setOutServerName(java.lang.String outServerName) {
455                    _mbMailingList.setOutServerName(outServerName);
456            }
457    
458            /**
459            * Returns the out server port of this message boards mailing list.
460            *
461            * @return the out server port of this message boards mailing list
462            */
463            public int getOutServerPort() {
464                    return _mbMailingList.getOutServerPort();
465            }
466    
467            /**
468            * Sets the out server port of this message boards mailing list.
469            *
470            * @param outServerPort the out server port of this message boards mailing list
471            */
472            public void setOutServerPort(int outServerPort) {
473                    _mbMailingList.setOutServerPort(outServerPort);
474            }
475    
476            /**
477            * Returns the out use s s l of this message boards mailing list.
478            *
479            * @return the out use s s l of this message boards mailing list
480            */
481            public boolean getOutUseSSL() {
482                    return _mbMailingList.getOutUseSSL();
483            }
484    
485            /**
486            * Returns <code>true</code> if this message boards mailing list is out use s s l.
487            *
488            * @return <code>true</code> if this message boards mailing list is out use s s l; <code>false</code> otherwise
489            */
490            public boolean isOutUseSSL() {
491                    return _mbMailingList.isOutUseSSL();
492            }
493    
494            /**
495            * Sets whether this message boards mailing list is out use s s l.
496            *
497            * @param outUseSSL the out use s s l of this message boards mailing list
498            */
499            public void setOutUseSSL(boolean outUseSSL) {
500                    _mbMailingList.setOutUseSSL(outUseSSL);
501            }
502    
503            /**
504            * Returns the out user name of this message boards mailing list.
505            *
506            * @return the out user name of this message boards mailing list
507            */
508            public java.lang.String getOutUserName() {
509                    return _mbMailingList.getOutUserName();
510            }
511    
512            /**
513            * Sets the out user name of this message boards mailing list.
514            *
515            * @param outUserName the out user name of this message boards mailing list
516            */
517            public void setOutUserName(java.lang.String outUserName) {
518                    _mbMailingList.setOutUserName(outUserName);
519            }
520    
521            /**
522            * Returns the out password of this message boards mailing list.
523            *
524            * @return the out password of this message boards mailing list
525            */
526            public java.lang.String getOutPassword() {
527                    return _mbMailingList.getOutPassword();
528            }
529    
530            /**
531            * Sets the out password of this message boards mailing list.
532            *
533            * @param outPassword the out password of this message boards mailing list
534            */
535            public void setOutPassword(java.lang.String outPassword) {
536                    _mbMailingList.setOutPassword(outPassword);
537            }
538    
539            /**
540            * Returns the allow anonymous of this message boards mailing list.
541            *
542            * @return the allow anonymous of this message boards mailing list
543            */
544            public boolean getAllowAnonymous() {
545                    return _mbMailingList.getAllowAnonymous();
546            }
547    
548            /**
549            * Returns <code>true</code> if this message boards mailing list is allow anonymous.
550            *
551            * @return <code>true</code> if this message boards mailing list is allow anonymous; <code>false</code> otherwise
552            */
553            public boolean isAllowAnonymous() {
554                    return _mbMailingList.isAllowAnonymous();
555            }
556    
557            /**
558            * Sets whether this message boards mailing list is allow anonymous.
559            *
560            * @param allowAnonymous the allow anonymous of this message boards mailing list
561            */
562            public void setAllowAnonymous(boolean allowAnonymous) {
563                    _mbMailingList.setAllowAnonymous(allowAnonymous);
564            }
565    
566            /**
567            * Returns the active of this message boards mailing list.
568            *
569            * @return the active of this message boards mailing list
570            */
571            public boolean getActive() {
572                    return _mbMailingList.getActive();
573            }
574    
575            /**
576            * Returns <code>true</code> if this message boards mailing list is active.
577            *
578            * @return <code>true</code> if this message boards mailing list is active; <code>false</code> otherwise
579            */
580            public boolean isActive() {
581                    return _mbMailingList.isActive();
582            }
583    
584            /**
585            * Sets whether this message boards mailing list is active.
586            *
587            * @param active the active of this message boards mailing list
588            */
589            public void setActive(boolean active) {
590                    _mbMailingList.setActive(active);
591            }
592    
593            public boolean isNew() {
594                    return _mbMailingList.isNew();
595            }
596    
597            public void setNew(boolean n) {
598                    _mbMailingList.setNew(n);
599            }
600    
601            public boolean isCachedModel() {
602                    return _mbMailingList.isCachedModel();
603            }
604    
605            public void setCachedModel(boolean cachedModel) {
606                    _mbMailingList.setCachedModel(cachedModel);
607            }
608    
609            public boolean isEscapedModel() {
610                    return _mbMailingList.isEscapedModel();
611            }
612    
613            public java.io.Serializable getPrimaryKeyObj() {
614                    return _mbMailingList.getPrimaryKeyObj();
615            }
616    
617            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
618                    _mbMailingList.setPrimaryKeyObj(primaryKeyObj);
619            }
620    
621            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
622                    return _mbMailingList.getExpandoBridge();
623            }
624    
625            public void setExpandoBridgeAttributes(
626                    com.liferay.portal.service.ServiceContext serviceContext) {
627                    _mbMailingList.setExpandoBridgeAttributes(serviceContext);
628            }
629    
630            @Override
631            public java.lang.Object clone() {
632                    return new MBMailingListWrapper((MBMailingList)_mbMailingList.clone());
633            }
634    
635            public int compareTo(
636                    com.liferay.portlet.messageboards.model.MBMailingList mbMailingList) {
637                    return _mbMailingList.compareTo(mbMailingList);
638            }
639    
640            @Override
641            public int hashCode() {
642                    return _mbMailingList.hashCode();
643            }
644    
645            public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBMailingList> toCacheModel() {
646                    return _mbMailingList.toCacheModel();
647            }
648    
649            public com.liferay.portlet.messageboards.model.MBMailingList toEscapedModel() {
650                    return new MBMailingListWrapper(_mbMailingList.toEscapedModel());
651            }
652    
653            @Override
654            public java.lang.String toString() {
655                    return _mbMailingList.toString();
656            }
657    
658            public java.lang.String toXmlString() {
659                    return _mbMailingList.toXmlString();
660            }
661    
662            public void persist()
663                    throws com.liferay.portal.kernel.exception.SystemException {
664                    _mbMailingList.persist();
665            }
666    
667            /**
668             * @deprecated Renamed to {@link #getWrappedModel}
669             */
670            public MBMailingList getWrappedMBMailingList() {
671                    return _mbMailingList;
672            }
673    
674            public MBMailingList getWrappedModel() {
675                    return _mbMailingList;
676            }
677    
678            public void resetOriginalValues() {
679                    _mbMailingList.resetOriginalValues();
680            }
681    
682            private MBMailingList _mbMailingList;
683    }