1
22
23 package com.liferay.portlet.journal.service;
24
25
26
42 public class JournalFeedServiceWrapper implements JournalFeedService {
43 public JournalFeedServiceWrapper(JournalFeedService journalFeedService) {
44 _journalFeedService = journalFeedService;
45 }
46
47 public com.liferay.portlet.journal.model.JournalFeed addFeed(long groupId,
48 java.lang.String feedId, boolean autoFeedId, java.lang.String name,
49 java.lang.String description, java.lang.String type,
50 java.lang.String structureId, java.lang.String templateId,
51 java.lang.String rendererTemplateId, int delta,
52 java.lang.String orderByCol, java.lang.String orderByType,
53 java.lang.String targetLayoutFriendlyUrl,
54 java.lang.String targetPortletId, java.lang.String contentField,
55 java.lang.String feedType, double feedVersion,
56 com.liferay.portal.service.ServiceContext serviceContext)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException {
59 return _journalFeedService.addFeed(groupId, feedId, autoFeedId, name,
60 description, type, structureId, templateId, rendererTemplateId,
61 delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
62 targetPortletId, contentField, feedType, feedVersion, serviceContext);
63 }
64
65 public void deleteFeed(long groupId, long feedId)
66 throws com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException {
68 _journalFeedService.deleteFeed(groupId, feedId);
69 }
70
71 public void deleteFeed(long groupId, java.lang.String feedId)
72 throws com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException {
74 _journalFeedService.deleteFeed(groupId, feedId);
75 }
76
77 public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
78 long feedId)
79 throws com.liferay.portal.PortalException,
80 com.liferay.portal.SystemException {
81 return _journalFeedService.getFeed(groupId, feedId);
82 }
83
84 public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
85 java.lang.String feedId)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException {
88 return _journalFeedService.getFeed(groupId, feedId);
89 }
90
91 public com.liferay.portlet.journal.model.JournalFeed updateFeed(
92 long groupId, java.lang.String feedId, java.lang.String name,
93 java.lang.String description, java.lang.String type,
94 java.lang.String structureId, java.lang.String templateId,
95 java.lang.String rendererTemplateId, int delta,
96 java.lang.String orderByCol, java.lang.String orderByType,
97 java.lang.String targetLayoutFriendlyUrl,
98 java.lang.String targetPortletId, java.lang.String contentField,
99 java.lang.String feedType, double feedVersion,
100 com.liferay.portal.service.ServiceContext serviceContext)
101 throws com.liferay.portal.PortalException,
102 com.liferay.portal.SystemException {
103 return _journalFeedService.updateFeed(groupId, feedId, name,
104 description, type, structureId, templateId, rendererTemplateId,
105 delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
106 targetPortletId, contentField, feedType, feedVersion, serviceContext);
107 }
108
109 public JournalFeedService getWrappedJournalFeedService() {
110 return _journalFeedService;
111 }
112
113 private JournalFeedService _journalFeedService;
114 }