001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.lar.StagedModelType;
020    import com.liferay.portal.kernel.util.Validator;
021    import com.liferay.portal.model.ModelWrapper;
022    
023    import java.util.Date;
024    import java.util.HashMap;
025    import java.util.Map;
026    
027    /**
028     * <p>
029     * This class is a wrapper for {@link MBMailingList}.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see MBMailingList
034     * @generated
035     */
036    @ProviderType
037    public class MBMailingListWrapper implements MBMailingList,
038            ModelWrapper<MBMailingList> {
039            public MBMailingListWrapper(MBMailingList mbMailingList) {
040                    _mbMailingList = mbMailingList;
041            }
042    
043            @Override
044            public Class<?> getModelClass() {
045                    return MBMailingList.class;
046            }
047    
048            @Override
049            public String getModelClassName() {
050                    return MBMailingList.class.getName();
051            }
052    
053            @Override
054            public Map<String, Object> getModelAttributes() {
055                    Map<String, Object> attributes = new HashMap<String, Object>();
056    
057                    attributes.put("uuid", getUuid());
058                    attributes.put("mailingListId", getMailingListId());
059                    attributes.put("groupId", getGroupId());
060                    attributes.put("companyId", getCompanyId());
061                    attributes.put("userId", getUserId());
062                    attributes.put("userName", getUserName());
063                    attributes.put("createDate", getCreateDate());
064                    attributes.put("modifiedDate", getModifiedDate());
065                    attributes.put("categoryId", getCategoryId());
066                    attributes.put("emailAddress", getEmailAddress());
067                    attributes.put("inProtocol", getInProtocol());
068                    attributes.put("inServerName", getInServerName());
069                    attributes.put("inServerPort", getInServerPort());
070                    attributes.put("inUseSSL", getInUseSSL());
071                    attributes.put("inUserName", getInUserName());
072                    attributes.put("inPassword", getInPassword());
073                    attributes.put("inReadInterval", getInReadInterval());
074                    attributes.put("outEmailAddress", getOutEmailAddress());
075                    attributes.put("outCustom", getOutCustom());
076                    attributes.put("outServerName", getOutServerName());
077                    attributes.put("outServerPort", getOutServerPort());
078                    attributes.put("outUseSSL", getOutUseSSL());
079                    attributes.put("outUserName", getOutUserName());
080                    attributes.put("outPassword", getOutPassword());
081                    attributes.put("allowAnonymous", getAllowAnonymous());
082                    attributes.put("active", getActive());
083    
084                    return attributes;
085            }
086    
087            @Override
088            public void setModelAttributes(Map<String, Object> attributes) {
089                    String uuid = (String)attributes.get("uuid");
090    
091                    if (uuid != null) {
092                            setUuid(uuid);
093                    }
094    
095                    Long mailingListId = (Long)attributes.get("mailingListId");
096    
097                    if (mailingListId != null) {
098                            setMailingListId(mailingListId);
099                    }
100    
101                    Long groupId = (Long)attributes.get("groupId");
102    
103                    if (groupId != null) {
104                            setGroupId(groupId);
105                    }
106    
107                    Long companyId = (Long)attributes.get("companyId");
108    
109                    if (companyId != null) {
110                            setCompanyId(companyId);
111                    }
112    
113                    Long userId = (Long)attributes.get("userId");
114    
115                    if (userId != null) {
116                            setUserId(userId);
117                    }
118    
119                    String userName = (String)attributes.get("userName");
120    
121                    if (userName != null) {
122                            setUserName(userName);
123                    }
124    
125                    Date createDate = (Date)attributes.get("createDate");
126    
127                    if (createDate != null) {
128                            setCreateDate(createDate);
129                    }
130    
131                    Date modifiedDate = (Date)attributes.get("modifiedDate");
132    
133                    if (modifiedDate != null) {
134                            setModifiedDate(modifiedDate);
135                    }
136    
137                    Long categoryId = (Long)attributes.get("categoryId");
138    
139                    if (categoryId != null) {
140                            setCategoryId(categoryId);
141                    }
142    
143                    String emailAddress = (String)attributes.get("emailAddress");
144    
145                    if (emailAddress != null) {
146                            setEmailAddress(emailAddress);
147                    }
148    
149                    String inProtocol = (String)attributes.get("inProtocol");
150    
151                    if (inProtocol != null) {
152                            setInProtocol(inProtocol);
153                    }
154    
155                    String inServerName = (String)attributes.get("inServerName");
156    
157                    if (inServerName != null) {
158                            setInServerName(inServerName);
159                    }
160    
161                    Integer inServerPort = (Integer)attributes.get("inServerPort");
162    
163                    if (inServerPort != null) {
164                            setInServerPort(inServerPort);
165                    }
166    
167                    Boolean inUseSSL = (Boolean)attributes.get("inUseSSL");
168    
169                    if (inUseSSL != null) {
170                            setInUseSSL(inUseSSL);
171                    }
172    
173                    String inUserName = (String)attributes.get("inUserName");
174    
175                    if (inUserName != null) {
176                            setInUserName(inUserName);
177                    }
178    
179                    String inPassword = (String)attributes.get("inPassword");
180    
181                    if (inPassword != null) {
182                            setInPassword(inPassword);
183                    }
184    
185                    Integer inReadInterval = (Integer)attributes.get("inReadInterval");
186    
187                    if (inReadInterval != null) {
188                            setInReadInterval(inReadInterval);
189                    }
190    
191                    String outEmailAddress = (String)attributes.get("outEmailAddress");
192    
193                    if (outEmailAddress != null) {
194                            setOutEmailAddress(outEmailAddress);
195                    }
196    
197                    Boolean outCustom = (Boolean)attributes.get("outCustom");
198    
199                    if (outCustom != null) {
200                            setOutCustom(outCustom);
201                    }
202    
203                    String outServerName = (String)attributes.get("outServerName");
204    
205                    if (outServerName != null) {
206                            setOutServerName(outServerName);
207                    }
208    
209                    Integer outServerPort = (Integer)attributes.get("outServerPort");
210    
211                    if (outServerPort != null) {
212                            setOutServerPort(outServerPort);
213                    }
214    
215                    Boolean outUseSSL = (Boolean)attributes.get("outUseSSL");
216    
217                    if (outUseSSL != null) {
218                            setOutUseSSL(outUseSSL);
219                    }
220    
221                    String outUserName = (String)attributes.get("outUserName");
222    
223                    if (outUserName != null) {
224                            setOutUserName(outUserName);
225                    }
226    
227                    String outPassword = (String)attributes.get("outPassword");
228    
229                    if (outPassword != null) {
230                            setOutPassword(outPassword);
231                    }
232    
233                    Boolean allowAnonymous = (Boolean)attributes.get("allowAnonymous");
234    
235                    if (allowAnonymous != null) {
236                            setAllowAnonymous(allowAnonymous);
237                    }
238    
239                    Boolean active = (Boolean)attributes.get("active");
240    
241                    if (active != null) {
242                            setActive(active);
243                    }
244            }
245    
246            @Override
247            public java.lang.Object clone() {
248                    return new MBMailingListWrapper((MBMailingList)_mbMailingList.clone());
249            }
250    
251            @Override
252            public int compareTo(
253                    com.liferay.portlet.messageboards.model.MBMailingList mbMailingList) {
254                    return _mbMailingList.compareTo(mbMailingList);
255            }
256    
257            /**
258            * Returns the active of this message boards mailing list.
259            *
260            * @return the active of this message boards mailing list
261            */
262            @Override
263            public boolean getActive() {
264                    return _mbMailingList.getActive();
265            }
266    
267            /**
268            * Returns the allow anonymous of this message boards mailing list.
269            *
270            * @return the allow anonymous of this message boards mailing list
271            */
272            @Override
273            public boolean getAllowAnonymous() {
274                    return _mbMailingList.getAllowAnonymous();
275            }
276    
277            /**
278            * Returns the category ID of this message boards mailing list.
279            *
280            * @return the category ID of this message boards mailing list
281            */
282            @Override
283            public long getCategoryId() {
284                    return _mbMailingList.getCategoryId();
285            }
286    
287            /**
288            * Returns the company ID of this message boards mailing list.
289            *
290            * @return the company ID of this message boards mailing list
291            */
292            @Override
293            public long getCompanyId() {
294                    return _mbMailingList.getCompanyId();
295            }
296    
297            /**
298            * Returns the create date of this message boards mailing list.
299            *
300            * @return the create date of this message boards mailing list
301            */
302            @Override
303            public java.util.Date getCreateDate() {
304                    return _mbMailingList.getCreateDate();
305            }
306    
307            /**
308            * Returns the email address of this message boards mailing list.
309            *
310            * @return the email address of this message boards mailing list
311            */
312            @Override
313            public java.lang.String getEmailAddress() {
314                    return _mbMailingList.getEmailAddress();
315            }
316    
317            @Override
318            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
319                    return _mbMailingList.getExpandoBridge();
320            }
321    
322            /**
323            * Returns the group ID of this message boards mailing list.
324            *
325            * @return the group ID of this message boards mailing list
326            */
327            @Override
328            public long getGroupId() {
329                    return _mbMailingList.getGroupId();
330            }
331    
332            /**
333            * Returns the in password of this message boards mailing list.
334            *
335            * @return the in password of this message boards mailing list
336            */
337            @Override
338            public java.lang.String getInPassword() {
339                    return _mbMailingList.getInPassword();
340            }
341    
342            /**
343            * Returns the in protocol of this message boards mailing list.
344            *
345            * @return the in protocol of this message boards mailing list
346            */
347            @Override
348            public java.lang.String getInProtocol() {
349                    return _mbMailingList.getInProtocol();
350            }
351    
352            /**
353            * Returns the in read interval of this message boards mailing list.
354            *
355            * @return the in read interval of this message boards mailing list
356            */
357            @Override
358            public int getInReadInterval() {
359                    return _mbMailingList.getInReadInterval();
360            }
361    
362            /**
363            * Returns the in server name of this message boards mailing list.
364            *
365            * @return the in server name of this message boards mailing list
366            */
367            @Override
368            public java.lang.String getInServerName() {
369                    return _mbMailingList.getInServerName();
370            }
371    
372            /**
373            * Returns the in server port of this message boards mailing list.
374            *
375            * @return the in server port of this message boards mailing list
376            */
377            @Override
378            public int getInServerPort() {
379                    return _mbMailingList.getInServerPort();
380            }
381    
382            /**
383            * Returns the in use s s l of this message boards mailing list.
384            *
385            * @return the in use s s l of this message boards mailing list
386            */
387            @Override
388            public boolean getInUseSSL() {
389                    return _mbMailingList.getInUseSSL();
390            }
391    
392            /**
393            * Returns the in user name of this message boards mailing list.
394            *
395            * @return the in user name of this message boards mailing list
396            */
397            @Override
398            public java.lang.String getInUserName() {
399                    return _mbMailingList.getInUserName();
400            }
401    
402            /**
403            * Returns the mailing list ID of this message boards mailing list.
404            *
405            * @return the mailing list ID of this message boards mailing list
406            */
407            @Override
408            public long getMailingListId() {
409                    return _mbMailingList.getMailingListId();
410            }
411    
412            /**
413            * Returns the modified date of this message boards mailing list.
414            *
415            * @return the modified date of this message boards mailing list
416            */
417            @Override
418            public java.util.Date getModifiedDate() {
419                    return _mbMailingList.getModifiedDate();
420            }
421    
422            /**
423            * Returns the out custom of this message boards mailing list.
424            *
425            * @return the out custom of this message boards mailing list
426            */
427            @Override
428            public boolean getOutCustom() {
429                    return _mbMailingList.getOutCustom();
430            }
431    
432            /**
433            * Returns the out email address of this message boards mailing list.
434            *
435            * @return the out email address of this message boards mailing list
436            */
437            @Override
438            public java.lang.String getOutEmailAddress() {
439                    return _mbMailingList.getOutEmailAddress();
440            }
441    
442            /**
443            * Returns the out password of this message boards mailing list.
444            *
445            * @return the out password of this message boards mailing list
446            */
447            @Override
448            public java.lang.String getOutPassword() {
449                    return _mbMailingList.getOutPassword();
450            }
451    
452            /**
453            * Returns the out server name of this message boards mailing list.
454            *
455            * @return the out server name of this message boards mailing list
456            */
457            @Override
458            public java.lang.String getOutServerName() {
459                    return _mbMailingList.getOutServerName();
460            }
461    
462            /**
463            * Returns the out server port of this message boards mailing list.
464            *
465            * @return the out server port of this message boards mailing list
466            */
467            @Override
468            public int getOutServerPort() {
469                    return _mbMailingList.getOutServerPort();
470            }
471    
472            /**
473            * Returns the out use s s l of this message boards mailing list.
474            *
475            * @return the out use s s l of this message boards mailing list
476            */
477            @Override
478            public boolean getOutUseSSL() {
479                    return _mbMailingList.getOutUseSSL();
480            }
481    
482            /**
483            * Returns the out user name of this message boards mailing list.
484            *
485            * @return the out user name of this message boards mailing list
486            */
487            @Override
488            public java.lang.String getOutUserName() {
489                    return _mbMailingList.getOutUserName();
490            }
491    
492            /**
493            * Returns the primary key of this message boards mailing list.
494            *
495            * @return the primary key of this message boards mailing list
496            */
497            @Override
498            public long getPrimaryKey() {
499                    return _mbMailingList.getPrimaryKey();
500            }
501    
502            @Override
503            public java.io.Serializable getPrimaryKeyObj() {
504                    return _mbMailingList.getPrimaryKeyObj();
505            }
506    
507            /**
508            * Returns the user ID of this message boards mailing list.
509            *
510            * @return the user ID of this message boards mailing list
511            */
512            @Override
513            public long getUserId() {
514                    return _mbMailingList.getUserId();
515            }
516    
517            /**
518            * Returns the user name of this message boards mailing list.
519            *
520            * @return the user name of this message boards mailing list
521            */
522            @Override
523            public java.lang.String getUserName() {
524                    return _mbMailingList.getUserName();
525            }
526    
527            /**
528            * Returns the user uuid of this message boards mailing list.
529            *
530            * @return the user uuid of this message boards mailing list
531            */
532            @Override
533            public java.lang.String getUserUuid() {
534                    return _mbMailingList.getUserUuid();
535            }
536    
537            /**
538            * Returns the uuid of this message boards mailing list.
539            *
540            * @return the uuid of this message boards mailing list
541            */
542            @Override
543            public java.lang.String getUuid() {
544                    return _mbMailingList.getUuid();
545            }
546    
547            @Override
548            public int hashCode() {
549                    return _mbMailingList.hashCode();
550            }
551    
552            /**
553            * Returns <code>true</code> if this message boards mailing list is active.
554            *
555            * @return <code>true</code> if this message boards mailing list is active; <code>false</code> otherwise
556            */
557            @Override
558            public boolean isActive() {
559                    return _mbMailingList.isActive();
560            }
561    
562            /**
563            * Returns <code>true</code> if this message boards mailing list is allow anonymous.
564            *
565            * @return <code>true</code> if this message boards mailing list is allow anonymous; <code>false</code> otherwise
566            */
567            @Override
568            public boolean isAllowAnonymous() {
569                    return _mbMailingList.isAllowAnonymous();
570            }
571    
572            @Override
573            public boolean isCachedModel() {
574                    return _mbMailingList.isCachedModel();
575            }
576    
577            @Override
578            public boolean isEscapedModel() {
579                    return _mbMailingList.isEscapedModel();
580            }
581    
582            /**
583            * Returns <code>true</code> if this message boards mailing list is in use s s l.
584            *
585            * @return <code>true</code> if this message boards mailing list is in use s s l; <code>false</code> otherwise
586            */
587            @Override
588            public boolean isInUseSSL() {
589                    return _mbMailingList.isInUseSSL();
590            }
591    
592            @Override
593            public boolean isNew() {
594                    return _mbMailingList.isNew();
595            }
596    
597            /**
598            * Returns <code>true</code> if this message boards mailing list is out custom.
599            *
600            * @return <code>true</code> if this message boards mailing list is out custom; <code>false</code> otherwise
601            */
602            @Override
603            public boolean isOutCustom() {
604                    return _mbMailingList.isOutCustom();
605            }
606    
607            /**
608            * Returns <code>true</code> if this message boards mailing list is out use s s l.
609            *
610            * @return <code>true</code> if this message boards mailing list is out use s s l; <code>false</code> otherwise
611            */
612            @Override
613            public boolean isOutUseSSL() {
614                    return _mbMailingList.isOutUseSSL();
615            }
616    
617            @Override
618            public void persist() {
619                    _mbMailingList.persist();
620            }
621    
622            /**
623            * Sets whether this message boards mailing list is active.
624            *
625            * @param active the active of this message boards mailing list
626            */
627            @Override
628            public void setActive(boolean active) {
629                    _mbMailingList.setActive(active);
630            }
631    
632            /**
633            * Sets whether this message boards mailing list is allow anonymous.
634            *
635            * @param allowAnonymous the allow anonymous of this message boards mailing list
636            */
637            @Override
638            public void setAllowAnonymous(boolean allowAnonymous) {
639                    _mbMailingList.setAllowAnonymous(allowAnonymous);
640            }
641    
642            @Override
643            public void setCachedModel(boolean cachedModel) {
644                    _mbMailingList.setCachedModel(cachedModel);
645            }
646    
647            /**
648            * Sets the category ID of this message boards mailing list.
649            *
650            * @param categoryId the category ID of this message boards mailing list
651            */
652            @Override
653            public void setCategoryId(long categoryId) {
654                    _mbMailingList.setCategoryId(categoryId);
655            }
656    
657            /**
658            * Sets the company ID of this message boards mailing list.
659            *
660            * @param companyId the company ID of this message boards mailing list
661            */
662            @Override
663            public void setCompanyId(long companyId) {
664                    _mbMailingList.setCompanyId(companyId);
665            }
666    
667            /**
668            * Sets the create date of this message boards mailing list.
669            *
670            * @param createDate the create date of this message boards mailing list
671            */
672            @Override
673            public void setCreateDate(java.util.Date createDate) {
674                    _mbMailingList.setCreateDate(createDate);
675            }
676    
677            /**
678            * Sets the email address of this message boards mailing list.
679            *
680            * @param emailAddress the email address of this message boards mailing list
681            */
682            @Override
683            public void setEmailAddress(java.lang.String emailAddress) {
684                    _mbMailingList.setEmailAddress(emailAddress);
685            }
686    
687            @Override
688            public void setExpandoBridgeAttributes(
689                    com.liferay.portal.model.BaseModel<?> baseModel) {
690                    _mbMailingList.setExpandoBridgeAttributes(baseModel);
691            }
692    
693            @Override
694            public void setExpandoBridgeAttributes(
695                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
696                    _mbMailingList.setExpandoBridgeAttributes(expandoBridge);
697            }
698    
699            @Override
700            public void setExpandoBridgeAttributes(
701                    com.liferay.portal.service.ServiceContext serviceContext) {
702                    _mbMailingList.setExpandoBridgeAttributes(serviceContext);
703            }
704    
705            /**
706            * Sets the group ID of this message boards mailing list.
707            *
708            * @param groupId the group ID of this message boards mailing list
709            */
710            @Override
711            public void setGroupId(long groupId) {
712                    _mbMailingList.setGroupId(groupId);
713            }
714    
715            /**
716            * Sets the in password of this message boards mailing list.
717            *
718            * @param inPassword the in password of this message boards mailing list
719            */
720            @Override
721            public void setInPassword(java.lang.String inPassword) {
722                    _mbMailingList.setInPassword(inPassword);
723            }
724    
725            /**
726            * Sets the in protocol of this message boards mailing list.
727            *
728            * @param inProtocol the in protocol of this message boards mailing list
729            */
730            @Override
731            public void setInProtocol(java.lang.String inProtocol) {
732                    _mbMailingList.setInProtocol(inProtocol);
733            }
734    
735            /**
736            * Sets the in read interval of this message boards mailing list.
737            *
738            * @param inReadInterval the in read interval of this message boards mailing list
739            */
740            @Override
741            public void setInReadInterval(int inReadInterval) {
742                    _mbMailingList.setInReadInterval(inReadInterval);
743            }
744    
745            /**
746            * Sets the in server name of this message boards mailing list.
747            *
748            * @param inServerName the in server name of this message boards mailing list
749            */
750            @Override
751            public void setInServerName(java.lang.String inServerName) {
752                    _mbMailingList.setInServerName(inServerName);
753            }
754    
755            /**
756            * Sets the in server port of this message boards mailing list.
757            *
758            * @param inServerPort the in server port of this message boards mailing list
759            */
760            @Override
761            public void setInServerPort(int inServerPort) {
762                    _mbMailingList.setInServerPort(inServerPort);
763            }
764    
765            /**
766            * Sets whether this message boards mailing list is in use s s l.
767            *
768            * @param inUseSSL the in use s s l of this message boards mailing list
769            */
770            @Override
771            public void setInUseSSL(boolean inUseSSL) {
772                    _mbMailingList.setInUseSSL(inUseSSL);
773            }
774    
775            /**
776            * Sets the in user name of this message boards mailing list.
777            *
778            * @param inUserName the in user name of this message boards mailing list
779            */
780            @Override
781            public void setInUserName(java.lang.String inUserName) {
782                    _mbMailingList.setInUserName(inUserName);
783            }
784    
785            /**
786            * Sets the mailing list ID of this message boards mailing list.
787            *
788            * @param mailingListId the mailing list ID of this message boards mailing list
789            */
790            @Override
791            public void setMailingListId(long mailingListId) {
792                    _mbMailingList.setMailingListId(mailingListId);
793            }
794    
795            /**
796            * Sets the modified date of this message boards mailing list.
797            *
798            * @param modifiedDate the modified date of this message boards mailing list
799            */
800            @Override
801            public void setModifiedDate(java.util.Date modifiedDate) {
802                    _mbMailingList.setModifiedDate(modifiedDate);
803            }
804    
805            @Override
806            public void setNew(boolean n) {
807                    _mbMailingList.setNew(n);
808            }
809    
810            /**
811            * Sets whether this message boards mailing list is out custom.
812            *
813            * @param outCustom the out custom of this message boards mailing list
814            */
815            @Override
816            public void setOutCustom(boolean outCustom) {
817                    _mbMailingList.setOutCustom(outCustom);
818            }
819    
820            /**
821            * Sets the out email address of this message boards mailing list.
822            *
823            * @param outEmailAddress the out email address of this message boards mailing list
824            */
825            @Override
826            public void setOutEmailAddress(java.lang.String outEmailAddress) {
827                    _mbMailingList.setOutEmailAddress(outEmailAddress);
828            }
829    
830            /**
831            * Sets the out password of this message boards mailing list.
832            *
833            * @param outPassword the out password of this message boards mailing list
834            */
835            @Override
836            public void setOutPassword(java.lang.String outPassword) {
837                    _mbMailingList.setOutPassword(outPassword);
838            }
839    
840            /**
841            * Sets the out server name of this message boards mailing list.
842            *
843            * @param outServerName the out server name of this message boards mailing list
844            */
845            @Override
846            public void setOutServerName(java.lang.String outServerName) {
847                    _mbMailingList.setOutServerName(outServerName);
848            }
849    
850            /**
851            * Sets the out server port of this message boards mailing list.
852            *
853            * @param outServerPort the out server port of this message boards mailing list
854            */
855            @Override
856            public void setOutServerPort(int outServerPort) {
857                    _mbMailingList.setOutServerPort(outServerPort);
858            }
859    
860            /**
861            * Sets whether this message boards mailing list is out use s s l.
862            *
863            * @param outUseSSL the out use s s l of this message boards mailing list
864            */
865            @Override
866            public void setOutUseSSL(boolean outUseSSL) {
867                    _mbMailingList.setOutUseSSL(outUseSSL);
868            }
869    
870            /**
871            * Sets the out user name of this message boards mailing list.
872            *
873            * @param outUserName the out user name of this message boards mailing list
874            */
875            @Override
876            public void setOutUserName(java.lang.String outUserName) {
877                    _mbMailingList.setOutUserName(outUserName);
878            }
879    
880            /**
881            * Sets the primary key of this message boards mailing list.
882            *
883            * @param primaryKey the primary key of this message boards mailing list
884            */
885            @Override
886            public void setPrimaryKey(long primaryKey) {
887                    _mbMailingList.setPrimaryKey(primaryKey);
888            }
889    
890            @Override
891            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
892                    _mbMailingList.setPrimaryKeyObj(primaryKeyObj);
893            }
894    
895            /**
896            * Sets the user ID of this message boards mailing list.
897            *
898            * @param userId the user ID of this message boards mailing list
899            */
900            @Override
901            public void setUserId(long userId) {
902                    _mbMailingList.setUserId(userId);
903            }
904    
905            /**
906            * Sets the user name of this message boards mailing list.
907            *
908            * @param userName the user name of this message boards mailing list
909            */
910            @Override
911            public void setUserName(java.lang.String userName) {
912                    _mbMailingList.setUserName(userName);
913            }
914    
915            /**
916            * Sets the user uuid of this message boards mailing list.
917            *
918            * @param userUuid the user uuid of this message boards mailing list
919            */
920            @Override
921            public void setUserUuid(java.lang.String userUuid) {
922                    _mbMailingList.setUserUuid(userUuid);
923            }
924    
925            /**
926            * Sets the uuid of this message boards mailing list.
927            *
928            * @param uuid the uuid of this message boards mailing list
929            */
930            @Override
931            public void setUuid(java.lang.String uuid) {
932                    _mbMailingList.setUuid(uuid);
933            }
934    
935            @Override
936            public com.liferay.portal.model.CacheModel<com.liferay.portlet.messageboards.model.MBMailingList> toCacheModel() {
937                    return _mbMailingList.toCacheModel();
938            }
939    
940            @Override
941            public com.liferay.portlet.messageboards.model.MBMailingList toEscapedModel() {
942                    return new MBMailingListWrapper(_mbMailingList.toEscapedModel());
943            }
944    
945            @Override
946            public java.lang.String toString() {
947                    return _mbMailingList.toString();
948            }
949    
950            @Override
951            public com.liferay.portlet.messageboards.model.MBMailingList toUnescapedModel() {
952                    return new MBMailingListWrapper(_mbMailingList.toUnescapedModel());
953            }
954    
955            @Override
956            public java.lang.String toXmlString() {
957                    return _mbMailingList.toXmlString();
958            }
959    
960            @Override
961            public boolean equals(Object obj) {
962                    if (this == obj) {
963                            return true;
964                    }
965    
966                    if (!(obj instanceof MBMailingListWrapper)) {
967                            return false;
968                    }
969    
970                    MBMailingListWrapper mbMailingListWrapper = (MBMailingListWrapper)obj;
971    
972                    if (Validator.equals(_mbMailingList, mbMailingListWrapper._mbMailingList)) {
973                            return true;
974                    }
975    
976                    return false;
977            }
978    
979            @Override
980            public StagedModelType getStagedModelType() {
981                    return _mbMailingList.getStagedModelType();
982            }
983    
984            /**
985             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
986             */
987            @Deprecated
988            public MBMailingList getWrappedMBMailingList() {
989                    return _mbMailingList;
990            }
991    
992            @Override
993            public MBMailingList getWrappedModel() {
994                    return _mbMailingList;
995            }
996    
997            @Override
998            public boolean isEntityCacheEnabled() {
999                    return _mbMailingList.isEntityCacheEnabled();
1000            }
1001    
1002            @Override
1003            public boolean isFinderCacheEnabled() {
1004                    return _mbMailingList.isFinderCacheEnabled();
1005            }
1006    
1007            @Override
1008            public void resetOriginalValues() {
1009                    _mbMailingList.resetOriginalValues();
1010            }
1011    
1012            private final MBMailingList _mbMailingList;
1013    }