001
014
015 package com.liferay.portlet.blogs.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class BlogsEntryServiceWrapper implements BlogsEntryService,
027 ServiceWrapper<BlogsEntryService> {
028 public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
029 _blogsEntryService = blogsEntryService;
030 }
031
032
037 @Override
038 public java.lang.String getBeanIdentifier() {
039 return _blogsEntryService.getBeanIdentifier();
040 }
041
042
047 @Override
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _blogsEntryService.setBeanIdentifier(beanIdentifier);
050 }
051
052 @Override
053 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
054 java.lang.String title, java.lang.String description,
055 java.lang.String content, int displayDateMonth, int displayDateDay,
056 int displayDateYear, int displayDateHour, int displayDateMinute,
057 boolean allowPingbacks, boolean allowTrackbacks,
058 java.lang.String[] trackbacks, boolean smallImage,
059 java.lang.String smallImageURL, java.lang.String smallImageFileName,
060 java.io.InputStream smallImageInputStream,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _blogsEntryService.addEntry(title, description, content,
065 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
066 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
067 smallImage, smallImageURL, smallImageFileName,
068 smallImageInputStream, serviceContext);
069 }
070
071 @Override
072 public void deleteEntry(long entryId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 _blogsEntryService.deleteEntry(entryId);
076 }
077
078 @Override
079 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
080 long companyId, java.util.Date displayDate, int status, int max)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException {
083 return _blogsEntryService.getCompanyEntries(companyId, displayDate,
084 status, max);
085 }
086
087 @Override
088 public java.lang.String getCompanyEntriesRSS(long companyId,
089 java.util.Date displayDate, int status, int max, java.lang.String type,
090 double version, java.lang.String displayStyle,
091 java.lang.String feedURL, java.lang.String entryURL,
092 com.liferay.portal.theme.ThemeDisplay themeDisplay)
093 throws com.liferay.portal.kernel.exception.PortalException,
094 com.liferay.portal.kernel.exception.SystemException {
095 return _blogsEntryService.getCompanyEntriesRSS(companyId, displayDate,
096 status, max, type, version, displayStyle, feedURL, entryURL,
097 themeDisplay);
098 }
099
100 @Override
101 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _blogsEntryService.getEntry(entryId);
105 }
106
107 @Override
108 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
109 java.lang.String urlTitle)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _blogsEntryService.getEntry(groupId, urlTitle);
113 }
114
115 @Override
116 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
117 long groupId, java.util.Date displayDate, int status, int max)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return _blogsEntryService.getGroupEntries(groupId, displayDate, status,
120 max);
121 }
122
123 @Override
124 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
125 long groupId, java.util.Date displayDate, int status, int start, int end)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 return _blogsEntryService.getGroupEntries(groupId, displayDate, status,
128 start, end);
129 }
130
131 @Override
132 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
133 long groupId, int status, int max)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _blogsEntryService.getGroupEntries(groupId, status, max);
136 }
137
138 @Override
139 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
140 long groupId, int status, int start, int end)
141 throws com.liferay.portal.kernel.exception.SystemException {
142 return _blogsEntryService.getGroupEntries(groupId, status, start, end);
143 }
144
145 @Override
146 public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
147 int status) throws com.liferay.portal.kernel.exception.SystemException {
148 return _blogsEntryService.getGroupEntriesCount(groupId, displayDate,
149 status);
150 }
151
152 @Override
153 public int getGroupEntriesCount(long groupId, int status)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _blogsEntryService.getGroupEntriesCount(groupId, status);
156 }
157
158 @Override
159 public java.lang.String getGroupEntriesRSS(long groupId,
160 java.util.Date displayDate, int status, int max, java.lang.String type,
161 double version, java.lang.String displayStyle,
162 java.lang.String feedURL, java.lang.String entryURL,
163 com.liferay.portal.theme.ThemeDisplay themeDisplay)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _blogsEntryService.getGroupEntriesRSS(groupId, displayDate,
167 status, max, type, version, displayStyle, feedURL, entryURL,
168 themeDisplay);
169 }
170
171 @Override
172 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
173 long companyId, long groupId, java.util.Date displayDate, int status,
174 int max)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException {
177 return _blogsEntryService.getGroupsEntries(companyId, groupId,
178 displayDate, status, max);
179 }
180
181 @Override
182 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
183 long organizationId, java.util.Date displayDate, int status, int max)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return _blogsEntryService.getOrganizationEntries(organizationId,
187 displayDate, status, max);
188 }
189
190 @Override
191 public java.lang.String getOrganizationEntriesRSS(long organizationId,
192 java.util.Date displayDate, int status, int max, java.lang.String type,
193 double version, java.lang.String displayStyle,
194 java.lang.String feedURL, java.lang.String entryURL,
195 com.liferay.portal.theme.ThemeDisplay themeDisplay)
196 throws com.liferay.portal.kernel.exception.PortalException,
197 com.liferay.portal.kernel.exception.SystemException {
198 return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
199 displayDate, status, max, type, version, displayStyle, feedURL,
200 entryURL, themeDisplay);
201 }
202
203 @Override
204 public com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
205 long entryId)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return _blogsEntryService.moveEntryToTrash(entryId);
209 }
210
211 @Override
212 public void restoreEntryFromTrash(long entryId)
213 throws com.liferay.portal.kernel.exception.PortalException,
214 com.liferay.portal.kernel.exception.SystemException {
215 _blogsEntryService.restoreEntryFromTrash(entryId);
216 }
217
218 @Override
219 public void subscribe(long groupId)
220 throws com.liferay.portal.kernel.exception.PortalException,
221 com.liferay.portal.kernel.exception.SystemException {
222 _blogsEntryService.subscribe(groupId);
223 }
224
225 @Override
226 public void unsubscribe(long groupId)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 _blogsEntryService.unsubscribe(groupId);
230 }
231
232 @Override
233 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
234 long entryId, java.lang.String title, java.lang.String description,
235 java.lang.String content, int displayDateMonth, int displayDateDay,
236 int displayDateYear, int displayDateHour, int displayDateMinute,
237 boolean allowPingbacks, boolean allowTrackbacks,
238 java.lang.String[] trackbacks, boolean smallImage,
239 java.lang.String smallImageURL, java.lang.String smallImageFileName,
240 java.io.InputStream smallImageInputStream,
241 com.liferay.portal.service.ServiceContext serviceContext)
242 throws com.liferay.portal.kernel.exception.PortalException,
243 com.liferay.portal.kernel.exception.SystemException {
244 return _blogsEntryService.updateEntry(entryId, title, description,
245 content, displayDateMonth, displayDateDay, displayDateYear,
246 displayDateHour, displayDateMinute, allowPingbacks,
247 allowTrackbacks, trackbacks, smallImage, smallImageURL,
248 smallImageFileName, smallImageInputStream, serviceContext);
249 }
250
251
254 public BlogsEntryService getWrappedBlogsEntryService() {
255 return _blogsEntryService;
256 }
257
258
261 public void setWrappedBlogsEntryService(BlogsEntryService blogsEntryService) {
262 _blogsEntryService = blogsEntryService;
263 }
264
265 @Override
266 public BlogsEntryService getWrappedService() {
267 return _blogsEntryService;
268 }
269
270 @Override
271 public void setWrappedService(BlogsEntryService blogsEntryService) {
272 _blogsEntryService = blogsEntryService;
273 }
274
275 private BlogsEntryService _blogsEntryService;
276 }