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