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