001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            /**
032            * Gets the primary key of this blogs entry.
033            *
034            * @return the primary key of this blogs entry
035            */
036            public long getPrimaryKey() {
037                    return _blogsEntry.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this blogs entry
042            *
043            * @param pk the primary key of this blogs entry
044            */
045            public void setPrimaryKey(long pk) {
046                    _blogsEntry.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this blogs entry.
051            *
052            * @return the uuid of this blogs entry
053            */
054            public java.lang.String getUuid() {
055                    return _blogsEntry.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this blogs entry.
060            *
061            * @param uuid the uuid of this blogs entry
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _blogsEntry.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the entry id of this blogs entry.
069            *
070            * @return the entry id of this blogs entry
071            */
072            public long getEntryId() {
073                    return _blogsEntry.getEntryId();
074            }
075    
076            /**
077            * Sets the entry id of this blogs entry.
078            *
079            * @param entryId the entry id of this blogs entry
080            */
081            public void setEntryId(long entryId) {
082                    _blogsEntry.setEntryId(entryId);
083            }
084    
085            /**
086            * Gets the group id of this blogs entry.
087            *
088            * @return the group id of this blogs entry
089            */
090            public long getGroupId() {
091                    return _blogsEntry.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this blogs entry.
096            *
097            * @param groupId the group id of this blogs entry
098            */
099            public void setGroupId(long groupId) {
100                    _blogsEntry.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this blogs entry.
105            *
106            * @return the company id of this blogs entry
107            */
108            public long getCompanyId() {
109                    return _blogsEntry.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this blogs entry.
114            *
115            * @param companyId the company id of this blogs entry
116            */
117            public void setCompanyId(long companyId) {
118                    _blogsEntry.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this blogs entry.
123            *
124            * @return the user id of this blogs entry
125            */
126            public long getUserId() {
127                    return _blogsEntry.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this blogs entry.
132            *
133            * @param userId the user id of this blogs entry
134            */
135            public void setUserId(long userId) {
136                    _blogsEntry.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this blogs entry.
141            *
142            * @return the user uuid of this blogs entry
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _blogsEntry.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this blogs entry.
152            *
153            * @param userUuid the user uuid of this blogs entry
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _blogsEntry.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this blogs entry.
161            *
162            * @return the user name of this blogs entry
163            */
164            public java.lang.String getUserName() {
165                    return _blogsEntry.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this blogs entry.
170            *
171            * @param userName the user name of this blogs entry
172            */
173            public void setUserName(java.lang.String userName) {
174                    _blogsEntry.setUserName(userName);
175            }
176    
177            /**
178            * Gets the create date of this blogs entry.
179            *
180            * @return the create date of this blogs entry
181            */
182            public java.util.Date getCreateDate() {
183                    return _blogsEntry.getCreateDate();
184            }
185    
186            /**
187            * Sets the create date of this blogs entry.
188            *
189            * @param createDate the create date of this blogs entry
190            */
191            public void setCreateDate(java.util.Date createDate) {
192                    _blogsEntry.setCreateDate(createDate);
193            }
194    
195            /**
196            * Gets the modified date of this blogs entry.
197            *
198            * @return the modified date of this blogs entry
199            */
200            public java.util.Date getModifiedDate() {
201                    return _blogsEntry.getModifiedDate();
202            }
203    
204            /**
205            * Sets the modified date of this blogs entry.
206            *
207            * @param modifiedDate the modified date of this blogs entry
208            */
209            public void setModifiedDate(java.util.Date modifiedDate) {
210                    _blogsEntry.setModifiedDate(modifiedDate);
211            }
212    
213            /**
214            * Gets the title of this blogs entry.
215            *
216            * @return the title of this blogs entry
217            */
218            public java.lang.String getTitle() {
219                    return _blogsEntry.getTitle();
220            }
221    
222            /**
223            * Sets the title of this blogs entry.
224            *
225            * @param title the title of this blogs entry
226            */
227            public void setTitle(java.lang.String title) {
228                    _blogsEntry.setTitle(title);
229            }
230    
231            /**
232            * Gets the url title of this blogs entry.
233            *
234            * @return the url title of this blogs entry
235            */
236            public java.lang.String getUrlTitle() {
237                    return _blogsEntry.getUrlTitle();
238            }
239    
240            /**
241            * Sets the url title of this blogs entry.
242            *
243            * @param urlTitle the url title of this blogs entry
244            */
245            public void setUrlTitle(java.lang.String urlTitle) {
246                    _blogsEntry.setUrlTitle(urlTitle);
247            }
248    
249            /**
250            * Gets the content of this blogs entry.
251            *
252            * @return the content of this blogs entry
253            */
254            public java.lang.String getContent() {
255                    return _blogsEntry.getContent();
256            }
257    
258            /**
259            * Sets the content of this blogs entry.
260            *
261            * @param content the content of this blogs entry
262            */
263            public void setContent(java.lang.String content) {
264                    _blogsEntry.setContent(content);
265            }
266    
267            /**
268            * Gets the display date of this blogs entry.
269            *
270            * @return the display date of this blogs entry
271            */
272            public java.util.Date getDisplayDate() {
273                    return _blogsEntry.getDisplayDate();
274            }
275    
276            /**
277            * Sets the display date of this blogs entry.
278            *
279            * @param displayDate the display date of this blogs entry
280            */
281            public void setDisplayDate(java.util.Date displayDate) {
282                    _blogsEntry.setDisplayDate(displayDate);
283            }
284    
285            /**
286            * Gets the allow pingbacks of this blogs entry.
287            *
288            * @return the allow pingbacks of this blogs entry
289            */
290            public boolean getAllowPingbacks() {
291                    return _blogsEntry.getAllowPingbacks();
292            }
293    
294            /**
295            * Determines whether this blogs entry is allow pingbacks.
296            *
297            * @return whether this blogs entry is allow pingbacks
298            */
299            public boolean isAllowPingbacks() {
300                    return _blogsEntry.isAllowPingbacks();
301            }
302    
303            /**
304            * Sets whether this {$entity.humanName} is allow pingbacks.
305            *
306            * @param allowPingbacks the allow pingbacks of this blogs entry
307            */
308            public void setAllowPingbacks(boolean allowPingbacks) {
309                    _blogsEntry.setAllowPingbacks(allowPingbacks);
310            }
311    
312            /**
313            * Gets the allow trackbacks of this blogs entry.
314            *
315            * @return the allow trackbacks of this blogs entry
316            */
317            public boolean getAllowTrackbacks() {
318                    return _blogsEntry.getAllowTrackbacks();
319            }
320    
321            /**
322            * Determines whether this blogs entry is allow trackbacks.
323            *
324            * @return whether this blogs entry is allow trackbacks
325            */
326            public boolean isAllowTrackbacks() {
327                    return _blogsEntry.isAllowTrackbacks();
328            }
329    
330            /**
331            * Sets whether this {$entity.humanName} is allow trackbacks.
332            *
333            * @param allowTrackbacks the allow trackbacks of this blogs entry
334            */
335            public void setAllowTrackbacks(boolean allowTrackbacks) {
336                    _blogsEntry.setAllowTrackbacks(allowTrackbacks);
337            }
338    
339            /**
340            * Gets the trackbacks of this blogs entry.
341            *
342            * @return the trackbacks of this blogs entry
343            */
344            public java.lang.String getTrackbacks() {
345                    return _blogsEntry.getTrackbacks();
346            }
347    
348            /**
349            * Sets the trackbacks of this blogs entry.
350            *
351            * @param trackbacks the trackbacks of this blogs entry
352            */
353            public void setTrackbacks(java.lang.String trackbacks) {
354                    _blogsEntry.setTrackbacks(trackbacks);
355            }
356    
357            /**
358            * Gets the status of this blogs entry.
359            *
360            * @return the status of this blogs entry
361            */
362            public int getStatus() {
363                    return _blogsEntry.getStatus();
364            }
365    
366            /**
367            * Sets the status of this blogs entry.
368            *
369            * @param status the status of this blogs entry
370            */
371            public void setStatus(int status) {
372                    _blogsEntry.setStatus(status);
373            }
374    
375            /**
376            * Gets the status by user id of this blogs entry.
377            *
378            * @return the status by user id of this blogs entry
379            */
380            public long getStatusByUserId() {
381                    return _blogsEntry.getStatusByUserId();
382            }
383    
384            /**
385            * Sets the status by user id of this blogs entry.
386            *
387            * @param statusByUserId the status by user id of this blogs entry
388            */
389            public void setStatusByUserId(long statusByUserId) {
390                    _blogsEntry.setStatusByUserId(statusByUserId);
391            }
392    
393            /**
394            * Gets the status by user uuid of this blogs entry.
395            *
396            * @return the status by user uuid of this blogs entry
397            * @throws SystemException if a system exception occurred
398            */
399            public java.lang.String getStatusByUserUuid()
400                    throws com.liferay.portal.kernel.exception.SystemException {
401                    return _blogsEntry.getStatusByUserUuid();
402            }
403    
404            /**
405            * Sets the status by user uuid of this blogs entry.
406            *
407            * @param statusByUserUuid the status by user uuid of this blogs entry
408            */
409            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
410                    _blogsEntry.setStatusByUserUuid(statusByUserUuid);
411            }
412    
413            /**
414            * Gets the status by user name of this blogs entry.
415            *
416            * @return the status by user name of this blogs entry
417            */
418            public java.lang.String getStatusByUserName() {
419                    return _blogsEntry.getStatusByUserName();
420            }
421    
422            /**
423            * Sets the status by user name of this blogs entry.
424            *
425            * @param statusByUserName the status by user name of this blogs entry
426            */
427            public void setStatusByUserName(java.lang.String statusByUserName) {
428                    _blogsEntry.setStatusByUserName(statusByUserName);
429            }
430    
431            /**
432            * Gets the status date of this blogs entry.
433            *
434            * @return the status date of this blogs entry
435            */
436            public java.util.Date getStatusDate() {
437                    return _blogsEntry.getStatusDate();
438            }
439    
440            /**
441            * Sets the status date of this blogs entry.
442            *
443            * @param statusDate the status date of this blogs entry
444            */
445            public void setStatusDate(java.util.Date statusDate) {
446                    _blogsEntry.setStatusDate(statusDate);
447            }
448    
449            /**
450            * @deprecated {@link #isApproved}
451            */
452            public boolean getApproved() {
453                    return _blogsEntry.getApproved();
454            }
455    
456            /**
457            * Determines whether this blogs entry is approved.
458            *
459            * @return true if this blogs entry is approved; false otherwise
460            */
461            public boolean isApproved() {
462                    return _blogsEntry.isApproved();
463            }
464    
465            /**
466            * Determines whether this blogs entry is a draft.
467            *
468            * @return true if this blogs entry is a draft; false otherwise
469            */
470            public boolean isDraft() {
471                    return _blogsEntry.isDraft();
472            }
473    
474            /**
475            * Determines whether this blogs entry is expired.
476            *
477            * @return true if this blogs entry is expired; false otherwise
478            */
479            public boolean isExpired() {
480                    return _blogsEntry.isExpired();
481            }
482    
483            /**
484            * Determines whether this blogs entry is pending.
485            *
486            * @return true if this blogs entry is pending; false otherwise
487            */
488            public boolean isPending() {
489                    return _blogsEntry.isPending();
490            }
491    
492            public boolean isNew() {
493                    return _blogsEntry.isNew();
494            }
495    
496            public void setNew(boolean n) {
497                    _blogsEntry.setNew(n);
498            }
499    
500            public boolean isCachedModel() {
501                    return _blogsEntry.isCachedModel();
502            }
503    
504            public void setCachedModel(boolean cachedModel) {
505                    _blogsEntry.setCachedModel(cachedModel);
506            }
507    
508            public boolean isEscapedModel() {
509                    return _blogsEntry.isEscapedModel();
510            }
511    
512            public void setEscapedModel(boolean escapedModel) {
513                    _blogsEntry.setEscapedModel(escapedModel);
514            }
515    
516            public java.io.Serializable getPrimaryKeyObj() {
517                    return _blogsEntry.getPrimaryKeyObj();
518            }
519    
520            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
521                    return _blogsEntry.getExpandoBridge();
522            }
523    
524            public void setExpandoBridgeAttributes(
525                    com.liferay.portal.service.ServiceContext serviceContext) {
526                    _blogsEntry.setExpandoBridgeAttributes(serviceContext);
527            }
528    
529            public java.lang.Object clone() {
530                    return _blogsEntry.clone();
531            }
532    
533            public int compareTo(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
534                    return _blogsEntry.compareTo(blogsEntry);
535            }
536    
537            public int hashCode() {
538                    return _blogsEntry.hashCode();
539            }
540    
541            public com.liferay.portlet.blogs.model.BlogsEntry toEscapedModel() {
542                    return _blogsEntry.toEscapedModel();
543            }
544    
545            public java.lang.String toString() {
546                    return _blogsEntry.toString();
547            }
548    
549            public java.lang.String toXmlString() {
550                    return _blogsEntry.toXmlString();
551            }
552    
553            public BlogsEntry getWrappedBlogsEntry() {
554                    return _blogsEntry;
555            }
556    
557            private BlogsEntry _blogsEntry;
558    }