001
014
015 package com.liferay.portlet.journal.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class JournalFeedServiceWrapper implements JournalFeedService,
029 ServiceWrapper<JournalFeedService> {
030 public JournalFeedServiceWrapper(JournalFeedService journalFeedService) {
031 _journalFeedService = journalFeedService;
032 }
033
034 public com.liferay.portlet.journal.model.JournalFeed addFeed(long groupId,
035 java.lang.String feedId, boolean autoFeedId, java.lang.String name,
036 java.lang.String description, java.lang.String type,
037 java.lang.String structureId, java.lang.String templateId,
038 java.lang.String rendererTemplateId, int delta,
039 java.lang.String orderByCol, java.lang.String orderByType,
040 java.lang.String targetLayoutFriendlyUrl,
041 java.lang.String targetPortletId, java.lang.String contentField,
042 java.lang.String feedType, double feedVersion,
043 com.liferay.portal.service.ServiceContext serviceContext)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 return _journalFeedService.addFeed(groupId, feedId, autoFeedId, name,
047 description, type, structureId, templateId, rendererTemplateId,
048 delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
049 targetPortletId, contentField, feedType, feedVersion, serviceContext);
050 }
051
052 public void deleteFeed(long groupId, long feedId)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 _journalFeedService.deleteFeed(groupId, feedId);
056 }
057
058 public void deleteFeed(long groupId, java.lang.String feedId)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 _journalFeedService.deleteFeed(groupId, feedId);
062 }
063
064 public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
065 long feedId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _journalFeedService.getFeed(groupId, feedId);
069 }
070
071 public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
072 java.lang.String feedId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _journalFeedService.getFeed(groupId, feedId);
076 }
077
078 public com.liferay.portlet.journal.model.JournalFeed updateFeed(
079 long groupId, java.lang.String feedId, java.lang.String name,
080 java.lang.String description, java.lang.String type,
081 java.lang.String structureId, java.lang.String templateId,
082 java.lang.String rendererTemplateId, int delta,
083 java.lang.String orderByCol, java.lang.String orderByType,
084 java.lang.String targetLayoutFriendlyUrl,
085 java.lang.String targetPortletId, java.lang.String contentField,
086 java.lang.String feedType, double feedVersion,
087 com.liferay.portal.service.ServiceContext serviceContext)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _journalFeedService.updateFeed(groupId, feedId, name,
091 description, type, structureId, templateId, rendererTemplateId,
092 delta, orderByCol, orderByType, targetLayoutFriendlyUrl,
093 targetPortletId, contentField, feedType, feedVersion, serviceContext);
094 }
095
096
099 public JournalFeedService getWrappedJournalFeedService() {
100 return _journalFeedService;
101 }
102
103
106 public void setWrappedJournalFeedService(
107 JournalFeedService journalFeedService) {
108 _journalFeedService = journalFeedService;
109 }
110
111 public JournalFeedService getWrappedService() {
112 return _journalFeedService;
113 }
114
115 public void setWrappedService(JournalFeedService journalFeedService) {
116 _journalFeedService = journalFeedService;
117 }
118
119 private JournalFeedService _journalFeedService;
120 }