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