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