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.journal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link JournalFeed}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       JournalFeed
024     * @generated
025     */
026    public class JournalFeedWrapper implements JournalFeed {
027            public JournalFeedWrapper(JournalFeed journalFeed) {
028                    _journalFeed = journalFeed;
029            }
030    
031            public Class<?> getModelClass() {
032                    return JournalFeed.class;
033            }
034    
035            public String getModelClassName() {
036                    return JournalFeed.class.getName();
037            }
038    
039            /**
040            * Returns the primary key of this journal feed.
041            *
042            * @return the primary key of this journal feed
043            */
044            public long getPrimaryKey() {
045                    return _journalFeed.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this journal feed.
050            *
051            * @param primaryKey the primary key of this journal feed
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _journalFeed.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Returns the uuid of this journal feed.
059            *
060            * @return the uuid of this journal feed
061            */
062            public java.lang.String getUuid() {
063                    return _journalFeed.getUuid();
064            }
065    
066            /**
067            * Sets the uuid of this journal feed.
068            *
069            * @param uuid the uuid of this journal feed
070            */
071            public void setUuid(java.lang.String uuid) {
072                    _journalFeed.setUuid(uuid);
073            }
074    
075            /**
076            * Returns the ID of this journal feed.
077            *
078            * @return the ID of this journal feed
079            */
080            public long getId() {
081                    return _journalFeed.getId();
082            }
083    
084            /**
085            * Sets the ID of this journal feed.
086            *
087            * @param id the ID of this journal feed
088            */
089            public void setId(long id) {
090                    _journalFeed.setId(id);
091            }
092    
093            /**
094            * Returns the group ID of this journal feed.
095            *
096            * @return the group ID of this journal feed
097            */
098            public long getGroupId() {
099                    return _journalFeed.getGroupId();
100            }
101    
102            /**
103            * Sets the group ID of this journal feed.
104            *
105            * @param groupId the group ID of this journal feed
106            */
107            public void setGroupId(long groupId) {
108                    _journalFeed.setGroupId(groupId);
109            }
110    
111            /**
112            * Returns the company ID of this journal feed.
113            *
114            * @return the company ID of this journal feed
115            */
116            public long getCompanyId() {
117                    return _journalFeed.getCompanyId();
118            }
119    
120            /**
121            * Sets the company ID of this journal feed.
122            *
123            * @param companyId the company ID of this journal feed
124            */
125            public void setCompanyId(long companyId) {
126                    _journalFeed.setCompanyId(companyId);
127            }
128    
129            /**
130            * Returns the user ID of this journal feed.
131            *
132            * @return the user ID of this journal feed
133            */
134            public long getUserId() {
135                    return _journalFeed.getUserId();
136            }
137    
138            /**
139            * Sets the user ID of this journal feed.
140            *
141            * @param userId the user ID of this journal feed
142            */
143            public void setUserId(long userId) {
144                    _journalFeed.setUserId(userId);
145            }
146    
147            /**
148            * Returns the user uuid of this journal feed.
149            *
150            * @return the user uuid of this journal feed
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 _journalFeed.getUserUuid();
156            }
157    
158            /**
159            * Sets the user uuid of this journal feed.
160            *
161            * @param userUuid the user uuid of this journal feed
162            */
163            public void setUserUuid(java.lang.String userUuid) {
164                    _journalFeed.setUserUuid(userUuid);
165            }
166    
167            /**
168            * Returns the user name of this journal feed.
169            *
170            * @return the user name of this journal feed
171            */
172            public java.lang.String getUserName() {
173                    return _journalFeed.getUserName();
174            }
175    
176            /**
177            * Sets the user name of this journal feed.
178            *
179            * @param userName the user name of this journal feed
180            */
181            public void setUserName(java.lang.String userName) {
182                    _journalFeed.setUserName(userName);
183            }
184    
185            /**
186            * Returns the create date of this journal feed.
187            *
188            * @return the create date of this journal feed
189            */
190            public java.util.Date getCreateDate() {
191                    return _journalFeed.getCreateDate();
192            }
193    
194            /**
195            * Sets the create date of this journal feed.
196            *
197            * @param createDate the create date of this journal feed
198            */
199            public void setCreateDate(java.util.Date createDate) {
200                    _journalFeed.setCreateDate(createDate);
201            }
202    
203            /**
204            * Returns the modified date of this journal feed.
205            *
206            * @return the modified date of this journal feed
207            */
208            public java.util.Date getModifiedDate() {
209                    return _journalFeed.getModifiedDate();
210            }
211    
212            /**
213            * Sets the modified date of this journal feed.
214            *
215            * @param modifiedDate the modified date of this journal feed
216            */
217            public void setModifiedDate(java.util.Date modifiedDate) {
218                    _journalFeed.setModifiedDate(modifiedDate);
219            }
220    
221            /**
222            * Returns the feed ID of this journal feed.
223            *
224            * @return the feed ID of this journal feed
225            */
226            public java.lang.String getFeedId() {
227                    return _journalFeed.getFeedId();
228            }
229    
230            /**
231            * Sets the feed ID of this journal feed.
232            *
233            * @param feedId the feed ID of this journal feed
234            */
235            public void setFeedId(java.lang.String feedId) {
236                    _journalFeed.setFeedId(feedId);
237            }
238    
239            /**
240            * Returns the name of this journal feed.
241            *
242            * @return the name of this journal feed
243            */
244            public java.lang.String getName() {
245                    return _journalFeed.getName();
246            }
247    
248            /**
249            * Sets the name of this journal feed.
250            *
251            * @param name the name of this journal feed
252            */
253            public void setName(java.lang.String name) {
254                    _journalFeed.setName(name);
255            }
256    
257            /**
258            * Returns the description of this journal feed.
259            *
260            * @return the description of this journal feed
261            */
262            public java.lang.String getDescription() {
263                    return _journalFeed.getDescription();
264            }
265    
266            /**
267            * Sets the description of this journal feed.
268            *
269            * @param description the description of this journal feed
270            */
271            public void setDescription(java.lang.String description) {
272                    _journalFeed.setDescription(description);
273            }
274    
275            /**
276            * Returns the type of this journal feed.
277            *
278            * @return the type of this journal feed
279            */
280            public java.lang.String getType() {
281                    return _journalFeed.getType();
282            }
283    
284            /**
285            * Sets the type of this journal feed.
286            *
287            * @param type the type of this journal feed
288            */
289            public void setType(java.lang.String type) {
290                    _journalFeed.setType(type);
291            }
292    
293            /**
294            * Returns the structure ID of this journal feed.
295            *
296            * @return the structure ID of this journal feed
297            */
298            public java.lang.String getStructureId() {
299                    return _journalFeed.getStructureId();
300            }
301    
302            /**
303            * Sets the structure ID of this journal feed.
304            *
305            * @param structureId the structure ID of this journal feed
306            */
307            public void setStructureId(java.lang.String structureId) {
308                    _journalFeed.setStructureId(structureId);
309            }
310    
311            /**
312            * Returns the template ID of this journal feed.
313            *
314            * @return the template ID of this journal feed
315            */
316            public java.lang.String getTemplateId() {
317                    return _journalFeed.getTemplateId();
318            }
319    
320            /**
321            * Sets the template ID of this journal feed.
322            *
323            * @param templateId the template ID of this journal feed
324            */
325            public void setTemplateId(java.lang.String templateId) {
326                    _journalFeed.setTemplateId(templateId);
327            }
328    
329            /**
330            * Returns the renderer template ID of this journal feed.
331            *
332            * @return the renderer template ID of this journal feed
333            */
334            public java.lang.String getRendererTemplateId() {
335                    return _journalFeed.getRendererTemplateId();
336            }
337    
338            /**
339            * Sets the renderer template ID of this journal feed.
340            *
341            * @param rendererTemplateId the renderer template ID of this journal feed
342            */
343            public void setRendererTemplateId(java.lang.String rendererTemplateId) {
344                    _journalFeed.setRendererTemplateId(rendererTemplateId);
345            }
346    
347            /**
348            * Returns the delta of this journal feed.
349            *
350            * @return the delta of this journal feed
351            */
352            public int getDelta() {
353                    return _journalFeed.getDelta();
354            }
355    
356            /**
357            * Sets the delta of this journal feed.
358            *
359            * @param delta the delta of this journal feed
360            */
361            public void setDelta(int delta) {
362                    _journalFeed.setDelta(delta);
363            }
364    
365            /**
366            * Returns the order by col of this journal feed.
367            *
368            * @return the order by col of this journal feed
369            */
370            public java.lang.String getOrderByCol() {
371                    return _journalFeed.getOrderByCol();
372            }
373    
374            /**
375            * Sets the order by col of this journal feed.
376            *
377            * @param orderByCol the order by col of this journal feed
378            */
379            public void setOrderByCol(java.lang.String orderByCol) {
380                    _journalFeed.setOrderByCol(orderByCol);
381            }
382    
383            /**
384            * Returns the order by type of this journal feed.
385            *
386            * @return the order by type of this journal feed
387            */
388            public java.lang.String getOrderByType() {
389                    return _journalFeed.getOrderByType();
390            }
391    
392            /**
393            * Sets the order by type of this journal feed.
394            *
395            * @param orderByType the order by type of this journal feed
396            */
397            public void setOrderByType(java.lang.String orderByType) {
398                    _journalFeed.setOrderByType(orderByType);
399            }
400    
401            /**
402            * Returns the target layout friendly url of this journal feed.
403            *
404            * @return the target layout friendly url of this journal feed
405            */
406            public java.lang.String getTargetLayoutFriendlyUrl() {
407                    return _journalFeed.getTargetLayoutFriendlyUrl();
408            }
409    
410            /**
411            * Sets the target layout friendly url of this journal feed.
412            *
413            * @param targetLayoutFriendlyUrl the target layout friendly url of this journal feed
414            */
415            public void setTargetLayoutFriendlyUrl(
416                    java.lang.String targetLayoutFriendlyUrl) {
417                    _journalFeed.setTargetLayoutFriendlyUrl(targetLayoutFriendlyUrl);
418            }
419    
420            /**
421            * Returns the target portlet ID of this journal feed.
422            *
423            * @return the target portlet ID of this journal feed
424            */
425            public java.lang.String getTargetPortletId() {
426                    return _journalFeed.getTargetPortletId();
427            }
428    
429            /**
430            * Sets the target portlet ID of this journal feed.
431            *
432            * @param targetPortletId the target portlet ID of this journal feed
433            */
434            public void setTargetPortletId(java.lang.String targetPortletId) {
435                    _journalFeed.setTargetPortletId(targetPortletId);
436            }
437    
438            /**
439            * Returns the content field of this journal feed.
440            *
441            * @return the content field of this journal feed
442            */
443            public java.lang.String getContentField() {
444                    return _journalFeed.getContentField();
445            }
446    
447            /**
448            * Sets the content field of this journal feed.
449            *
450            * @param contentField the content field of this journal feed
451            */
452            public void setContentField(java.lang.String contentField) {
453                    _journalFeed.setContentField(contentField);
454            }
455    
456            /**
457            * Returns the feed type of this journal feed.
458            *
459            * @return the feed type of this journal feed
460            */
461            public java.lang.String getFeedType() {
462                    return _journalFeed.getFeedType();
463            }
464    
465            /**
466            * Sets the feed type of this journal feed.
467            *
468            * @param feedType the feed type of this journal feed
469            */
470            public void setFeedType(java.lang.String feedType) {
471                    _journalFeed.setFeedType(feedType);
472            }
473    
474            /**
475            * Returns the feed version of this journal feed.
476            *
477            * @return the feed version of this journal feed
478            */
479            public double getFeedVersion() {
480                    return _journalFeed.getFeedVersion();
481            }
482    
483            /**
484            * Sets the feed version of this journal feed.
485            *
486            * @param feedVersion the feed version of this journal feed
487            */
488            public void setFeedVersion(double feedVersion) {
489                    _journalFeed.setFeedVersion(feedVersion);
490            }
491    
492            public boolean isNew() {
493                    return _journalFeed.isNew();
494            }
495    
496            public void setNew(boolean n) {
497                    _journalFeed.setNew(n);
498            }
499    
500            public boolean isCachedModel() {
501                    return _journalFeed.isCachedModel();
502            }
503    
504            public void setCachedModel(boolean cachedModel) {
505                    _journalFeed.setCachedModel(cachedModel);
506            }
507    
508            public boolean isEscapedModel() {
509                    return _journalFeed.isEscapedModel();
510            }
511    
512            public java.io.Serializable getPrimaryKeyObj() {
513                    return _journalFeed.getPrimaryKeyObj();
514            }
515    
516            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
517                    _journalFeed.setPrimaryKeyObj(primaryKeyObj);
518            }
519    
520            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
521                    return _journalFeed.getExpandoBridge();
522            }
523    
524            public void setExpandoBridgeAttributes(
525                    com.liferay.portal.service.ServiceContext serviceContext) {
526                    _journalFeed.setExpandoBridgeAttributes(serviceContext);
527            }
528    
529            @Override
530            public java.lang.Object clone() {
531                    return new JournalFeedWrapper((JournalFeed)_journalFeed.clone());
532            }
533    
534            public int compareTo(
535                    com.liferay.portlet.journal.model.JournalFeed journalFeed) {
536                    return _journalFeed.compareTo(journalFeed);
537            }
538    
539            @Override
540            public int hashCode() {
541                    return _journalFeed.hashCode();
542            }
543    
544            public com.liferay.portal.model.CacheModel<com.liferay.portlet.journal.model.JournalFeed> toCacheModel() {
545                    return _journalFeed.toCacheModel();
546            }
547    
548            public com.liferay.portlet.journal.model.JournalFeed toEscapedModel() {
549                    return new JournalFeedWrapper(_journalFeed.toEscapedModel());
550            }
551    
552            @Override
553            public java.lang.String toString() {
554                    return _journalFeed.toString();
555            }
556    
557            public java.lang.String toXmlString() {
558                    return _journalFeed.toXmlString();
559            }
560    
561            public void persist()
562                    throws com.liferay.portal.kernel.exception.SystemException {
563                    _journalFeed.persist();
564            }
565    
566            public JournalFeed getWrappedJournalFeed() {
567                    return _journalFeed;
568            }
569    
570            public void resetOriginalValues() {
571                    _journalFeed.resetOriginalValues();
572            }
573    
574            private JournalFeed _journalFeed;
575    }