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.blogs.kernel.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.expando.kernel.model.ExpandoBridge;
020    
021    import com.liferay.exportimport.kernel.lar.StagedModelType;
022    
023    import com.liferay.portal.kernel.model.ModelWrapper;
024    import com.liferay.portal.kernel.service.ServiceContext;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    import java.util.HashMap;
030    import java.util.Map;
031    import java.util.Objects;
032    
033    /**
034     * <p>
035     * This class is a wrapper for {@link BlogsEntry}.
036     * </p>
037     *
038     * @author Brian Wing Shun Chan
039     * @see BlogsEntry
040     * @generated
041     */
042    @ProviderType
043    public class BlogsEntryWrapper implements BlogsEntry, ModelWrapper<BlogsEntry> {
044            public BlogsEntryWrapper(BlogsEntry blogsEntry) {
045                    _blogsEntry = blogsEntry;
046            }
047    
048            @Override
049            public Class<?> getModelClass() {
050                    return BlogsEntry.class;
051            }
052    
053            @Override
054            public String getModelClassName() {
055                    return BlogsEntry.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("entryId", getEntryId());
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("title", getTitle());
071                    attributes.put("subtitle", getSubtitle());
072                    attributes.put("urlTitle", getUrlTitle());
073                    attributes.put("description", getDescription());
074                    attributes.put("content", getContent());
075                    attributes.put("displayDate", getDisplayDate());
076                    attributes.put("allowPingbacks", getAllowPingbacks());
077                    attributes.put("allowTrackbacks", getAllowTrackbacks());
078                    attributes.put("trackbacks", getTrackbacks());
079                    attributes.put("coverImageCaption", getCoverImageCaption());
080                    attributes.put("coverImageFileEntryId", getCoverImageFileEntryId());
081                    attributes.put("coverImageURL", getCoverImageURL());
082                    attributes.put("smallImage", getSmallImage());
083                    attributes.put("smallImageFileEntryId", getSmallImageFileEntryId());
084                    attributes.put("smallImageId", getSmallImageId());
085                    attributes.put("smallImageURL", getSmallImageURL());
086                    attributes.put("lastPublishDate", getLastPublishDate());
087                    attributes.put("status", getStatus());
088                    attributes.put("statusByUserId", getStatusByUserId());
089                    attributes.put("statusByUserName", getStatusByUserName());
090                    attributes.put("statusDate", getStatusDate());
091    
092                    return attributes;
093            }
094    
095            @Override
096            public void setModelAttributes(Map<String, Object> attributes) {
097                    String uuid = (String)attributes.get("uuid");
098    
099                    if (uuid != null) {
100                            setUuid(uuid);
101                    }
102    
103                    Long entryId = (Long)attributes.get("entryId");
104    
105                    if (entryId != null) {
106                            setEntryId(entryId);
107                    }
108    
109                    Long groupId = (Long)attributes.get("groupId");
110    
111                    if (groupId != null) {
112                            setGroupId(groupId);
113                    }
114    
115                    Long companyId = (Long)attributes.get("companyId");
116    
117                    if (companyId != null) {
118                            setCompanyId(companyId);
119                    }
120    
121                    Long userId = (Long)attributes.get("userId");
122    
123                    if (userId != null) {
124                            setUserId(userId);
125                    }
126    
127                    String userName = (String)attributes.get("userName");
128    
129                    if (userName != null) {
130                            setUserName(userName);
131                    }
132    
133                    Date createDate = (Date)attributes.get("createDate");
134    
135                    if (createDate != null) {
136                            setCreateDate(createDate);
137                    }
138    
139                    Date modifiedDate = (Date)attributes.get("modifiedDate");
140    
141                    if (modifiedDate != null) {
142                            setModifiedDate(modifiedDate);
143                    }
144    
145                    String title = (String)attributes.get("title");
146    
147                    if (title != null) {
148                            setTitle(title);
149                    }
150    
151                    String subtitle = (String)attributes.get("subtitle");
152    
153                    if (subtitle != null) {
154                            setSubtitle(subtitle);
155                    }
156    
157                    String urlTitle = (String)attributes.get("urlTitle");
158    
159                    if (urlTitle != null) {
160                            setUrlTitle(urlTitle);
161                    }
162    
163                    String description = (String)attributes.get("description");
164    
165                    if (description != null) {
166                            setDescription(description);
167                    }
168    
169                    String content = (String)attributes.get("content");
170    
171                    if (content != null) {
172                            setContent(content);
173                    }
174    
175                    Date displayDate = (Date)attributes.get("displayDate");
176    
177                    if (displayDate != null) {
178                            setDisplayDate(displayDate);
179                    }
180    
181                    Boolean allowPingbacks = (Boolean)attributes.get("allowPingbacks");
182    
183                    if (allowPingbacks != null) {
184                            setAllowPingbacks(allowPingbacks);
185                    }
186    
187                    Boolean allowTrackbacks = (Boolean)attributes.get("allowTrackbacks");
188    
189                    if (allowTrackbacks != null) {
190                            setAllowTrackbacks(allowTrackbacks);
191                    }
192    
193                    String trackbacks = (String)attributes.get("trackbacks");
194    
195                    if (trackbacks != null) {
196                            setTrackbacks(trackbacks);
197                    }
198    
199                    String coverImageCaption = (String)attributes.get("coverImageCaption");
200    
201                    if (coverImageCaption != null) {
202                            setCoverImageCaption(coverImageCaption);
203                    }
204    
205                    Long coverImageFileEntryId = (Long)attributes.get(
206                                    "coverImageFileEntryId");
207    
208                    if (coverImageFileEntryId != null) {
209                            setCoverImageFileEntryId(coverImageFileEntryId);
210                    }
211    
212                    String coverImageURL = (String)attributes.get("coverImageURL");
213    
214                    if (coverImageURL != null) {
215                            setCoverImageURL(coverImageURL);
216                    }
217    
218                    Boolean smallImage = (Boolean)attributes.get("smallImage");
219    
220                    if (smallImage != null) {
221                            setSmallImage(smallImage);
222                    }
223    
224                    Long smallImageFileEntryId = (Long)attributes.get(
225                                    "smallImageFileEntryId");
226    
227                    if (smallImageFileEntryId != null) {
228                            setSmallImageFileEntryId(smallImageFileEntryId);
229                    }
230    
231                    Long smallImageId = (Long)attributes.get("smallImageId");
232    
233                    if (smallImageId != null) {
234                            setSmallImageId(smallImageId);
235                    }
236    
237                    String smallImageURL = (String)attributes.get("smallImageURL");
238    
239                    if (smallImageURL != null) {
240                            setSmallImageURL(smallImageURL);
241                    }
242    
243                    Date lastPublishDate = (Date)attributes.get("lastPublishDate");
244    
245                    if (lastPublishDate != null) {
246                            setLastPublishDate(lastPublishDate);
247                    }
248    
249                    Integer status = (Integer)attributes.get("status");
250    
251                    if (status != null) {
252                            setStatus(status);
253                    }
254    
255                    Long statusByUserId = (Long)attributes.get("statusByUserId");
256    
257                    if (statusByUserId != null) {
258                            setStatusByUserId(statusByUserId);
259                    }
260    
261                    String statusByUserName = (String)attributes.get("statusByUserName");
262    
263                    if (statusByUserName != null) {
264                            setStatusByUserName(statusByUserName);
265                    }
266    
267                    Date statusDate = (Date)attributes.get("statusDate");
268    
269                    if (statusDate != null) {
270                            setStatusDate(statusDate);
271                    }
272            }
273    
274            @Override
275            public BlogsEntry toEscapedModel() {
276                    return new BlogsEntryWrapper(_blogsEntry.toEscapedModel());
277            }
278    
279            @Override
280            public BlogsEntry toUnescapedModel() {
281                    return new BlogsEntryWrapper(_blogsEntry.toUnescapedModel());
282            }
283    
284            /**
285            * Returns the allow pingbacks of this blogs entry.
286            *
287            * @return the allow pingbacks of this blogs entry
288            */
289            @Override
290            public boolean getAllowPingbacks() {
291                    return _blogsEntry.getAllowPingbacks();
292            }
293    
294            /**
295            * Returns the allow trackbacks of this blogs entry.
296            *
297            * @return the allow trackbacks of this blogs entry
298            */
299            @Override
300            public boolean getAllowTrackbacks() {
301                    return _blogsEntry.getAllowTrackbacks();
302            }
303    
304            /**
305            * Returns the small image of this blogs entry.
306            *
307            * @return the small image of this blogs entry
308            */
309            @Override
310            public boolean getSmallImage() {
311                    return _blogsEntry.getSmallImage();
312            }
313    
314            /**
315            * Returns <code>true</code> if this blogs entry is allow pingbacks.
316            *
317            * @return <code>true</code> if this blogs entry is allow pingbacks; <code>false</code> otherwise
318            */
319            @Override
320            public boolean isAllowPingbacks() {
321                    return _blogsEntry.isAllowPingbacks();
322            }
323    
324            /**
325            * Returns <code>true</code> if this blogs entry is allow trackbacks.
326            *
327            * @return <code>true</code> if this blogs entry is allow trackbacks; <code>false</code> otherwise
328            */
329            @Override
330            public boolean isAllowTrackbacks() {
331                    return _blogsEntry.isAllowTrackbacks();
332            }
333    
334            /**
335            * Returns <code>true</code> if this blogs entry is approved.
336            *
337            * @return <code>true</code> if this blogs entry is approved; <code>false</code> otherwise
338            */
339            @Override
340            public boolean isApproved() {
341                    return _blogsEntry.isApproved();
342            }
343    
344            @Override
345            public boolean isCachedModel() {
346                    return _blogsEntry.isCachedModel();
347            }
348    
349            /**
350            * Returns <code>true</code> if this blogs entry is denied.
351            *
352            * @return <code>true</code> if this blogs entry is denied; <code>false</code> otherwise
353            */
354            @Override
355            public boolean isDenied() {
356                    return _blogsEntry.isDenied();
357            }
358    
359            /**
360            * Returns <code>true</code> if this blogs entry is a draft.
361            *
362            * @return <code>true</code> if this blogs entry is a draft; <code>false</code> otherwise
363            */
364            @Override
365            public boolean isDraft() {
366                    return _blogsEntry.isDraft();
367            }
368    
369            @Override
370            public boolean isEscapedModel() {
371                    return _blogsEntry.isEscapedModel();
372            }
373    
374            /**
375            * Returns <code>true</code> if this blogs entry is expired.
376            *
377            * @return <code>true</code> if this blogs entry is expired; <code>false</code> otherwise
378            */
379            @Override
380            public boolean isExpired() {
381                    return _blogsEntry.isExpired();
382            }
383    
384            /**
385            * Returns <code>true</code> if this blogs entry is in the Recycle Bin.
386            *
387            * @return <code>true</code> if this blogs entry is in the Recycle Bin; <code>false</code> otherwise
388            */
389            @Override
390            public boolean isInTrash() {
391                    return _blogsEntry.isInTrash();
392            }
393    
394            /**
395            * Returns <code>true</code> if the parent of this blogs entry is in the Recycle Bin.
396            *
397            * @return <code>true</code> if the parent of this blogs entry is in the Recycle Bin; <code>false</code> otherwise
398            */
399            @Override
400            public boolean isInTrashContainer() {
401                    return _blogsEntry.isInTrashContainer();
402            }
403    
404            @Override
405            public boolean isInTrashExplicitly() {
406                    return _blogsEntry.isInTrashExplicitly();
407            }
408    
409            @Override
410            public boolean isInTrashImplicitly() {
411                    return _blogsEntry.isInTrashImplicitly();
412            }
413    
414            /**
415            * Returns <code>true</code> if this blogs entry is inactive.
416            *
417            * @return <code>true</code> if this blogs entry is inactive; <code>false</code> otherwise
418            */
419            @Override
420            public boolean isInactive() {
421                    return _blogsEntry.isInactive();
422            }
423    
424            /**
425            * Returns <code>true</code> if this blogs entry is incomplete.
426            *
427            * @return <code>true</code> if this blogs entry is incomplete; <code>false</code> otherwise
428            */
429            @Override
430            public boolean isIncomplete() {
431                    return _blogsEntry.isIncomplete();
432            }
433    
434            @Override
435            public boolean isNew() {
436                    return _blogsEntry.isNew();
437            }
438    
439            /**
440            * Returns <code>true</code> if this blogs entry is pending.
441            *
442            * @return <code>true</code> if this blogs entry is pending; <code>false</code> otherwise
443            */
444            @Override
445            public boolean isPending() {
446                    return _blogsEntry.isPending();
447            }
448    
449            /**
450            * Returns <code>true</code> if this blogs entry is scheduled.
451            *
452            * @return <code>true</code> if this blogs entry is scheduled; <code>false</code> otherwise
453            */
454            @Override
455            public boolean isScheduled() {
456                    return _blogsEntry.isScheduled();
457            }
458    
459            /**
460            * Returns <code>true</code> if this blogs entry is small image.
461            *
462            * @return <code>true</code> if this blogs entry is small image; <code>false</code> otherwise
463            */
464            @Override
465            public boolean isSmallImage() {
466                    return _blogsEntry.isSmallImage();
467            }
468    
469            @Override
470            public boolean isVisible() {
471                    return _blogsEntry.isVisible();
472            }
473    
474            @Override
475            public ExpandoBridge getExpandoBridge() {
476                    return _blogsEntry.getExpandoBridge();
477            }
478    
479            @Override
480            public com.liferay.portal.kernel.model.CacheModel<BlogsEntry> toCacheModel() {
481                    return _blogsEntry.toCacheModel();
482            }
483    
484            /**
485            * Returns the trash handler for this blogs entry.
486            *
487            * @return the trash handler for this blogs entry
488            */
489            @Override
490            public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
491                    return _blogsEntry.getTrashHandler();
492            }
493    
494            /**
495            * Returns the trash entry created when this blogs entry was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this blogs entry.
496            *
497            * @return the trash entry created when this blogs entry was moved to the Recycle Bin
498            */
499            @Override
500            public com.liferay.trash.kernel.model.TrashEntry getTrashEntry()
501                    throws com.liferay.portal.kernel.exception.PortalException {
502                    return _blogsEntry.getTrashEntry();
503            }
504    
505            @Override
506            public int compareTo(BlogsEntry blogsEntry) {
507                    return _blogsEntry.compareTo(blogsEntry);
508            }
509    
510            /**
511            * Returns the status of this blogs entry.
512            *
513            * @return the status of this blogs entry
514            */
515            @Override
516            public int getStatus() {
517                    return _blogsEntry.getStatus();
518            }
519    
520            @Override
521            public int hashCode() {
522                    return _blogsEntry.hashCode();
523            }
524    
525            @Override
526            public Serializable getPrimaryKeyObj() {
527                    return _blogsEntry.getPrimaryKeyObj();
528            }
529    
530            @Override
531            public java.lang.Object clone() {
532                    return new BlogsEntryWrapper((BlogsEntry)_blogsEntry.clone());
533            }
534    
535            /**
536            * Returns the content of this blogs entry.
537            *
538            * @return the content of this blogs entry
539            */
540            @Override
541            public java.lang.String getContent() {
542                    return _blogsEntry.getContent();
543            }
544    
545            /**
546            * Returns the cover image caption of this blogs entry.
547            *
548            * @return the cover image caption of this blogs entry
549            */
550            @Override
551            public java.lang.String getCoverImageCaption() {
552                    return _blogsEntry.getCoverImageCaption();
553            }
554    
555            /**
556            * Returns the cover image u r l of this blogs entry.
557            *
558            * @return the cover image u r l of this blogs entry
559            */
560            @Override
561            public java.lang.String getCoverImageURL() {
562                    return _blogsEntry.getCoverImageURL();
563            }
564    
565            @Override
566            public java.lang.String getCoverImageURL(
567                    com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
568                    throws com.liferay.portal.kernel.exception.PortalException {
569                    return _blogsEntry.getCoverImageURL(themeDisplay);
570            }
571    
572            /**
573            * Returns the description of this blogs entry.
574            *
575            * @return the description of this blogs entry
576            */
577            @Override
578            public java.lang.String getDescription() {
579                    return _blogsEntry.getDescription();
580            }
581    
582            /**
583            * @deprecated As of 7.0.0, replaced by {@link
584            #getSmallImageURL(ThemeDisplay)}
585            */
586            @Deprecated
587            @Override
588            public java.lang.String getEntryImageURL(
589                    com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) {
590                    return _blogsEntry.getEntryImageURL(themeDisplay);
591            }
592    
593            @Override
594            public java.lang.String getSmallImageType()
595                    throws com.liferay.portal.kernel.exception.PortalException {
596                    return _blogsEntry.getSmallImageType();
597            }
598    
599            /**
600            * Returns the small image u r l of this blogs entry.
601            *
602            * @return the small image u r l of this blogs entry
603            */
604            @Override
605            public java.lang.String getSmallImageURL() {
606                    return _blogsEntry.getSmallImageURL();
607            }
608    
609            @Override
610            public java.lang.String getSmallImageURL(
611                    com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
612                    throws com.liferay.portal.kernel.exception.PortalException {
613                    return _blogsEntry.getSmallImageURL(themeDisplay);
614            }
615    
616            /**
617            * Returns the status by user name of this blogs entry.
618            *
619            * @return the status by user name of this blogs entry
620            */
621            @Override
622            public java.lang.String getStatusByUserName() {
623                    return _blogsEntry.getStatusByUserName();
624            }
625    
626            /**
627            * Returns the status by user uuid of this blogs entry.
628            *
629            * @return the status by user uuid of this blogs entry
630            */
631            @Override
632            public java.lang.String getStatusByUserUuid() {
633                    return _blogsEntry.getStatusByUserUuid();
634            }
635    
636            /**
637            * Returns the subtitle of this blogs entry.
638            *
639            * @return the subtitle of this blogs entry
640            */
641            @Override
642            public java.lang.String getSubtitle() {
643                    return _blogsEntry.getSubtitle();
644            }
645    
646            /**
647            * Returns the title of this blogs entry.
648            *
649            * @return the title of this blogs entry
650            */
651            @Override
652            public java.lang.String getTitle() {
653                    return _blogsEntry.getTitle();
654            }
655    
656            /**
657            * Returns the trackbacks of this blogs entry.
658            *
659            * @return the trackbacks of this blogs entry
660            */
661            @Override
662            public java.lang.String getTrackbacks() {
663                    return _blogsEntry.getTrackbacks();
664            }
665    
666            /**
667            * Returns the url title of this blogs entry.
668            *
669            * @return the url title of this blogs entry
670            */
671            @Override
672            public java.lang.String getUrlTitle() {
673                    return _blogsEntry.getUrlTitle();
674            }
675    
676            /**
677            * Returns the user name of this blogs entry.
678            *
679            * @return the user name of this blogs entry
680            */
681            @Override
682            public java.lang.String getUserName() {
683                    return _blogsEntry.getUserName();
684            }
685    
686            /**
687            * Returns the user uuid of this blogs entry.
688            *
689            * @return the user uuid of this blogs entry
690            */
691            @Override
692            public java.lang.String getUserUuid() {
693                    return _blogsEntry.getUserUuid();
694            }
695    
696            /**
697            * Returns the uuid of this blogs entry.
698            *
699            * @return the uuid of this blogs entry
700            */
701            @Override
702            public java.lang.String getUuid() {
703                    return _blogsEntry.getUuid();
704            }
705    
706            @Override
707            public java.lang.String toString() {
708                    return _blogsEntry.toString();
709            }
710    
711            @Override
712            public java.lang.String toXmlString() {
713                    return _blogsEntry.toXmlString();
714            }
715    
716            /**
717            * Returns the create date of this blogs entry.
718            *
719            * @return the create date of this blogs entry
720            */
721            @Override
722            public Date getCreateDate() {
723                    return _blogsEntry.getCreateDate();
724            }
725    
726            /**
727            * Returns the display date of this blogs entry.
728            *
729            * @return the display date of this blogs entry
730            */
731            @Override
732            public Date getDisplayDate() {
733                    return _blogsEntry.getDisplayDate();
734            }
735    
736            /**
737            * Returns the last publish date of this blogs entry.
738            *
739            * @return the last publish date of this blogs entry
740            */
741            @Override
742            public Date getLastPublishDate() {
743                    return _blogsEntry.getLastPublishDate();
744            }
745    
746            /**
747            * Returns the modified date of this blogs entry.
748            *
749            * @return the modified date of this blogs entry
750            */
751            @Override
752            public Date getModifiedDate() {
753                    return _blogsEntry.getModifiedDate();
754            }
755    
756            /**
757            * Returns the status date of this blogs entry.
758            *
759            * @return the status date of this blogs entry
760            */
761            @Override
762            public Date getStatusDate() {
763                    return _blogsEntry.getStatusDate();
764            }
765    
766            /**
767            * Returns the company ID of this blogs entry.
768            *
769            * @return the company ID of this blogs entry
770            */
771            @Override
772            public long getCompanyId() {
773                    return _blogsEntry.getCompanyId();
774            }
775    
776            /**
777            * Returns the cover image file entry ID of this blogs entry.
778            *
779            * @return the cover image file entry ID of this blogs entry
780            */
781            @Override
782            public long getCoverImageFileEntryId() {
783                    return _blogsEntry.getCoverImageFileEntryId();
784            }
785    
786            /**
787            * Returns the entry ID of this blogs entry.
788            *
789            * @return the entry ID of this blogs entry
790            */
791            @Override
792            public long getEntryId() {
793                    return _blogsEntry.getEntryId();
794            }
795    
796            /**
797            * Returns the group ID of this blogs entry.
798            *
799            * @return the group ID of this blogs entry
800            */
801            @Override
802            public long getGroupId() {
803                    return _blogsEntry.getGroupId();
804            }
805    
806            /**
807            * Returns the primary key of this blogs entry.
808            *
809            * @return the primary key of this blogs entry
810            */
811            @Override
812            public long getPrimaryKey() {
813                    return _blogsEntry.getPrimaryKey();
814            }
815    
816            /**
817            * Returns the small image file entry ID of this blogs entry.
818            *
819            * @return the small image file entry ID of this blogs entry
820            */
821            @Override
822            public long getSmallImageFileEntryId() {
823                    return _blogsEntry.getSmallImageFileEntryId();
824            }
825    
826            /**
827            * Returns the small image ID of this blogs entry.
828            *
829            * @return the small image ID of this blogs entry
830            */
831            @Override
832            public long getSmallImageId() {
833                    return _blogsEntry.getSmallImageId();
834            }
835    
836            /**
837            * Returns the status by user ID of this blogs entry.
838            *
839            * @return the status by user ID of this blogs entry
840            */
841            @Override
842            public long getStatusByUserId() {
843                    return _blogsEntry.getStatusByUserId();
844            }
845    
846            /**
847            * Returns the class primary key of the trash entry for this blogs entry.
848            *
849            * @return the class primary key of the trash entry for this blogs entry
850            */
851            @Override
852            public long getTrashEntryClassPK() {
853                    return _blogsEntry.getTrashEntryClassPK();
854            }
855    
856            /**
857            * Returns the user ID of this blogs entry.
858            *
859            * @return the user ID of this blogs entry
860            */
861            @Override
862            public long getUserId() {
863                    return _blogsEntry.getUserId();
864            }
865    
866            @Override
867            public void persist() {
868                    _blogsEntry.persist();
869            }
870    
871            /**
872            * Sets whether this blogs entry is allow pingbacks.
873            *
874            * @param allowPingbacks the allow pingbacks of this blogs entry
875            */
876            @Override
877            public void setAllowPingbacks(boolean allowPingbacks) {
878                    _blogsEntry.setAllowPingbacks(allowPingbacks);
879            }
880    
881            /**
882            * Sets whether this blogs entry is allow trackbacks.
883            *
884            * @param allowTrackbacks the allow trackbacks of this blogs entry
885            */
886            @Override
887            public void setAllowTrackbacks(boolean allowTrackbacks) {
888                    _blogsEntry.setAllowTrackbacks(allowTrackbacks);
889            }
890    
891            @Override
892            public void setCachedModel(boolean cachedModel) {
893                    _blogsEntry.setCachedModel(cachedModel);
894            }
895    
896            /**
897            * Sets the company ID of this blogs entry.
898            *
899            * @param companyId the company ID of this blogs entry
900            */
901            @Override
902            public void setCompanyId(long companyId) {
903                    _blogsEntry.setCompanyId(companyId);
904            }
905    
906            /**
907            * Sets the content of this blogs entry.
908            *
909            * @param content the content of this blogs entry
910            */
911            @Override
912            public void setContent(java.lang.String content) {
913                    _blogsEntry.setContent(content);
914            }
915    
916            /**
917            * Sets the cover image caption of this blogs entry.
918            *
919            * @param coverImageCaption the cover image caption of this blogs entry
920            */
921            @Override
922            public void setCoverImageCaption(java.lang.String coverImageCaption) {
923                    _blogsEntry.setCoverImageCaption(coverImageCaption);
924            }
925    
926            /**
927            * Sets the cover image file entry ID of this blogs entry.
928            *
929            * @param coverImageFileEntryId the cover image file entry ID of this blogs entry
930            */
931            @Override
932            public void setCoverImageFileEntryId(long coverImageFileEntryId) {
933                    _blogsEntry.setCoverImageFileEntryId(coverImageFileEntryId);
934            }
935    
936            /**
937            * Sets the cover image u r l of this blogs entry.
938            *
939            * @param coverImageURL the cover image u r l of this blogs entry
940            */
941            @Override
942            public void setCoverImageURL(java.lang.String coverImageURL) {
943                    _blogsEntry.setCoverImageURL(coverImageURL);
944            }
945    
946            /**
947            * Sets the create date of this blogs entry.
948            *
949            * @param createDate the create date of this blogs entry
950            */
951            @Override
952            public void setCreateDate(Date createDate) {
953                    _blogsEntry.setCreateDate(createDate);
954            }
955    
956            /**
957            * Sets the description of this blogs entry.
958            *
959            * @param description the description of this blogs entry
960            */
961            @Override
962            public void setDescription(java.lang.String description) {
963                    _blogsEntry.setDescription(description);
964            }
965    
966            /**
967            * Sets the display date of this blogs entry.
968            *
969            * @param displayDate the display date of this blogs entry
970            */
971            @Override
972            public void setDisplayDate(Date displayDate) {
973                    _blogsEntry.setDisplayDate(displayDate);
974            }
975    
976            /**
977            * Sets the entry ID of this blogs entry.
978            *
979            * @param entryId the entry ID of this blogs entry
980            */
981            @Override
982            public void setEntryId(long entryId) {
983                    _blogsEntry.setEntryId(entryId);
984            }
985    
986            @Override
987            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) {
988                    _blogsEntry.setExpandoBridgeAttributes(expandoBridge);
989            }
990    
991            @Override
992            public void setExpandoBridgeAttributes(
993                    com.liferay.portal.kernel.model.BaseModel<?> baseModel) {
994                    _blogsEntry.setExpandoBridgeAttributes(baseModel);
995            }
996    
997            @Override
998            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
999                    _blogsEntry.setExpandoBridgeAttributes(serviceContext);
1000            }
1001    
1002            /**
1003            * Sets the group ID of this blogs entry.
1004            *
1005            * @param groupId the group ID of this blogs entry
1006            */
1007            @Override
1008            public void setGroupId(long groupId) {
1009                    _blogsEntry.setGroupId(groupId);
1010            }
1011    
1012            /**
1013            * Sets the last publish date of this blogs entry.
1014            *
1015            * @param lastPublishDate the last publish date of this blogs entry
1016            */
1017            @Override
1018            public void setLastPublishDate(Date lastPublishDate) {
1019                    _blogsEntry.setLastPublishDate(lastPublishDate);
1020            }
1021    
1022            /**
1023            * Sets the modified date of this blogs entry.
1024            *
1025            * @param modifiedDate the modified date of this blogs entry
1026            */
1027            @Override
1028            public void setModifiedDate(Date modifiedDate) {
1029                    _blogsEntry.setModifiedDate(modifiedDate);
1030            }
1031    
1032            @Override
1033            public void setNew(boolean n) {
1034                    _blogsEntry.setNew(n);
1035            }
1036    
1037            /**
1038            * Sets the primary key of this blogs entry.
1039            *
1040            * @param primaryKey the primary key of this blogs entry
1041            */
1042            @Override
1043            public void setPrimaryKey(long primaryKey) {
1044                    _blogsEntry.setPrimaryKey(primaryKey);
1045            }
1046    
1047            @Override
1048            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
1049                    _blogsEntry.setPrimaryKeyObj(primaryKeyObj);
1050            }
1051    
1052            /**
1053            * Sets whether this blogs entry is small image.
1054            *
1055            * @param smallImage the small image of this blogs entry
1056            */
1057            @Override
1058            public void setSmallImage(boolean smallImage) {
1059                    _blogsEntry.setSmallImage(smallImage);
1060            }
1061    
1062            /**
1063            * Sets the small image file entry ID of this blogs entry.
1064            *
1065            * @param smallImageFileEntryId the small image file entry ID of this blogs entry
1066            */
1067            @Override
1068            public void setSmallImageFileEntryId(long smallImageFileEntryId) {
1069                    _blogsEntry.setSmallImageFileEntryId(smallImageFileEntryId);
1070            }
1071    
1072            /**
1073            * Sets the small image ID of this blogs entry.
1074            *
1075            * @param smallImageId the small image ID of this blogs entry
1076            */
1077            @Override
1078            public void setSmallImageId(long smallImageId) {
1079                    _blogsEntry.setSmallImageId(smallImageId);
1080            }
1081    
1082            @Override
1083            public void setSmallImageType(java.lang.String smallImageType) {
1084                    _blogsEntry.setSmallImageType(smallImageType);
1085            }
1086    
1087            /**
1088            * Sets the small image u r l of this blogs entry.
1089            *
1090            * @param smallImageURL the small image u r l of this blogs entry
1091            */
1092            @Override
1093            public void setSmallImageURL(java.lang.String smallImageURL) {
1094                    _blogsEntry.setSmallImageURL(smallImageURL);
1095            }
1096    
1097            /**
1098            * Sets the status of this blogs entry.
1099            *
1100            * @param status the status of this blogs entry
1101            */
1102            @Override
1103            public void setStatus(int status) {
1104                    _blogsEntry.setStatus(status);
1105            }
1106    
1107            /**
1108            * Sets the status by user ID of this blogs entry.
1109            *
1110            * @param statusByUserId the status by user ID of this blogs entry
1111            */
1112            @Override
1113            public void setStatusByUserId(long statusByUserId) {
1114                    _blogsEntry.setStatusByUserId(statusByUserId);
1115            }
1116    
1117            /**
1118            * Sets the status by user name of this blogs entry.
1119            *
1120            * @param statusByUserName the status by user name of this blogs entry
1121            */
1122            @Override
1123            public void setStatusByUserName(java.lang.String statusByUserName) {
1124                    _blogsEntry.setStatusByUserName(statusByUserName);
1125            }
1126    
1127            /**
1128            * Sets the status by user uuid of this blogs entry.
1129            *
1130            * @param statusByUserUuid the status by user uuid of this blogs entry
1131            */
1132            @Override
1133            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
1134                    _blogsEntry.setStatusByUserUuid(statusByUserUuid);
1135            }
1136    
1137            /**
1138            * Sets the status date of this blogs entry.
1139            *
1140            * @param statusDate the status date of this blogs entry
1141            */
1142            @Override
1143            public void setStatusDate(Date statusDate) {
1144                    _blogsEntry.setStatusDate(statusDate);
1145            }
1146    
1147            /**
1148            * Sets the subtitle of this blogs entry.
1149            *
1150            * @param subtitle the subtitle of this blogs entry
1151            */
1152            @Override
1153            public void setSubtitle(java.lang.String subtitle) {
1154                    _blogsEntry.setSubtitle(subtitle);
1155            }
1156    
1157            /**
1158            * Sets the title of this blogs entry.
1159            *
1160            * @param title the title of this blogs entry
1161            */
1162            @Override
1163            public void setTitle(java.lang.String title) {
1164                    _blogsEntry.setTitle(title);
1165            }
1166    
1167            /**
1168            * Sets the trackbacks of this blogs entry.
1169            *
1170            * @param trackbacks the trackbacks of this blogs entry
1171            */
1172            @Override
1173            public void setTrackbacks(java.lang.String trackbacks) {
1174                    _blogsEntry.setTrackbacks(trackbacks);
1175            }
1176    
1177            /**
1178            * Sets the url title of this blogs entry.
1179            *
1180            * @param urlTitle the url title of this blogs entry
1181            */
1182            @Override
1183            public void setUrlTitle(java.lang.String urlTitle) {
1184                    _blogsEntry.setUrlTitle(urlTitle);
1185            }
1186    
1187            /**
1188            * Sets the user ID of this blogs entry.
1189            *
1190            * @param userId the user ID of this blogs entry
1191            */
1192            @Override
1193            public void setUserId(long userId) {
1194                    _blogsEntry.setUserId(userId);
1195            }
1196    
1197            /**
1198            * Sets the user name of this blogs entry.
1199            *
1200            * @param userName the user name of this blogs entry
1201            */
1202            @Override
1203            public void setUserName(java.lang.String userName) {
1204                    _blogsEntry.setUserName(userName);
1205            }
1206    
1207            /**
1208            * Sets the user uuid of this blogs entry.
1209            *
1210            * @param userUuid the user uuid of this blogs entry
1211            */
1212            @Override
1213            public void setUserUuid(java.lang.String userUuid) {
1214                    _blogsEntry.setUserUuid(userUuid);
1215            }
1216    
1217            /**
1218            * Sets the uuid of this blogs entry.
1219            *
1220            * @param uuid the uuid of this blogs entry
1221            */
1222            @Override
1223            public void setUuid(java.lang.String uuid) {
1224                    _blogsEntry.setUuid(uuid);
1225            }
1226    
1227            @Override
1228            public boolean equals(Object obj) {
1229                    if (this == obj) {
1230                            return true;
1231                    }
1232    
1233                    if (!(obj instanceof BlogsEntryWrapper)) {
1234                            return false;
1235                    }
1236    
1237                    BlogsEntryWrapper blogsEntryWrapper = (BlogsEntryWrapper)obj;
1238    
1239                    if (Objects.equals(_blogsEntry, blogsEntryWrapper._blogsEntry)) {
1240                            return true;
1241                    }
1242    
1243                    return false;
1244            }
1245    
1246            @Override
1247            public StagedModelType getStagedModelType() {
1248                    return _blogsEntry.getStagedModelType();
1249            }
1250    
1251            @Override
1252            public BlogsEntry getWrappedModel() {
1253                    return _blogsEntry;
1254            }
1255    
1256            @Override
1257            public boolean isEntityCacheEnabled() {
1258                    return _blogsEntry.isEntityCacheEnabled();
1259            }
1260    
1261            @Override
1262            public boolean isFinderCacheEnabled() {
1263                    return _blogsEntry.isFinderCacheEnabled();
1264            }
1265    
1266            @Override
1267            public void resetOriginalValues() {
1268                    _blogsEntry.resetOriginalValues();
1269            }
1270    
1271            private final BlogsEntry _blogsEntry;
1272    }