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