001
014
015 package com.liferay.portlet.journal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
022 import com.liferay.portal.kernel.jsonwebservice.JSONWebServiceMode;
023 import com.liferay.portal.kernel.transaction.Isolation;
024 import com.liferay.portal.kernel.transaction.Propagation;
025 import com.liferay.portal.kernel.transaction.Transactional;
026 import com.liferay.portal.security.ac.AccessControlled;
027 import com.liferay.portal.service.BaseService;
028
029
040 @ProviderType
041 @AccessControlled
042 @JSONWebService
043 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
044 PortalException.class, SystemException.class})
045 public interface JournalFeedService extends BaseService {
046
051
052
057 public java.lang.String getBeanIdentifier();
058
059
064 public void setBeanIdentifier(java.lang.String beanIdentifier);
065
066 public com.liferay.portlet.journal.model.JournalFeed addFeed(long groupId,
067 java.lang.String feedId, boolean autoFeedId, java.lang.String name,
068 java.lang.String description, java.lang.String type,
069 java.lang.String structureId, java.lang.String templateId,
070 java.lang.String rendererTemplateId, int delta,
071 java.lang.String orderByCol, java.lang.String orderByType,
072 java.lang.String targetLayoutFriendlyUrl,
073 java.lang.String targetPortletId, java.lang.String contentField,
074 java.lang.String feedType, double feedVersion,
075 com.liferay.portal.service.ServiceContext serviceContext)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException;
078
079 public void deleteFeed(long feedId)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException;
082
083
086 @com.liferay.portal.kernel.jsonwebservice.JSONWebService(mode = JSONWebServiceMode.IGNORE)
087 public void deleteFeed(long groupId, long feedId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException;
090
091 public void deleteFeed(long groupId, java.lang.String feedId)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException;
094
095 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
096 public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
097 throws com.liferay.portal.kernel.exception.PortalException,
098 com.liferay.portal.kernel.exception.SystemException;
099
100
103 @com.liferay.portal.kernel.jsonwebservice.JSONWebService(mode = JSONWebServiceMode.IGNORE)
104 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
105 public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
106 long feedId)
107 throws com.liferay.portal.kernel.exception.PortalException,
108 com.liferay.portal.kernel.exception.SystemException;
109
110 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
111 public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
112 java.lang.String feedId)
113 throws com.liferay.portal.kernel.exception.PortalException,
114 com.liferay.portal.kernel.exception.SystemException;
115
116 public com.liferay.portlet.journal.model.JournalFeed updateFeed(
117 long groupId, java.lang.String feedId, java.lang.String name,
118 java.lang.String description, java.lang.String type,
119 java.lang.String structureId, java.lang.String templateId,
120 java.lang.String rendererTemplateId, int delta,
121 java.lang.String orderByCol, java.lang.String orderByType,
122 java.lang.String targetLayoutFriendlyUrl,
123 java.lang.String targetPortletId, java.lang.String contentField,
124 java.lang.String feedType, double feedVersion,
125 com.liferay.portal.service.ServiceContext serviceContext)
126 throws com.liferay.portal.kernel.exception.PortalException,
127 com.liferay.portal.kernel.exception.SystemException;
128 }