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