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