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