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