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