001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link BlogsEntry}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BlogsEntry
024     * @generated
025     */
026    public class BlogsEntryWrapper implements BlogsEntry {
027            public BlogsEntryWrapper(BlogsEntry blogsEntry) {
028                    _blogsEntry = blogsEntry;
029            }
030    
031            public Class<?> getModelClass() {
032                    return BlogsEntry.class;
033            }
034    
035            public String getModelClassName() {
036                    return BlogsEntry.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this blogs entry.
041            *
042            * @return the primary key of this blogs entry
043            */
044            public long getPrimaryKey() {
045                    return _blogsEntry.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this blogs entry.
050            *
051            * @param primaryKey the primary key of this blogs entry
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _blogsEntry.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the uuid of this blogs entry.
059            *
060            * @return the uuid of this blogs entry
061            */
062            public java.lang.String getUuid() {
063                    return _blogsEntry.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this blogs entry.
068            *
069            * @param uuid the uuid of this blogs entry
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _blogsEntry.setUuid(uuid);
073            }
074    
075            /**
076            * Returns the entry ID of this blogs entry.
077            *
078            * @return the entry ID of this blogs entry
079            */
080            public long getEntryId() {
081                    return _blogsEntry.getEntryId();
082            }
083    
084            /**
085            * Sets the entry ID of this blogs entry.
086            *
087            * @param entryId the entry ID of this blogs entry
088            */
089            public void setEntryId(long entryId) {
090                    _blogsEntry.setEntryId(entryId);
091            }
092    
093            /**
094            * Returns the group ID of this blogs entry.
095            *
096            * @return the group ID of this blogs entry
097            */
098            public long getGroupId() {
099                    return _blogsEntry.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this blogs entry.
104            *
105            * @param groupId the group ID of this blogs entry
106            */
107            public void setGroupId(long groupId) {
108                    _blogsEntry.setGroupId(groupId);
109            }
110    
111            /**
112            * Returns the company ID of this blogs entry.
113            *
114            * @return the company ID of this blogs entry
115            */
116            public long getCompanyId() {
117                    return _blogsEntry.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this blogs entry.
122            *
123            * @param companyId the company ID of this blogs entry
124            */
125            public void setCompanyId(long companyId) {
126                    _blogsEntry.setCompanyId(companyId);
127            }
128    
129            /**
130            * Returns the user ID of this blogs entry.
131            *
132            * @return the user ID of this blogs entry
133            */
134            public long getUserId() {
135                    return _blogsEntry.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this blogs entry.
140            *
141            * @param userId the user ID of this blogs entry
142            */
143            public void setUserId(long userId) {
144                    _blogsEntry.setUserId(userId);
145            }
146    
147            /**
148            * Returns the user uuid of this blogs entry.
149            *
150            * @return the user uuid of this blogs entry
151            * @throws SystemException if a system exception occurred
152            */
153            public java.lang.String getUserUuid()
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _blogsEntry.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this blogs entry.
160            *
161            * @param userUuid the user uuid of this blogs entry
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _blogsEntry.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Returns the user name of this blogs entry.
169            *
170            * @return the user name of this blogs entry
171            */
172            public java.lang.String getUserName() {
173                    return _blogsEntry.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this blogs entry.
178            *
179            * @param userName the user name of this blogs entry
180            */
181            public void setUserName(java.lang.String userName) {
182                    _blogsEntry.setUserName(userName);
183            }
184    
185            /**
186            * Returns the create date of this blogs entry.
187            *
188            * @return the create date of this blogs entry
189            */
190            public java.util.Date getCreateDate() {
191                    return _blogsEntry.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this blogs entry.
196            *
197            * @param createDate the create date of this blogs entry
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _blogsEntry.setCreateDate(createDate);
201            }
202    
203            /**
204            * Returns the modified date of this blogs entry.
205            *
206            * @return the modified date of this blogs entry
207            */
208            public java.util.Date getModifiedDate() {
209                    return _blogsEntry.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this blogs entry.
214            *
215            * @param modifiedDate the modified date of this blogs entry
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _blogsEntry.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Returns the title of this blogs entry.
223            *
224            * @return the title of this blogs entry
225            */
226            public java.lang.String getTitle() {
227                    return _blogsEntry.getTitle();
228            }
229    
230            /**
231            * Sets the title of this blogs entry.
232            *
233            * @param title the title of this blogs entry
234            */
235            public void setTitle(java.lang.String title) {
236                    _blogsEntry.setTitle(title);
237            }
238    
239            /**
240            * Returns the url title of this blogs entry.
241            *
242            * @return the url title of this blogs entry
243            */
244            public java.lang.String getUrlTitle() {
245                    return _blogsEntry.getUrlTitle();
246            }
247    
248            /**
249            * Sets the url title of this blogs entry.
250            *
251            * @param urlTitle the url title of this blogs entry
252            */
253            public void setUrlTitle(java.lang.String urlTitle) {
254                    _blogsEntry.setUrlTitle(urlTitle);
255            }
256    
257            /**
258            * Returns the description of this blogs entry.
259            *
260            * @return the description of this blogs entry
261            */
262            public java.lang.String getDescription() {
263                    return _blogsEntry.getDescription();
264            }
265    
266            /**
267            * Sets the description of this blogs entry.
268            *
269            * @param description the description of this blogs entry
270            */
271            public void setDescription(java.lang.String description) {
272                    _blogsEntry.setDescription(description);
273            }
274    
275            /**
276            * Returns the content of this blogs entry.
277            *
278            * @return the content of this blogs entry
279            */
280            public java.lang.String getContent() {
281                    return _blogsEntry.getContent();
282            }
283    
284            /**
285            * Sets the content of this blogs entry.
286            *
287            * @param content the content of this blogs entry
288            */
289            public void setContent(java.lang.String content) {
290                    _blogsEntry.setContent(content);
291            }
292    
293            /**
294            * Returns the display date of this blogs entry.
295            *
296            * @return the display date of this blogs entry
297            */
298            public java.util.Date getDisplayDate() {
299                    return _blogsEntry.getDisplayDate();
300            }
301    
302            /**
303            * Sets the display date of this blogs entry.
304            *
305            * @param displayDate the display date of this blogs entry
306            */
307            public void setDisplayDate(java.util.Date displayDate) {
308                    _blogsEntry.setDisplayDate(displayDate);
309            }
310    
311            /**
312            * Returns the allow pingbacks of this blogs entry.
313            *
314            * @return the allow pingbacks of this blogs entry
315            */
316            public boolean getAllowPingbacks() {
317                    return _blogsEntry.getAllowPingbacks();
318            }
319    
320            /**
321            * Returns <code>true</code> if this blogs entry is allow pingbacks.
322            *
323            * @return <code>true</code> if this blogs entry is allow pingbacks; <code>false</code> otherwise
324            */
325            public boolean isAllowPingbacks() {
326                    return _blogsEntry.isAllowPingbacks();
327            }
328    
329            /**
330            * Sets whether this blogs entry is allow pingbacks.
331            *
332            * @param allowPingbacks the allow pingbacks of this blogs entry
333            */
334            public void setAllowPingbacks(boolean allowPingbacks) {
335                    _blogsEntry.setAllowPingbacks(allowPingbacks);
336            }
337    
338            /**
339            * Returns the allow trackbacks of this blogs entry.
340            *
341            * @return the allow trackbacks of this blogs entry
342            */
343            public boolean getAllowTrackbacks() {
344                    return _blogsEntry.getAllowTrackbacks();
345            }
346    
347            /**
348            * Returns <code>true</code> if this blogs entry is allow trackbacks.
349            *
350            * @return <code>true</code> if this blogs entry is allow trackbacks; <code>false</code> otherwise
351            */
352            public boolean isAllowTrackbacks() {
353                    return _blogsEntry.isAllowTrackbacks();
354            }
355    
356            /**
357            * Sets whether this blogs entry is allow trackbacks.
358            *
359            * @param allowTrackbacks the allow trackbacks of this blogs entry
360            */
361            public void setAllowTrackbacks(boolean allowTrackbacks) {
362                    _blogsEntry.setAllowTrackbacks(allowTrackbacks);
363            }
364    
365            /**
366            * Returns the trackbacks of this blogs entry.
367            *
368            * @return the trackbacks of this blogs entry
369            */
370            public java.lang.String getTrackbacks() {
371                    return _blogsEntry.getTrackbacks();
372            }
373    
374            /**
375            * Sets the trackbacks of this blogs entry.
376            *
377            * @param trackbacks the trackbacks of this blogs entry
378            */
379            public void setTrackbacks(java.lang.String trackbacks) {
380                    _blogsEntry.setTrackbacks(trackbacks);
381            }
382    
383            /**
384            * Returns the small image of this blogs entry.
385            *
386            * @return the small image of this blogs entry
387            */
388            public boolean getSmallImage() {
389                    return _blogsEntry.getSmallImage();
390            }
391    
392            /**
393            * Returns <code>true</code> if this blogs entry is small image.
394            *
395            * @return <code>true</code> if this blogs entry is small image; <code>false</code> otherwise
396            */
397            public boolean isSmallImage() {
398                    return _blogsEntry.isSmallImage();
399            }
400    
401            /**
402            * Sets whether this blogs entry is small image.
403            *
404            * @param smallImage the small image of this blogs entry
405            */
406            public void setSmallImage(boolean smallImage) {
407                    _blogsEntry.setSmallImage(smallImage);
408            }
409    
410            /**
411            * Returns the small image ID of this blogs entry.
412            *
413            * @return the small image ID of this blogs entry
414            */
415            public long getSmallImageId() {
416                    return _blogsEntry.getSmallImageId();
417            }
418    
419            /**
420            * Sets the small image ID of this blogs entry.
421            *
422            * @param smallImageId the small image ID of this blogs entry
423            */
424            public void setSmallImageId(long smallImageId) {
425                    _blogsEntry.setSmallImageId(smallImageId);
426            }
427    
428            /**
429            * Returns the small image u r l of this blogs entry.
430            *
431            * @return the small image u r l of this blogs entry
432            */
433            public java.lang.String getSmallImageURL() {
434                    return _blogsEntry.getSmallImageURL();
435            }
436    
437            /**
438            * Sets the small image u r l of this blogs entry.
439            *
440            * @param smallImageURL the small image u r l of this blogs entry
441            */
442            public void setSmallImageURL(java.lang.String smallImageURL) {
443                    _blogsEntry.setSmallImageURL(smallImageURL);
444            }
445    
446            /**
447            * Returns the status of this blogs entry.
448            *
449            * @return the status of this blogs entry
450            */
451            public int getStatus() {
452                    return _blogsEntry.getStatus();
453            }
454    
455            /**
456            * Sets the status of this blogs entry.
457            *
458            * @param status the status of this blogs entry
459            */
460            public void setStatus(int status) {
461                    _blogsEntry.setStatus(status);
462            }
463    
464            /**
465            * Returns the status by user ID of this blogs entry.
466            *
467            * @return the status by user ID of this blogs entry
468            */
469            public long getStatusByUserId() {
470                    return _blogsEntry.getStatusByUserId();
471            }
472    
473            /**
474            * Sets the status by user ID of this blogs entry.
475            *
476            * @param statusByUserId the status by user ID of this blogs entry
477            */
478            public void setStatusByUserId(long statusByUserId) {
479                    _blogsEntry.setStatusByUserId(statusByUserId);
480            }
481    
482            /**
483            * Returns the status by user uuid of this blogs entry.
484            *
485            * @return the status by user uuid of this blogs entry
486            * @throws SystemException if a system exception occurred
487            */
488            public java.lang.String getStatusByUserUuid()
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return _blogsEntry.getStatusByUserUuid();
491            }
492    
493            /**
494            * Sets the status by user uuid of this blogs entry.
495            *
496            * @param statusByUserUuid the status by user uuid of this blogs entry
497            */
498            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
499                    _blogsEntry.setStatusByUserUuid(statusByUserUuid);
500            }
501    
502            /**
503            * Returns the status by user name of this blogs entry.
504            *
505            * @return the status by user name of this blogs entry
506            */
507            public java.lang.String getStatusByUserName() {
508                    return _blogsEntry.getStatusByUserName();
509            }
510    
511            /**
512            * Sets the status by user name of this blogs entry.
513            *
514            * @param statusByUserName the status by user name of this blogs entry
515            */
516            public void setStatusByUserName(java.lang.String statusByUserName) {
517                    _blogsEntry.setStatusByUserName(statusByUserName);
518            }
519    
520            /**
521            * Returns the status date of this blogs entry.
522            *
523            * @return the status date of this blogs entry
524            */
525            public java.util.Date getStatusDate() {
526                    return _blogsEntry.getStatusDate();
527            }
528    
529            /**
530            * Sets the status date of this blogs entry.
531            *
532            * @param statusDate the status date of this blogs entry
533            */
534            public void setStatusDate(java.util.Date statusDate) {
535                    _blogsEntry.setStatusDate(statusDate);
536            }
537    
538            /**
539            * @deprecated Renamed to {@link #isApproved()}
540            */
541            public boolean getApproved() {
542                    return _blogsEntry.getApproved();
543            }
544    
545            /**
546            * Returns <code>true</code> if this blogs entry is approved.
547            *
548            * @return <code>true</code> if this blogs entry is approved; <code>false</code> otherwise
549            */
550            public boolean isApproved() {
551                    return _blogsEntry.isApproved();
552            }
553    
554            /**
555            * Returns <code>true</code> if this blogs entry is a draft.
556            *
557            * @return <code>true</code> if this blogs entry is a draft; <code>false</code> otherwise
558            */
559            public boolean isDraft() {
560                    return _blogsEntry.isDraft();
561            }
562    
563            /**
564            * Returns <code>true</code> if this blogs entry is expired.
565            *
566            * @return <code>true</code> if this blogs entry is expired; <code>false</code> otherwise
567            */
568            public boolean isExpired() {
569                    return _blogsEntry.isExpired();
570            }
571    
572            /**
573            * Returns <code>true</code> if this blogs entry is pending.
574            *
575            * @return <code>true</code> if this blogs entry is pending; <code>false</code> otherwise
576            */
577            public boolean isPending() {
578                    return _blogsEntry.isPending();
579            }
580    
581            public boolean isNew() {
582                    return _blogsEntry.isNew();
583            }
584    
585            public void setNew(boolean n) {
586                    _blogsEntry.setNew(n);
587            }
588    
589            public boolean isCachedModel() {
590                    return _blogsEntry.isCachedModel();
591            }
592    
593            public void setCachedModel(boolean cachedModel) {
594                    _blogsEntry.setCachedModel(cachedModel);
595            }
596    
597            public boolean isEscapedModel() {
598                    return _blogsEntry.isEscapedModel();
599            }
600    
601            public java.io.Serializable getPrimaryKeyObj() {
602                    return _blogsEntry.getPrimaryKeyObj();
603            }
604    
605            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
606                    _blogsEntry.setPrimaryKeyObj(primaryKeyObj);
607            }
608    
609            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
610                    return _blogsEntry.getExpandoBridge();
611            }
612    
613            public void setExpandoBridgeAttributes(
614                    com.liferay.portal.service.ServiceContext serviceContext) {
615                    _blogsEntry.setExpandoBridgeAttributes(serviceContext);
616            }
617    
618            @Override
619            public java.lang.Object clone() {
620                    return new BlogsEntryWrapper((BlogsEntry)_blogsEntry.clone());
621            }
622    
623            public int compareTo(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
624                    return _blogsEntry.compareTo(blogsEntry);
625            }
626    
627            @Override
628            public int hashCode() {
629                    return _blogsEntry.hashCode();
630            }
631    
632            public com.liferay.portal.model.CacheModel<com.liferay.portlet.blogs.model.BlogsEntry> toCacheModel() {
633                    return _blogsEntry.toCacheModel();
634            }
635    
636            public com.liferay.portlet.blogs.model.BlogsEntry toEscapedModel() {
637                    return new BlogsEntryWrapper(_blogsEntry.toEscapedModel());
638            }
639    
640            @Override
641            public java.lang.String toString() {
642                    return _blogsEntry.toString();
643            }
644    
645            public java.lang.String toXmlString() {
646                    return _blogsEntry.toXmlString();
647            }
648    
649            public void persist()
650                    throws com.liferay.portal.kernel.exception.SystemException {
651                    _blogsEntry.persist();
652            }
653    
654            public java.lang.String getSmallImageType()
655                    throws com.liferay.portal.kernel.exception.PortalException,
656                            com.liferay.portal.kernel.exception.SystemException {
657                    return _blogsEntry.getSmallImageType();
658            }
659    
660            public void setSmallImageType(java.lang.String smallImageType) {
661                    _blogsEntry.setSmallImageType(smallImageType);
662            }
663    
664            public BlogsEntry getWrappedBlogsEntry() {
665                    return _blogsEntry;
666            }
667    
668            public void resetOriginalValues() {
669                    _blogsEntry.resetOriginalValues();
670            }
671    
672            private BlogsEntry _blogsEntry;
673    }