001    /**
002     * Copyright (c) 2000-2011 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            public Class<?> getModelClass() {
032                    return BlogsEntry.class;
033            }
034    
035            public String getModelClassName() {
036                    return BlogsEntry.class.getName();
037            }
038    
039            /**
040            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets 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            * Gets the content of this blogs entry.
259            *
260            * @return the content of this blogs entry
261            */
262            public java.lang.String getContent() {
263                    return _blogsEntry.getContent();
264            }
265    
266            /**
267            * Sets the content of this blogs entry.
268            *
269            * @param content the content of this blogs entry
270            */
271            public void setContent(java.lang.String content) {
272                    _blogsEntry.setContent(content);
273            }
274    
275            /**
276            * Gets the display date of this blogs entry.
277            *
278            * @return the display date of this blogs entry
279            */
280            public java.util.Date getDisplayDate() {
281                    return _blogsEntry.getDisplayDate();
282            }
283    
284            /**
285            * Sets the display date of this blogs entry.
286            *
287            * @param displayDate the display date of this blogs entry
288            */
289            public void setDisplayDate(java.util.Date displayDate) {
290                    _blogsEntry.setDisplayDate(displayDate);
291            }
292    
293            /**
294            * Gets the allow pingbacks of this blogs entry.
295            *
296            * @return the allow pingbacks of this blogs entry
297            */
298            public boolean getAllowPingbacks() {
299                    return _blogsEntry.getAllowPingbacks();
300            }
301    
302            /**
303            * Determines if this blogs entry is allow pingbacks.
304            *
305            * @return <code>true</code> if this blogs entry is allow pingbacks; <code>false</code> otherwise
306            */
307            public boolean isAllowPingbacks() {
308                    return _blogsEntry.isAllowPingbacks();
309            }
310    
311            /**
312            * Sets whether this blogs entry is allow pingbacks.
313            *
314            * @param allowPingbacks the allow pingbacks of this blogs entry
315            */
316            public void setAllowPingbacks(boolean allowPingbacks) {
317                    _blogsEntry.setAllowPingbacks(allowPingbacks);
318            }
319    
320            /**
321            * Gets the allow trackbacks of this blogs entry.
322            *
323            * @return the allow trackbacks of this blogs entry
324            */
325            public boolean getAllowTrackbacks() {
326                    return _blogsEntry.getAllowTrackbacks();
327            }
328    
329            /**
330            * Determines if this blogs entry is allow trackbacks.
331            *
332            * @return <code>true</code> if this blogs entry is allow trackbacks; <code>false</code> otherwise
333            */
334            public boolean isAllowTrackbacks() {
335                    return _blogsEntry.isAllowTrackbacks();
336            }
337    
338            /**
339            * Sets whether this blogs entry is allow trackbacks.
340            *
341            * @param allowTrackbacks the allow trackbacks of this blogs entry
342            */
343            public void setAllowTrackbacks(boolean allowTrackbacks) {
344                    _blogsEntry.setAllowTrackbacks(allowTrackbacks);
345            }
346    
347            /**
348            * Gets the trackbacks of this blogs entry.
349            *
350            * @return the trackbacks of this blogs entry
351            */
352            public java.lang.String getTrackbacks() {
353                    return _blogsEntry.getTrackbacks();
354            }
355    
356            /**
357            * Sets the trackbacks of this blogs entry.
358            *
359            * @param trackbacks the trackbacks of this blogs entry
360            */
361            public void setTrackbacks(java.lang.String trackbacks) {
362                    _blogsEntry.setTrackbacks(trackbacks);
363            }
364    
365            /**
366            * Gets the status of this blogs entry.
367            *
368            * @return the status of this blogs entry
369            */
370            public int getStatus() {
371                    return _blogsEntry.getStatus();
372            }
373    
374            /**
375            * Sets the status of this blogs entry.
376            *
377            * @param status the status of this blogs entry
378            */
379            public void setStatus(int status) {
380                    _blogsEntry.setStatus(status);
381            }
382    
383            /**
384            * Gets the status by user ID of this blogs entry.
385            *
386            * @return the status by user ID of this blogs entry
387            */
388            public long getStatusByUserId() {
389                    return _blogsEntry.getStatusByUserId();
390            }
391    
392            /**
393            * Sets the status by user ID of this blogs entry.
394            *
395            * @param statusByUserId the status by user ID of this blogs entry
396            */
397            public void setStatusByUserId(long statusByUserId) {
398                    _blogsEntry.setStatusByUserId(statusByUserId);
399            }
400    
401            /**
402            * Gets the status by user uuid of this blogs entry.
403            *
404            * @return the status by user uuid of this blogs entry
405            * @throws SystemException if a system exception occurred
406            */
407            public java.lang.String getStatusByUserUuid()
408                    throws com.liferay.portal.kernel.exception.SystemException {
409                    return _blogsEntry.getStatusByUserUuid();
410            }
411    
412            /**
413            * Sets the status by user uuid of this blogs entry.
414            *
415            * @param statusByUserUuid the status by user uuid of this blogs entry
416            */
417            public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
418                    _blogsEntry.setStatusByUserUuid(statusByUserUuid);
419            }
420    
421            /**
422            * Gets the status by user name of this blogs entry.
423            *
424            * @return the status by user name of this blogs entry
425            */
426            public java.lang.String getStatusByUserName() {
427                    return _blogsEntry.getStatusByUserName();
428            }
429    
430            /**
431            * Sets the status by user name of this blogs entry.
432            *
433            * @param statusByUserName the status by user name of this blogs entry
434            */
435            public void setStatusByUserName(java.lang.String statusByUserName) {
436                    _blogsEntry.setStatusByUserName(statusByUserName);
437            }
438    
439            /**
440            * Gets the status date of this blogs entry.
441            *
442            * @return the status date of this blogs entry
443            */
444            public java.util.Date getStatusDate() {
445                    return _blogsEntry.getStatusDate();
446            }
447    
448            /**
449            * Sets the status date of this blogs entry.
450            *
451            * @param statusDate the status date of this blogs entry
452            */
453            public void setStatusDate(java.util.Date statusDate) {
454                    _blogsEntry.setStatusDate(statusDate);
455            }
456    
457            /**
458            * @deprecated {@link #isApproved}
459            */
460            public boolean getApproved() {
461                    return _blogsEntry.getApproved();
462            }
463    
464            /**
465            * Determines if this blogs entry is approved.
466            *
467            * @return <code>true</code> if this blogs entry is approved; <code>false</code> otherwise
468            */
469            public boolean isApproved() {
470                    return _blogsEntry.isApproved();
471            }
472    
473            /**
474            * Determines if this blogs entry is a draft.
475            *
476            * @return <code>true</code> if this blogs entry is a draft; <code>false</code> otherwise
477            */
478            public boolean isDraft() {
479                    return _blogsEntry.isDraft();
480            }
481    
482            /**
483            * Determines if this blogs entry is expired.
484            *
485            * @return <code>true</code> if this blogs entry is expired; <code>false</code> otherwise
486            */
487            public boolean isExpired() {
488                    return _blogsEntry.isExpired();
489            }
490    
491            /**
492            * Determines if this blogs entry is pending.
493            *
494            * @return <code>true</code> if this blogs entry is pending; <code>false</code> otherwise
495            */
496            public boolean isPending() {
497                    return _blogsEntry.isPending();
498            }
499    
500            public boolean isNew() {
501                    return _blogsEntry.isNew();
502            }
503    
504            public void setNew(boolean n) {
505                    _blogsEntry.setNew(n);
506            }
507    
508            public boolean isCachedModel() {
509                    return _blogsEntry.isCachedModel();
510            }
511    
512            public void setCachedModel(boolean cachedModel) {
513                    _blogsEntry.setCachedModel(cachedModel);
514            }
515    
516            public boolean isEscapedModel() {
517                    return _blogsEntry.isEscapedModel();
518            }
519    
520            public void setEscapedModel(boolean escapedModel) {
521                    _blogsEntry.setEscapedModel(escapedModel);
522            }
523    
524            public java.io.Serializable getPrimaryKeyObj() {
525                    return _blogsEntry.getPrimaryKeyObj();
526            }
527    
528            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
529                    _blogsEntry.setPrimaryKeyObj(primaryKeyObj);
530            }
531    
532            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
533                    return _blogsEntry.getExpandoBridge();
534            }
535    
536            public void setExpandoBridgeAttributes(
537                    com.liferay.portal.service.ServiceContext serviceContext) {
538                    _blogsEntry.setExpandoBridgeAttributes(serviceContext);
539            }
540    
541            @Override
542            public java.lang.Object clone() {
543                    return new BlogsEntryWrapper((BlogsEntry)_blogsEntry.clone());
544            }
545    
546            public int compareTo(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
547                    return _blogsEntry.compareTo(blogsEntry);
548            }
549    
550            @Override
551            public int hashCode() {
552                    return _blogsEntry.hashCode();
553            }
554    
555            public com.liferay.portal.model.CacheModel<com.liferay.portlet.blogs.model.BlogsEntry> toCacheModel() {
556                    return _blogsEntry.toCacheModel();
557            }
558    
559            public com.liferay.portlet.blogs.model.BlogsEntry toEscapedModel() {
560                    return new BlogsEntryWrapper(_blogsEntry.toEscapedModel());
561            }
562    
563            @Override
564            public java.lang.String toString() {
565                    return _blogsEntry.toString();
566            }
567    
568            public java.lang.String toXmlString() {
569                    return _blogsEntry.toXmlString();
570            }
571    
572            public void persist()
573                    throws com.liferay.portal.kernel.exception.SystemException {
574                    _blogsEntry.persist();
575            }
576    
577            public BlogsEntry getWrappedBlogsEntry() {
578                    return _blogsEntry;
579            }
580    
581            public void resetOriginalValues() {
582                    _blogsEntry.resetOriginalValues();
583            }
584    
585            private BlogsEntry _blogsEntry;
586    }