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