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