1
14
15 package com.liferay.portlet.blogs.service;
16
17
33 public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService {
34 public BlogsEntryLocalServiceWrapper(
35 BlogsEntryLocalService blogsEntryLocalService) {
36 _blogsEntryLocalService = blogsEntryLocalService;
37 }
38
39 public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
40 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
41 throws com.liferay.portal.SystemException {
42 return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
43 }
44
45 public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
46 long entryId) {
47 return _blogsEntryLocalService.createBlogsEntry(entryId);
48 }
49
50 public void deleteBlogsEntry(long entryId)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException {
53 _blogsEntryLocalService.deleteBlogsEntry(entryId);
54 }
55
56 public void deleteBlogsEntry(
57 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
58 throws com.liferay.portal.SystemException {
59 _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
60 }
61
62 @SuppressWarnings("rawtypes")
63 public java.util.List dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 @SuppressWarnings("rawtypes")
70 public java.util.List dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException {
73 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 @SuppressWarnings("rawtypes")
77 public java.util.List dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.SystemException {
82 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
83 orderByComparator);
84 }
85
86 public int dynamicQueryCount(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88 throws com.liferay.portal.SystemException {
89 return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
90 }
91
92 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
93 long entryId)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException {
96 return _blogsEntryLocalService.getBlogsEntry(entryId);
97 }
98
99 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
100 java.lang.String uuid, long groupId)
101 throws com.liferay.portal.PortalException,
102 com.liferay.portal.SystemException {
103 return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
104 groupId);
105 }
106
107 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
108 int start, int end) throws com.liferay.portal.SystemException {
109 return _blogsEntryLocalService.getBlogsEntries(start, end);
110 }
111
112 public int getBlogsEntriesCount() throws com.liferay.portal.SystemException {
113 return _blogsEntryLocalService.getBlogsEntriesCount();
114 }
115
116 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
117 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
118 throws com.liferay.portal.SystemException {
119 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
120 }
121
122 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
123 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
124 throws com.liferay.portal.SystemException {
125 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
126 }
127
128 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
129 java.lang.String title, java.lang.String content, int displayDateMonth,
130 int displayDateDay, int displayDateYear, int displayDateHour,
131 int displayDateMinute, boolean draft, boolean allowTrackbacks,
132 java.lang.String[] trackbacks,
133 com.liferay.portal.service.ServiceContext serviceContext)
134 throws com.liferay.portal.PortalException,
135 com.liferay.portal.SystemException {
136 return _blogsEntryLocalService.addEntry(userId, title, content,
137 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
138 displayDateMinute, draft, allowTrackbacks, trackbacks,
139 serviceContext);
140 }
141
142 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
143 java.lang.String uuid, long userId, java.lang.String title,
144 java.lang.String content, int displayDateMonth, int displayDateDay,
145 int displayDateYear, int displayDateHour, int displayDateMinute,
146 boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
147 com.liferay.portal.service.ServiceContext serviceContext)
148 throws com.liferay.portal.PortalException,
149 com.liferay.portal.SystemException {
150 return _blogsEntryLocalService.addEntry(uuid, userId, title, content,
151 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
152 displayDateMinute, draft, allowTrackbacks, trackbacks,
153 serviceContext);
154 }
155
156 public void addEntryResources(long entryId,
157 boolean addCommunityPermissions, boolean addGuestPermissions)
158 throws com.liferay.portal.PortalException,
159 com.liferay.portal.SystemException {
160 _blogsEntryLocalService.addEntryResources(entryId,
161 addCommunityPermissions, addGuestPermissions);
162 }
163
164 public void addEntryResources(
165 com.liferay.portlet.blogs.model.BlogsEntry entry,
166 boolean addCommunityPermissions, boolean addGuestPermissions)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException {
169 _blogsEntryLocalService.addEntryResources(entry,
170 addCommunityPermissions, addGuestPermissions);
171 }
172
173 public void addEntryResources(long entryId,
174 java.lang.String[] communityPermissions,
175 java.lang.String[] guestPermissions)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException {
178 _blogsEntryLocalService.addEntryResources(entryId,
179 communityPermissions, guestPermissions);
180 }
181
182 public void addEntryResources(
183 com.liferay.portlet.blogs.model.BlogsEntry entry,
184 java.lang.String[] communityPermissions,
185 java.lang.String[] guestPermissions)
186 throws com.liferay.portal.PortalException,
187 com.liferay.portal.SystemException {
188 _blogsEntryLocalService.addEntryResources(entry, communityPermissions,
189 guestPermissions);
190 }
191
192 public void deleteEntries(long groupId)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException {
195 _blogsEntryLocalService.deleteEntries(groupId);
196 }
197
198 public void deleteEntry(long entryId)
199 throws com.liferay.portal.PortalException,
200 com.liferay.portal.SystemException {
201 _blogsEntryLocalService.deleteEntry(entryId);
202 }
203
204 public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException {
207 _blogsEntryLocalService.deleteEntry(entry);
208 }
209
210 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
211 long companyId, int start, int end)
212 throws com.liferay.portal.SystemException {
213 return _blogsEntryLocalService.getCompanyEntries(companyId, start, end);
214 }
215
216 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
217 long companyId, int start, int end,
218 com.liferay.portal.kernel.util.OrderByComparator obc)
219 throws com.liferay.portal.SystemException {
220 return _blogsEntryLocalService.getCompanyEntries(companyId, start, end,
221 obc);
222 }
223
224 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
225 long companyId, boolean draft, int start, int end)
226 throws com.liferay.portal.SystemException {
227 return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
228 start, end);
229 }
230
231 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
232 long companyId, boolean draft, int start, int end,
233 com.liferay.portal.kernel.util.OrderByComparator obc)
234 throws com.liferay.portal.SystemException {
235 return _blogsEntryLocalService.getCompanyEntries(companyId, draft,
236 start, end, obc);
237 }
238
239 public int getCompanyEntriesCount(long companyId)
240 throws com.liferay.portal.SystemException {
241 return _blogsEntryLocalService.getCompanyEntriesCount(companyId);
242 }
243
244 public int getCompanyEntriesCount(long companyId, boolean draft)
245 throws com.liferay.portal.SystemException {
246 return _blogsEntryLocalService.getCompanyEntriesCount(companyId, draft);
247 }
248
249 public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
250 long entryId)
251 throws com.liferay.portal.PortalException,
252 com.liferay.portal.SystemException {
253 return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
254 }
255
256 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
257 throws com.liferay.portal.PortalException,
258 com.liferay.portal.SystemException {
259 return _blogsEntryLocalService.getEntry(entryId);
260 }
261
262 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
263 java.lang.String urlTitle)
264 throws com.liferay.portal.PortalException,
265 com.liferay.portal.SystemException {
266 return _blogsEntryLocalService.getEntry(groupId, urlTitle);
267 }
268
269 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
270 long groupId, int start, int end)
271 throws com.liferay.portal.SystemException {
272 return _blogsEntryLocalService.getGroupEntries(groupId, start, end);
273 }
274
275 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
276 long groupId, int start, int end,
277 com.liferay.portal.kernel.util.OrderByComparator obc)
278 throws com.liferay.portal.SystemException {
279 return _blogsEntryLocalService.getGroupEntries(groupId, start, end, obc);
280 }
281
282 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
283 long groupId, boolean draft, int start, int end)
284 throws com.liferay.portal.SystemException {
285 return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
286 end);
287 }
288
289 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
290 long groupId, boolean draft, int start, int end,
291 com.liferay.portal.kernel.util.OrderByComparator obc)
292 throws com.liferay.portal.SystemException {
293 return _blogsEntryLocalService.getGroupEntries(groupId, draft, start,
294 end, obc);
295 }
296
297 public int getGroupEntriesCount(long groupId)
298 throws com.liferay.portal.SystemException {
299 return _blogsEntryLocalService.getGroupEntriesCount(groupId);
300 }
301
302 public int getGroupEntriesCount(long groupId, boolean draft)
303 throws com.liferay.portal.SystemException {
304 return _blogsEntryLocalService.getGroupEntriesCount(groupId, draft);
305 }
306
307 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
308 long companyId, long groupId, int start, int end)
309 throws com.liferay.portal.SystemException {
310 return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
311 start, end);
312 }
313
314 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
315 long groupId, long userId, int start, int end)
316 throws com.liferay.portal.SystemException {
317 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
318 start, end);
319 }
320
321 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
322 long groupId, long userId, int start, int end,
323 com.liferay.portal.kernel.util.OrderByComparator obc)
324 throws com.liferay.portal.SystemException {
325 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
326 start, end, obc);
327 }
328
329 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
330 long groupId, long userId, boolean draft, int start, int end)
331 throws com.liferay.portal.SystemException {
332 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
333 draft, start, end);
334 }
335
336 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
337 long groupId, long userId, boolean draft, int start, int end,
338 com.liferay.portal.kernel.util.OrderByComparator obc)
339 throws com.liferay.portal.SystemException {
340 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
341 draft, start, end, obc);
342 }
343
344 public int getGroupUserEntriesCount(long groupId, long userId)
345 throws com.liferay.portal.SystemException {
346 return _blogsEntryLocalService.getGroupUserEntriesCount(groupId, userId);
347 }
348
349 public int getGroupUserEntriesCount(long groupId, long userId, boolean draft)
350 throws com.liferay.portal.SystemException {
351 return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
352 userId, draft);
353 }
354
355 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
356 throws com.liferay.portal.SystemException {
357 return _blogsEntryLocalService.getNoAssetEntries();
358 }
359
360 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
361 long organizationId, boolean draft, int start, int end)
362 throws com.liferay.portal.SystemException {
363 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
364 draft, start, end);
365 }
366
367 public int getOrganizationEntriesCount(long organizationId, boolean draft)
368 throws com.liferay.portal.SystemException {
369 return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
370 draft);
371 }
372
373
376 public java.lang.String getUrlTitle(long entryId, java.lang.String title) {
377 return _blogsEntryLocalService.getUrlTitle(entryId, title);
378 }
379
380 public void reIndex(long entryId) throws com.liferay.portal.SystemException {
381 _blogsEntryLocalService.reIndex(entryId);
382 }
383
384 public void reIndex(com.liferay.portlet.blogs.model.BlogsEntry entry)
385 throws com.liferay.portal.SystemException {
386 _blogsEntryLocalService.reIndex(entry);
387 }
388
389 public void reIndex(java.lang.String[] ids)
390 throws com.liferay.portal.SystemException {
391 _blogsEntryLocalService.reIndex(ids);
392 }
393
394 public com.liferay.portal.kernel.search.Hits search(long companyId,
395 long groupId, long userId, long ownerUserId, java.lang.String keywords,
396 int start, int end) throws com.liferay.portal.SystemException {
397 return _blogsEntryLocalService.search(companyId, groupId, userId,
398 ownerUserId, keywords, start, end);
399 }
400
401 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
402 long entryId, java.lang.String title, java.lang.String content,
403 int displayDateMonth, int displayDateDay, int displayDateYear,
404 int displayDateHour, int displayDateMinute, boolean draft,
405 boolean allowTrackbacks, java.lang.String[] trackbacks,
406 com.liferay.portal.service.ServiceContext serviceContext)
407 throws com.liferay.portal.PortalException,
408 com.liferay.portal.SystemException {
409 return _blogsEntryLocalService.updateEntry(userId, entryId, title,
410 content, displayDateMonth, displayDateDay, displayDateYear,
411 displayDateHour, displayDateMinute, draft, allowTrackbacks,
412 trackbacks, serviceContext);
413 }
414
415 public void updateEntryResources(
416 com.liferay.portlet.blogs.model.BlogsEntry entry,
417 java.lang.String[] communityPermissions,
418 java.lang.String[] guestPermissions)
419 throws com.liferay.portal.PortalException,
420 com.liferay.portal.SystemException {
421 _blogsEntryLocalService.updateEntryResources(entry,
422 communityPermissions, guestPermissions);
423 }
424
425 public void updateTagsAsset(long userId,
426 com.liferay.portlet.blogs.model.BlogsEntry entry,
427 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
428 throws com.liferay.portal.PortalException,
429 com.liferay.portal.SystemException {
430 _blogsEntryLocalService.updateTagsAsset(userId, entry, tagsCategories,
431 tagsEntries);
432 }
433
434 public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
435 return _blogsEntryLocalService;
436 }
437
438 private BlogsEntryLocalService _blogsEntryLocalService;
439 }