001
014
015 package com.liferay.portlet.blogs.service;
016
017
026 public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService {
027 public BlogsEntryLocalServiceWrapper(
028 BlogsEntryLocalService blogsEntryLocalService) {
029 _blogsEntryLocalService = blogsEntryLocalService;
030 }
031
032
039 public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
040 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
043 }
044
045
051 public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
052 long entryId) {
053 return _blogsEntryLocalService.createBlogsEntry(entryId);
054 }
055
056
063 public void deleteBlogsEntry(long entryId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _blogsEntryLocalService.deleteBlogsEntry(entryId);
067 }
068
069
075 public void deleteBlogsEntry(
076 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
161 long entryId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _blogsEntryLocalService.getBlogsEntry(entryId);
165 }
166
167 public com.liferay.portal.model.PersistedModel getPersistedModel(
168 java.io.Serializable primaryKeyObj)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _blogsEntryLocalService.getPersistedModel(primaryKeyObj);
172 }
173
174
183 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
184 java.lang.String uuid, long groupId)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
188 groupId);
189 }
190
191
203 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
204 int start, int end)
205 throws com.liferay.portal.kernel.exception.SystemException {
206 return _blogsEntryLocalService.getBlogsEntries(start, end);
207 }
208
209
215 public int getBlogsEntriesCount()
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _blogsEntryLocalService.getBlogsEntriesCount();
218 }
219
220
227 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
228 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
231 }
232
233
241 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
242 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
245 }
246
247
252 public java.lang.String getBeanIdentifier() {
253 return _blogsEntryLocalService.getBeanIdentifier();
254 }
255
256
261 public void setBeanIdentifier(java.lang.String beanIdentifier) {
262 _blogsEntryLocalService.setBeanIdentifier(beanIdentifier);
263 }
264
265 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
266 java.lang.String title, java.lang.String content, int displayDateMonth,
267 int displayDateDay, int displayDateYear, int displayDateHour,
268 int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks,
269 java.lang.String[] trackbacks,
270 com.liferay.portal.service.ServiceContext serviceContext)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 return _blogsEntryLocalService.addEntry(userId, title, content,
274 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
275 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
276 serviceContext);
277 }
278
279 public void addEntryResources(
280 com.liferay.portlet.blogs.model.BlogsEntry entry,
281 boolean addCommunityPermissions, boolean addGuestPermissions)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 _blogsEntryLocalService.addEntryResources(entry,
285 addCommunityPermissions, addGuestPermissions);
286 }
287
288 public void addEntryResources(
289 com.liferay.portlet.blogs.model.BlogsEntry entry,
290 java.lang.String[] communityPermissions,
291 java.lang.String[] guestPermissions)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _blogsEntryLocalService.addEntryResources(entry, communityPermissions,
295 guestPermissions);
296 }
297
298 public void addEntryResources(long entryId,
299 boolean addCommunityPermissions, boolean addGuestPermissions)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 _blogsEntryLocalService.addEntryResources(entryId,
303 addCommunityPermissions, addGuestPermissions);
304 }
305
306 public void addEntryResources(long entryId,
307 java.lang.String[] communityPermissions,
308 java.lang.String[] guestPermissions)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 _blogsEntryLocalService.addEntryResources(entryId,
312 communityPermissions, guestPermissions);
313 }
314
315 public void deleteEntries(long groupId)
316 throws com.liferay.portal.kernel.exception.PortalException,
317 com.liferay.portal.kernel.exception.SystemException {
318 _blogsEntryLocalService.deleteEntries(groupId);
319 }
320
321 public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
322 throws com.liferay.portal.kernel.exception.PortalException,
323 com.liferay.portal.kernel.exception.SystemException {
324 _blogsEntryLocalService.deleteEntry(entry);
325 }
326
327 public void deleteEntry(long entryId)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 _blogsEntryLocalService.deleteEntry(entryId);
331 }
332
333 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
334 long companyId, int status, int start, int end)
335 throws com.liferay.portal.kernel.exception.SystemException {
336 return _blogsEntryLocalService.getCompanyEntries(companyId, status,
337 start, end);
338 }
339
340 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
341 long companyId, int status, int start, int end,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _blogsEntryLocalService.getCompanyEntries(companyId, status,
345 start, end, obc);
346 }
347
348 public int getCompanyEntriesCount(long companyId, int status)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _blogsEntryLocalService.getCompanyEntriesCount(companyId, status);
351 }
352
353 public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
354 long entryId)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
358 }
359
360 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException {
363 return _blogsEntryLocalService.getEntry(entryId);
364 }
365
366 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
367 java.lang.String urlTitle)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException {
370 return _blogsEntryLocalService.getEntry(groupId, urlTitle);
371 }
372
373 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
374 long groupId, int status, int start, int end)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
377 end);
378 }
379
380 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
381 long groupId, int status, int start, int end,
382 com.liferay.portal.kernel.util.OrderByComparator obc)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
385 end, obc);
386 }
387
388 public int getGroupEntriesCount(long groupId, int status)
389 throws com.liferay.portal.kernel.exception.SystemException {
390 return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
391 }
392
393 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
394 long companyId, long groupId, int status, int start, int end)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
397 status, start, end);
398 }
399
400 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
401 long groupId, long userId, int status, int start, int end)
402 throws com.liferay.portal.kernel.exception.SystemException {
403 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
404 status, start, end);
405 }
406
407 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
408 long groupId, long userId, int status, int start, int end,
409 com.liferay.portal.kernel.util.OrderByComparator obc)
410 throws com.liferay.portal.kernel.exception.SystemException {
411 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
412 status, start, end, obc);
413 }
414
415 public int getGroupUserEntriesCount(long groupId, long userId, int status)
416 throws com.liferay.portal.kernel.exception.SystemException {
417 return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
418 userId, status);
419 }
420
421 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
422 throws com.liferay.portal.kernel.exception.SystemException {
423 return _blogsEntryLocalService.getNoAssetEntries();
424 }
425
426 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
427 long organizationId, int status, int start, int end)
428 throws com.liferay.portal.kernel.exception.SystemException {
429 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
430 status, start, end);
431 }
432
433 public int getOrganizationEntriesCount(long organizationId, int status)
434 throws com.liferay.portal.kernel.exception.SystemException {
435 return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
436 status);
437 }
438
439 public void subscribe(long userId, long groupId)
440 throws com.liferay.portal.kernel.exception.PortalException,
441 com.liferay.portal.kernel.exception.SystemException {
442 _blogsEntryLocalService.subscribe(userId, groupId);
443 }
444
445 public void unsubscribe(long userId, long groupId)
446 throws com.liferay.portal.kernel.exception.PortalException,
447 com.liferay.portal.kernel.exception.SystemException {
448 _blogsEntryLocalService.unsubscribe(userId, groupId);
449 }
450
451 public void updateAsset(long userId,
452 com.liferay.portlet.blogs.model.BlogsEntry entry,
453 long[] assetCategoryIds, java.lang.String[] assetTagNames)
454 throws com.liferay.portal.kernel.exception.PortalException,
455 com.liferay.portal.kernel.exception.SystemException {
456 _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
457 assetTagNames);
458 }
459
460 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
461 long entryId, java.lang.String title, java.lang.String content,
462 int displayDateMonth, int displayDateDay, int displayDateYear,
463 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
464 boolean allowTrackbacks, java.lang.String[] trackbacks,
465 com.liferay.portal.service.ServiceContext serviceContext)
466 throws com.liferay.portal.kernel.exception.PortalException,
467 com.liferay.portal.kernel.exception.SystemException {
468 return _blogsEntryLocalService.updateEntry(userId, entryId, title,
469 content, displayDateMonth, displayDateDay, displayDateYear,
470 displayDateHour, displayDateMinute, allowPingbacks,
471 allowTrackbacks, trackbacks, serviceContext);
472 }
473
474 public void updateEntryResources(
475 com.liferay.portlet.blogs.model.BlogsEntry entry,
476 java.lang.String[] communityPermissions,
477 java.lang.String[] guestPermissions)
478 throws com.liferay.portal.kernel.exception.PortalException,
479 com.liferay.portal.kernel.exception.SystemException {
480 _blogsEntryLocalService.updateEntryResources(entry,
481 communityPermissions, guestPermissions);
482 }
483
484 public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
485 long userId, long entryId, int status,
486 com.liferay.portal.service.ServiceContext serviceContext)
487 throws com.liferay.portal.kernel.exception.PortalException,
488 com.liferay.portal.kernel.exception.SystemException {
489 return _blogsEntryLocalService.updateStatus(userId, entryId, status,
490 serviceContext);
491 }
492
493 public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
494 return _blogsEntryLocalService;
495 }
496
497 public void setWrappedBlogsEntryLocalService(
498 BlogsEntryLocalService blogsEntryLocalService) {
499 _blogsEntryLocalService = blogsEntryLocalService;
500 }
501
502 private BlogsEntryLocalService _blogsEntryLocalService;
503 }