001    /**
002     * Copyright (c) 2000-2013 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 com.liferay.portal.kernel.util.Validator;
018    import com.liferay.portal.model.ModelWrapper;
019    
020    import java.util.Date;
021    import java.util.HashMap;
022    import java.util.Map;
023    
024    /**
025     * <p>
026     * This class is a wrapper for {@link BlogsEntry}.
027     * </p>
028     *
029     * @author    Brian Wing Shun Chan
030     * @see       BlogsEntry
031     * @generated
032     */
033    public class BlogsEntryWrapper implements BlogsEntry, ModelWrapper<BlogsEntry> {
034            public BlogsEntryWrapper(BlogsEntry blogsEntry) {
035                    _blogsEntry = blogsEntry;
036            }
037    
038            public Class<?> getModelClass() {
039                    return BlogsEntry.class;
040            }
041    
042            public String getModelClassName() {
043                    return BlogsEntry.class.getName();
044            }
045    
046            public Map<String, Object> getModelAttributes() {
047                    Map<String, Object> attributes = new HashMap<String, Object>();
048    
049                    attributes.put("uuid", getUuid());
050                    attributes.put("entryId", getEntryId());
051                    attributes.put("groupId", getGroupId());
052                    attributes.put("companyId", getCompanyId());
053                    attributes.put("userId", getUserId());
054                    attributes.put("userName", getUserName());
055                    attributes.put("createDate", getCreateDate());
056                    attributes.put("modifiedDate", getModifiedDate());
057                    attributes.put("title", getTitle());
058                    attributes.put("urlTitle", getUrlTitle());
059                    attributes.put("description", getDescription());
060                    attributes.put("content", getContent());
061                    attributes.put("displayDate", getDisplayDate());
062                    attributes.put("allowPingbacks", getAllowPingbacks());
063                    attributes.put("allowTrackbacks", getAllowTrackbacks());
064                    attributes.put("trackbacks", getTrackbacks());
065                    attributes.put("smallImage", getSmallImage());
066                    attributes.put("smallImageId", getSmallImageId());
067                    attributes.put("smallImageURL", getSmallImageURL());
068                    attributes.put("status", getStatus());
069                    attributes.put("statusByUserId", getStatusByUserId());
070                    attributes.put("statusByUserName", getStatusByUserName());
071                    attributes.put("statusDate", getStatusDate());
072    
073                    return attributes;
074            }
075    
076            public void setModelAttributes(Map<String, Object> attributes) {
077                    String uuid = (String)attributes.get("uuid");
078    
079                    if (uuid != null) {
080                            setUuid(uuid);
081                    }
082    
083                    Long entryId = (Long)attributes.get("entryId");
084    
085                    if (entryId != null) {
086                            setEntryId(entryId);
087                    }
088    
089                    Long groupId = (Long)attributes.get("groupId");
090    
091                    if (groupId != null) {
092                            setGroupId(groupId);
093                    }
094    
095                    Long companyId = (Long)attributes.get("companyId");
096    
097                    if (companyId != null) {
098                            setCompanyId(companyId);
099                    }
100    
101                    Long userId = (Long)attributes.get("userId");
102    
103                    if (userId != null) {
104                            setUserId(userId);
105                    }
106    
107                    String userName = (String)attributes.get("userName");
108    
109                    if (userName != null) {
110                            setUserName(userName);
111                    }
112    
113                    Date createDate = (Date)attributes.get("createDate");
114    
115                    if (createDate != null) {
116                            setCreateDate(createDate);
117                    }
118    
119                    Date modifiedDate = (Date)attributes.get("modifiedDate");
120    
121                    if (modifiedDate != null) {
122                            setModifiedDate(modifiedDate);
123                    }
124    
125                    String title = (String)attributes.get("title");
126    
127                    if (title != null) {
128                            setTitle(title);
129                    }
130    
131                    String urlTitle = (String)attributes.get("urlTitle");
132    
133                    if (urlTitle != null) {
134                            setUrlTitle(urlTitle);
135                    }
136    
137                    String description = (String)attributes.get("description");
138    
139                    if (description != null) {
140                            setDescription(description);
141                    }
142    
143                    String content = (String)attributes.get("content");
144    
145                    if (content != null) {
146                            setContent(content);
147                    }
148    
149                    Date displayDate = (Date)attributes.get("displayDate");
150    
151                    if (displayDate != null) {
152                            setDisplayDate(displayDate);
153                    }
154    
155                    Boolean allowPingbacks = (Boolean)attributes.get("allowPingbacks");
156    
157                    if (allowPingbacks != null) {
158                            setAllowPingbacks(allowPingbacks);
159                    }
160    
161                    Boolean allowTrackbacks = (Boolean)attributes.get("allowTrackbacks");
162    
163                    if (allowTrackbacks != null) {
164                            setAllowTrackbacks(allowTrackbacks);
165                    }
166    
167                    String trackbacks = (String)attributes.get("trackbacks");
168    
169                    if (trackbacks != null) {
170                            setTrackbacks(trackbacks);
171                    }
172    
173                    Boolean smallImage = (Boolean)attributes.get("smallImage");
174    
175                    if (smallImage != null) {
176                            setSmallImage(smallImage);
177                    }
178    
179                    Long smallImageId = (Long)attributes.get("smallImageId");
180    
181                    if (smallImageId != null) {
182                            setSmallImageId(smallImageId);
183                    }
184    
185                    String smallImageURL = (String)attributes.get("smallImageURL");
186    
187                    if (smallImageURL != null) {
188                            setSmallImageURL(smallImageURL);
189                    }
190    
191                    Integer status = (Integer)attributes.get("status");
192    
193                    if (status != null) {
194                            setStatus(status);
195                    }
196    
197                    Long statusByUserId = (Long)attributes.get("statusByUserId");
198    
199                    if (statusByUserId != null) {
200                            setStatusByUserId(statusByUserId);
201                    }
202    
203                    String statusByUserName = (String)attributes.get("statusByUserName");
204    
205                    if (statusByUserName != null) {
206                            setStatusByUserName(statusByUserName);
207                    }
208    
209                    Date statusDate = (Date)attributes.get("statusDate");
210    
211                    if (statusDate != null) {
212                            setStatusDate(statusDate);
213                    }
214            }
215    
216            /**
217            * Returns the primary key of this blogs entry.
218            *
219            * @return the primary key of this blogs entry
220            */
221            public long getPrimaryKey() {
222                    return _blogsEntry.getPrimaryKey();
223            }
224    
225            /**
226            * Sets the primary key of this blogs entry.
227            *
228            * @param primaryKey the primary key of this blogs entry
229            */
230            public void setPrimaryKey(long primaryKey) {
231                    _blogsEntry.setPrimaryKey(primaryKey);
232            }
233    
234            /**
235            * Returns the uuid of this blogs entry.
236            *
237            * @return the uuid of this blogs entry
238            */
239            public java.lang.String getUuid() {
240                    return _blogsEntry.getUuid();
241            }
242    
243            /**
244            * Sets the uuid of this blogs entry.
245            *
246            * @param uuid the uuid of this blogs entry
247            */
248            public void setUuid(java.lang.String uuid) {
249                    _blogsEntry.setUuid(uuid);
250            }
251    
252            /**
253            * Returns the entry ID of this blogs entry.
254            *
255            * @return the entry ID of this blogs entry
256            */
257            public long getEntryId() {
258                    return _blogsEntry.getEntryId();
259            }
260    
261            /**
262            * Sets the entry ID of this blogs entry.
263            *
264            * @param entryId the entry ID of this blogs entry
265            */
266            public void setEntryId(long entryId) {
267                    _blogsEntry.setEntryId(entryId);
268            }
269    
270            /**
271            * Returns the group ID of this blogs entry.
272            *
273            * @return the group ID of this blogs entry
274            */
275            public long getGroupId() {
276                    return _blogsEntry.getGroupId();
277            }
278    
279            /**
280            * Sets the group ID of this blogs entry.
281            *
282            * @param groupId the group ID of this blogs entry
283            */
284            public void setGroupId(long groupId) {
285                    _blogsEntry.setGroupId(groupId);
286            }
287    
288            /**
289            * Returns the company ID of this blogs entry.
290            *
291            * @return the company ID of this blogs entry
292            */
293            public long getCompanyId() {
294                    return _blogsEntry.getCompanyId();
295            }
296    
297            /**
298            * Sets the company ID of this blogs entry.
299            *
300            * @param companyId the company ID of this blogs entry
301            */
302            public void setCompanyId(long companyId) {
303                    _blogsEntry.setCompanyId(companyId);
304            }
305    
306            /**
307            * Returns the user ID of this blogs entry.
308            *
309            * @return the user ID of this blogs entry
310            */
311            public long getUserId() {
312                    return _blogsEntry.getUserId();
313            }
314    
315            /**
316            * Sets the user ID of this blogs entry.
317            *
318            * @param userId the user ID of this blogs entry
319            */
320            public void setUserId(long userId) {
321                    _blogsEntry.setUserId(userId);
322            }
323    
324            /**
325            * Returns the user uuid of this blogs entry.
326            *
327            * @return the user uuid of this blogs entry
328            * @throws SystemException if a system exception occurred
329            */
330            public java.lang.String getUserUuid()
331                    throws com.liferay.portal.kernel.exception.SystemException {
332                    return _blogsEntry.getUserUuid();
333            }
334    
335            /**
336            * Sets the user uuid of this blogs entry.
337            *
338            * @param userUuid the user uuid of this blogs entry
339            */
340            public void setUserUuid(java.lang.String userUuid) {
341                    _blogsEntry.setUserUuid(userUuid);
342            }
343    
344            /**
345            * Returns the user name of this blogs entry.
346            *
347            * @return the user name of this blogs entry
348            */
349            public java.lang.String getUserName() {
350                    return _blogsEntry.getUserName();
351            }
352    
353            /**
354            * Sets the user name of this blogs entry.
355            *
356            * @param userName the user name of this blogs entry
357            */
358            public void setUserName(java.lang.String userName) {
359                    _blogsEntry.setUserName(userName);
360            }
361    
362            /**
363            * Returns the create date of this blogs entry.
364            *
365            * @return the create date of this blogs entry
366            */
367            public java.util.Date getCreateDate() {
368                    return _blogsEntry.getCreateDate();
369            }
370    
371            /**
372            * Sets the create date of this blogs entry.
373            *
374            * @param createDate the create date of this blogs entry
375            */
376            public void setCreateDate(java.util.Date createDate) {
377                    _blogsEntry.setCreateDate(createDate);
378            }
379    
380            /**
381            * Returns the modified date of this blogs entry.
382            *
383            * @return the modified date of this blogs entry
384            */
385            public java.util.Date getModifiedDate() {
386                    return _blogsEntry.getModifiedDate();
387            }
388    
389            /**
390            * Sets the modified date of this blogs entry.
391            *
392            * @param modifiedDate the modified date of this blogs entry
393            */
394            public void setModifiedDate(java.util.Date modifiedDate) {
395                    _blogsEntry.setModifiedDate(modifiedDate);
396            }
397    
398            /**
399            * Returns the title of this blogs entry.
400            *
401            * @return the title of this blogs entry
402            */
403            public java.lang.String getTitle() {
404                    return _blogsEntry.getTitle();
405            }
406    
407            /**
408            * Sets the title of this blogs entry.
409            *
410            * @param title the title of this blogs entry
411            */
412            public void setTitle(java.lang.String title) {
413                    _blogsEntry.setTitle(title);
414            }
415    
416            /**
417            * Returns the url title of this blogs entry.
418            *
419            * @return the url title of this blogs entry
420            */
421            public java.lang.String getUrlTitle() {
422                    return _blogsEntry.getUrlTitle();
423            }
424    
425            /**
426            * Sets the url title of this blogs entry.
427            *
428            * @param urlTitle the url title of this blogs entry
429            */
430            public void setUrlTitle(java.lang.String urlTitle) {
431                    _blogsEntry.setUrlTitle(urlTitle);
432            }
433    
434            /**
435            * Returns the description of this blogs entry.
436            *
437            * @return the description of this blogs entry
438            */
439            public java.lang.String getDescription() {
440                    return _blogsEntry.getDescription();
441            }
442    
443            /**
444            * Sets the description of this blogs entry.
445            *
446            * @param description the description of this blogs entry
447            */
448            public void setDescription(java.lang.String description) {
449                    _blogsEntry.setDescription(description);
450            }
451    
452            /**
453            * Returns the content of this blogs entry.
454            *
455            * @return the content of this blogs entry
456            */
457            public java.lang.String getContent() {
458                    return _blogsEntry.getContent();
459            }
460    
461            /**
462            * Sets the content of this blogs entry.
463            *
464            * @param content the content of this blogs entry
465            */
466            public void setContent(java.lang.String content) {
467                    _blogsEntry.setContent(content);
468            }
469    
470            /**
471            * Returns the display date of this blogs entry.
472            *
473            * @return the display date of this blogs entry
474            */
475            public java.util.Date getDisplayDate() {
476                    return _blogsEntry.getDisplayDate();
477            }
478    
479            /**
480            * Sets the display date of this blogs entry.
481            *
482            * @param displayDate the display date of this blogs entry
483            */
484            public void setDisplayDate(java.util.Date displayDate) {
485                    _blogsEntry.setDisplayDate(displayDate);
486            }
487    
488            /**
489            * Returns the allow pingbacks of this blogs entry.
490            *
491            * @return the allow pingbacks of this blogs entry
492            */
493            public boolean getAllowPingbacks() {
494                    return _blogsEntry.getAllowPingbacks();
495            }
496    
497            /**
498            * Returns <code>true</code> if this blogs entry is allow pingbacks.
499            *
500            * @return <code>true</code> if this blogs entry is allow pingbacks; <code>false</code> otherwise
501            */
502            public boolean isAllowPingbacks() {
503                    return _blogsEntry.isAllowPingbacks();
504            }
505    
506            /**
507            * Sets whether this blogs entry is allow pingbacks.
508            *
509            * @param allowPingbacks the allow pingbacks of this blogs entry
510            */
511            public void setAllowPingbacks(boolean allowPingbacks) {
512                    _blogsEntry.setAllowPingbacks(allowPingbacks);
513            }
514    
515            /**
516            * Returns the allow trackbacks of this blogs entry.
517            *
518            * @return the allow trackbacks of this blogs entry
519            */
520            public boolean getAllowTrackbacks() {
521                    return _blogsEntry.getAllowTrackbacks();
522            }
523    
524            /**
525            * Returns <code>true</code> if this blogs entry is allow trackbacks.
526            *
527            * @return <code>true</code> if this blogs entry is allow trackbacks; <code>false</code> otherwise
528            */
529            public boolean isAllowTrackbacks() {
530                    return _blogsEntry.isAllowTrackbacks();
531            }
532    
533            /**
534            * Sets whether this blogs entry is allow trackbacks.
535            *
536            * @param allowTrackbacks the allow trackbacks of this blogs entry
537            */
538            public void setAllowTrackbacks(boolean allowTrackbacks) {
539                    _blogsEntry.setAllowTrackbacks(allowTrackbacks);
540            }
541    
542            /**
543            * Returns the trackbacks of this blogs entry.
544            *
545            * @return the trackbacks of this blogs entry
546            */
547            public java.lang.String getTrackbacks() {
548                    return _blogsEntry.getTrackbacks();
549            }
550    
551            /**
552            * Sets the trackbacks of this blogs entry.
553            *
554            * @param trackbacks the trackbacks of this blogs entry
555            */
556            public void setTrackbacks(java.lang.String trackbacks) {
557                    _blogsEntry.setTrackbacks(trackbacks);
558            }
559    
560            /**
561            * Returns the small image of this blogs entry.
562            *
563            * @return the small image of this blogs entry
564            */
565            public boolean getSmallImage() {
566                    return _blogsEntry.getSmallImage();
567            }
568    
569            /**
570            * Returns <code>true</code> if this blogs entry is small image.
571            *
572            * @return <code>true</code> if this blogs entry is small image; <code>false</code> otherwise
573            */
574            public boolean isSmallImage() {
575                    return _blogsEntry.isSmallImage();
576            }
577    
578            /**
579            * Sets whether this blogs entry is small image.
580            *
581            * @param smallImage the small image of this blogs entry
582            */
583            public void setSmallImage(boolean smallImage) {
584                    _blogsEntry.setSmallImage(smallImage);
585            }
586    
587            /**
588            * Returns the small image ID of this blogs entry.
589            *
590            * @return the small image ID of this blogs entry
591            */
592            public long getSmallImageId() {
593                    return _blogsEntry.getSmallImageId();
594            }
595    
596            /**
597            * Sets the small image ID of this blogs entry.
598            *
599            * @param smallImageId the small image ID of this blogs entry
600            */
601            public void setSmallImageId(long smallImageId) {
602                    _blogsEntry.setSmallImageId(smallImageId);
603            }
604    
605            /**
606            * Returns the small image u r l of this blogs entry.
607            *
608            * @return the small image u r l of this blogs entry
609            */
610            public java.lang.String getSmallImageURL() {
611                    return _blogsEntry.getSmallImageURL();
612            }
613    
614            /**
615            * Sets the small image u r l of this blogs entry.
616            *
617            * @param smallImageURL the small image u r l of this blogs entry
618            */
619            public void setSmallImageURL(java.lang.String smallImageURL) {
620                    _blogsEntry.setSmallImageURL(smallImageURL);
621            }
622    
623            /**
624            * Returns the status of this blogs entry.
625            *
626            * @return the status of this blogs entry
627            */
628            public int getStatus() {
629                    return _blogsEntry.getStatus();
630            }
631    
632            /**
633            * Sets the status of this blogs entry.
634            *
635            * @param status the status of this blogs entry
636            */
637            public void setStatus(int status) {
638                    _blogsEntry.setStatus(status);
639            }
640    
641            /**
642            * Returns the status by user ID of this blogs entry.
643            *
644            * @return the status by user ID of this blogs entry
645            */
646            public long getStatusByUserId() {
647                    return _blogsEntry.getStatusByUserId();
648            }
649    
650            /**
651            * Sets the status by user ID of this blogs entry.
652            *
653            * @param statusByUserId the status by user ID of this blogs entry
654            */
655            public void setStatusByUserId(long statusByUserId) {
656                    _blogsEntry.setStatusByUserId(statusByUserId);
657            }
658    
659            /**
660            * Returns the status by user uuid of this blogs entry.
661            *
662            * @return the status by user uuid of this blogs entry
663            * @throws SystemException if a system exception occurred
664            */
665            public java.lang.String getStatusByUserUuid()
666                    throws com.liferay.portal.kernel.exception.SystemException {
667                    return _blogsEntry.getStatusByUserUuid();
668            }
669    
670            /**
671            * Sets the status by user uuid of this blogs entry.
672            *
673            * @param statusByUserUuid the status by user uuid of this blogs entry
674            */
675            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
676                    _blogsEntry.setStatusByUserUuid(statusByUserUuid);
677            }
678    
679            /**
680            * Returns the status by user name of this blogs entry.
681            *
682            * @return the status by user name of this blogs entry
683            */
684            public java.lang.String getStatusByUserName() {
685                    return _blogsEntry.getStatusByUserName();
686            }
687    
688            /**
689            * Sets the status by user name of this blogs entry.
690            *
691            * @param statusByUserName the status by user name of this blogs entry
692            */
693            public void setStatusByUserName(java.lang.String statusByUserName) {
694                    _blogsEntry.setStatusByUserName(statusByUserName);
695            }
696    
697            /**
698            * Returns the status date of this blogs entry.
699            *
700            * @return the status date of this blogs entry
701            */
702            public java.util.Date getStatusDate() {
703                    return _blogsEntry.getStatusDate();
704            }
705    
706            /**
707            * Sets the status date of this blogs entry.
708            *
709            * @param statusDate the status date of this blogs entry
710            */
711            public void setStatusDate(java.util.Date statusDate) {
712                    _blogsEntry.setStatusDate(statusDate);
713            }
714    
715            /**
716            * @deprecated Renamed to {@link #isApproved()}
717            */
718            public boolean getApproved() {
719                    return _blogsEntry.getApproved();
720            }
721    
722            /**
723            * Returns <code>true</code> if this blogs entry is approved.
724            *
725            * @return <code>true</code> if this blogs entry is approved; <code>false</code> otherwise
726            */
727            public boolean isApproved() {
728                    return _blogsEntry.isApproved();
729            }
730    
731            /**
732            * Returns <code>true</code> if this blogs entry is denied.
733            *
734            * @return <code>true</code> if this blogs entry is denied; <code>false</code> otherwise
735            */
736            public boolean isDenied() {
737                    return _blogsEntry.isDenied();
738            }
739    
740            /**
741            * Returns <code>true</code> if this blogs entry is a draft.
742            *
743            * @return <code>true</code> if this blogs entry is a draft; <code>false</code> otherwise
744            */
745            public boolean isDraft() {
746                    return _blogsEntry.isDraft();
747            }
748    
749            /**
750            * Returns <code>true</code> if this blogs entry is expired.
751            *
752            * @return <code>true</code> if this blogs entry is expired; <code>false</code> otherwise
753            */
754            public boolean isExpired() {
755                    return _blogsEntry.isExpired();
756            }
757    
758            /**
759            * Returns <code>true</code> if this blogs entry is inactive.
760            *
761            * @return <code>true</code> if this blogs entry is inactive; <code>false</code> otherwise
762            */
763            public boolean isInactive() {
764                    return _blogsEntry.isInactive();
765            }
766    
767            /**
768            * Returns <code>true</code> if this blogs entry is incomplete.
769            *
770            * @return <code>true</code> if this blogs entry is incomplete; <code>false</code> otherwise
771            */
772            public boolean isIncomplete() {
773                    return _blogsEntry.isIncomplete();
774            }
775    
776            /**
777            * Returns <code>true</code> if this blogs entry is pending.
778            *
779            * @return <code>true</code> if this blogs entry is pending; <code>false</code> otherwise
780            */
781            public boolean isPending() {
782                    return _blogsEntry.isPending();
783            }
784    
785            /**
786            * Returns <code>true</code> if this blogs entry is scheduled.
787            *
788            * @return <code>true</code> if this blogs entry is scheduled; <code>false</code> otherwise
789            */
790            public boolean isScheduled() {
791                    return _blogsEntry.isScheduled();
792            }
793    
794            public boolean isNew() {
795                    return _blogsEntry.isNew();
796            }
797    
798            public void setNew(boolean n) {
799                    _blogsEntry.setNew(n);
800            }
801    
802            public boolean isCachedModel() {
803                    return _blogsEntry.isCachedModel();
804            }
805    
806            public void setCachedModel(boolean cachedModel) {
807                    _blogsEntry.setCachedModel(cachedModel);
808            }
809    
810            public boolean isEscapedModel() {
811                    return _blogsEntry.isEscapedModel();
812            }
813    
814            public java.io.Serializable getPrimaryKeyObj() {
815                    return _blogsEntry.getPrimaryKeyObj();
816            }
817    
818            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
819                    _blogsEntry.setPrimaryKeyObj(primaryKeyObj);
820            }
821    
822            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
823                    return _blogsEntry.getExpandoBridge();
824            }
825    
826            public void setExpandoBridgeAttributes(
827                    com.liferay.portal.service.ServiceContext serviceContext) {
828                    _blogsEntry.setExpandoBridgeAttributes(serviceContext);
829            }
830    
831            @Override
832            public java.lang.Object clone() {
833                    return new BlogsEntryWrapper((BlogsEntry)_blogsEntry.clone());
834            }
835    
836            public int compareTo(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
837                    return _blogsEntry.compareTo(blogsEntry);
838            }
839    
840            @Override
841            public int hashCode() {
842                    return _blogsEntry.hashCode();
843            }
844    
845            public com.liferay.portal.model.CacheModel<com.liferay.portlet.blogs.model.BlogsEntry> toCacheModel() {
846                    return _blogsEntry.toCacheModel();
847            }
848    
849            public com.liferay.portlet.blogs.model.BlogsEntry toEscapedModel() {
850                    return new BlogsEntryWrapper(_blogsEntry.toEscapedModel());
851            }
852    
853            public com.liferay.portlet.blogs.model.BlogsEntry toUnescapedModel() {
854                    return new BlogsEntryWrapper(_blogsEntry.toUnescapedModel());
855            }
856    
857            @Override
858            public java.lang.String toString() {
859                    return _blogsEntry.toString();
860            }
861    
862            public java.lang.String toXmlString() {
863                    return _blogsEntry.toXmlString();
864            }
865    
866            public void persist()
867                    throws com.liferay.portal.kernel.exception.SystemException {
868                    _blogsEntry.persist();
869            }
870    
871            public java.lang.String getSmallImageType()
872                    throws com.liferay.portal.kernel.exception.PortalException,
873                            com.liferay.portal.kernel.exception.SystemException {
874                    return _blogsEntry.getSmallImageType();
875            }
876    
877            public boolean isVisible() {
878                    return _blogsEntry.isVisible();
879            }
880    
881            public void setSmallImageType(java.lang.String smallImageType) {
882                    _blogsEntry.setSmallImageType(smallImageType);
883            }
884    
885            @Override
886            public boolean equals(Object obj) {
887                    if (this == obj) {
888                            return true;
889                    }
890    
891                    if (!(obj instanceof BlogsEntryWrapper)) {
892                            return false;
893                    }
894    
895                    BlogsEntryWrapper blogsEntryWrapper = (BlogsEntryWrapper)obj;
896    
897                    if (Validator.equals(_blogsEntry, blogsEntryWrapper._blogsEntry)) {
898                            return true;
899                    }
900    
901                    return false;
902            }
903    
904            /**
905             * @deprecated Renamed to {@link #getWrappedModel}
906             */
907            public BlogsEntry getWrappedBlogsEntry() {
908                    return _blogsEntry;
909            }
910    
911            public BlogsEntry getWrappedModel() {
912                    return _blogsEntry;
913            }
914    
915            public void resetOriginalValues() {
916                    _blogsEntry.resetOriginalValues();
917            }
918    
919            private BlogsEntry _blogsEntry;
920    }