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