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