001
014
015 package com.liferay.portlet.blogs.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class BlogsEntryLocalServiceWrapper implements BlogsEntryLocalService,
029 ServiceWrapper<BlogsEntryLocalService> {
030 public BlogsEntryLocalServiceWrapper(
031 BlogsEntryLocalService blogsEntryLocalService) {
032 _blogsEntryLocalService = blogsEntryLocalService;
033 }
034
035
042 public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
043 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _blogsEntryLocalService.addBlogsEntry(blogsEntry);
046 }
047
048
054 public com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
055 long entryId) {
056 return _blogsEntryLocalService.createBlogsEntry(entryId);
057 }
058
059
066 public void deleteBlogsEntry(long entryId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _blogsEntryLocalService.deleteBlogsEntry(entryId);
070 }
071
072
078 public void deleteBlogsEntry(
079 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
156 long entryId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _blogsEntryLocalService.fetchBlogsEntry(entryId);
159 }
160
161
169 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
170 long entryId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _blogsEntryLocalService.getBlogsEntry(entryId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _blogsEntryLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
192 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
193 java.lang.String uuid, long groupId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
197 groupId);
198 }
199
200
212 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
213 int start, int end)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _blogsEntryLocalService.getBlogsEntries(start, end);
216 }
217
218
224 public int getBlogsEntriesCount()
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _blogsEntryLocalService.getBlogsEntriesCount();
227 }
228
229
236 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
237 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
240 }
241
242
250 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
251 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
252 throws com.liferay.portal.kernel.exception.SystemException {
253 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
254 }
255
256
261 public java.lang.String getBeanIdentifier() {
262 return _blogsEntryLocalService.getBeanIdentifier();
263 }
264
265
270 public void setBeanIdentifier(java.lang.String beanIdentifier) {
271 _blogsEntryLocalService.setBeanIdentifier(beanIdentifier);
272 }
273
274 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
275 java.lang.String title, java.lang.String description,
276 java.lang.String content, int displayDateMonth, int displayDateDay,
277 int displayDateYear, int displayDateHour, int displayDateMinute,
278 boolean allowPingbacks, boolean allowTrackbacks,
279 java.lang.String[] trackbacks, boolean smallImage,
280 java.lang.String smallImageURL, java.lang.String smallImageFileName,
281 java.io.InputStream smallImageInputStream,
282 com.liferay.portal.service.ServiceContext serviceContext)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return _blogsEntryLocalService.addEntry(userId, title, description,
286 content, displayDateMonth, displayDateDay, displayDateYear,
287 displayDateHour, displayDateMinute, allowPingbacks,
288 allowTrackbacks, trackbacks, smallImage, smallImageURL,
289 smallImageFileName, smallImageInputStream, serviceContext);
290 }
291
292 public void addEntryResources(
293 com.liferay.portlet.blogs.model.BlogsEntry entry,
294 boolean addGroupPermissions, boolean addGuestPermissions)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 _blogsEntryLocalService.addEntryResources(entry, addGroupPermissions,
298 addGuestPermissions);
299 }
300
301 public void addEntryResources(
302 com.liferay.portlet.blogs.model.BlogsEntry entry,
303 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _blogsEntryLocalService.addEntryResources(entry, groupPermissions,
307 guestPermissions);
308 }
309
310 public void addEntryResources(long entryId, boolean addGroupPermissions,
311 boolean addGuestPermissions)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _blogsEntryLocalService.addEntryResources(entryId, addGroupPermissions,
315 addGuestPermissions);
316 }
317
318 public void addEntryResources(long entryId,
319 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
320 throws com.liferay.portal.kernel.exception.PortalException,
321 com.liferay.portal.kernel.exception.SystemException {
322 _blogsEntryLocalService.addEntryResources(entryId, groupPermissions,
323 guestPermissions);
324 }
325
326 public void deleteEntries(long groupId)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 _blogsEntryLocalService.deleteEntries(groupId);
330 }
331
332 public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 _blogsEntryLocalService.deleteEntry(entry);
336 }
337
338 public void deleteEntry(long entryId)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 _blogsEntryLocalService.deleteEntry(entryId);
342 }
343
344 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
345 long companyId, java.util.Date displayDate, int status, int start,
346 int end) throws com.liferay.portal.kernel.exception.SystemException {
347 return _blogsEntryLocalService.getCompanyEntries(companyId,
348 displayDate, status, start, end);
349 }
350
351 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
352 long companyId, java.util.Date displayDate, int status, int start,
353 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _blogsEntryLocalService.getCompanyEntries(companyId,
356 displayDate, status, start, end, obc);
357 }
358
359 public int getCompanyEntriesCount(long companyId,
360 java.util.Date displayDate, int status)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
363 displayDate, status);
364 }
365
366 public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
367 long entryId)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException {
370 return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
371 }
372
373 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
374 throws com.liferay.portal.kernel.exception.PortalException,
375 com.liferay.portal.kernel.exception.SystemException {
376 return _blogsEntryLocalService.getEntry(entryId);
377 }
378
379 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
380 java.lang.String urlTitle)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException {
383 return _blogsEntryLocalService.getEntry(groupId, urlTitle);
384 }
385
386 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
387 long groupId, java.util.Date displayDate, int status, int start, int end)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
390 status, start, end);
391 }
392
393 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
394 long groupId, java.util.Date displayDate, int status, int start,
395 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
398 status, start, end, obc);
399 }
400
401 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
402 long groupId, int status, int start, int end)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
405 end);
406 }
407
408 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
409 long groupId, int status, int start, int end,
410 com.liferay.portal.kernel.util.OrderByComparator obc)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
413 end, obc);
414 }
415
416 public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
417 int status) throws com.liferay.portal.kernel.exception.SystemException {
418 return _blogsEntryLocalService.getGroupEntriesCount(groupId,
419 displayDate, status);
420 }
421
422 public int getGroupEntriesCount(long groupId, int status)
423 throws com.liferay.portal.kernel.exception.SystemException {
424 return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
425 }
426
427 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
428 long companyId, long groupId, java.util.Date displayDate, int status,
429 int start, int end)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
432 displayDate, status, start, end);
433 }
434
435 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
436 long groupId, long userId, java.util.Date displayDate, int status,
437 int start, int end)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
440 displayDate, status, start, end);
441 }
442
443 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
444 long groupId, long userId, java.util.Date displayDate, int status,
445 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
448 displayDate, status, start, end, obc);
449 }
450
451 public int getGroupUserEntriesCount(long groupId, long userId,
452 java.util.Date displayDate, int status)
453 throws com.liferay.portal.kernel.exception.SystemException {
454 return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
455 userId, displayDate, status);
456 }
457
458 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
459 throws com.liferay.portal.kernel.exception.SystemException {
460 return _blogsEntryLocalService.getNoAssetEntries();
461 }
462
463 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
464 long organizationId, java.util.Date displayDate, int status, int start,
465 int end) throws com.liferay.portal.kernel.exception.SystemException {
466 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
467 displayDate, status, start, end);
468 }
469
470 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
471 long organizationId, java.util.Date displayDate, int status, int start,
472 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
473 throws com.liferay.portal.kernel.exception.SystemException {
474 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
475 displayDate, status, start, end, obc);
476 }
477
478 public int getOrganizationEntriesCount(long organizationId,
479 java.util.Date displayDate, int status)
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
482 displayDate, status);
483 }
484
485 public void subscribe(long userId, long groupId)
486 throws com.liferay.portal.kernel.exception.PortalException,
487 com.liferay.portal.kernel.exception.SystemException {
488 _blogsEntryLocalService.subscribe(userId, groupId);
489 }
490
491 public void unsubscribe(long userId, long groupId)
492 throws com.liferay.portal.kernel.exception.PortalException,
493 com.liferay.portal.kernel.exception.SystemException {
494 _blogsEntryLocalService.unsubscribe(userId, groupId);
495 }
496
497 public void updateAsset(long userId,
498 com.liferay.portlet.blogs.model.BlogsEntry entry,
499 long[] assetCategoryIds, java.lang.String[] assetTagNames,
500 long[] assetLinkEntryIds)
501 throws com.liferay.portal.kernel.exception.PortalException,
502 com.liferay.portal.kernel.exception.SystemException {
503 _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
504 assetTagNames, assetLinkEntryIds);
505 }
506
507 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
508 long entryId, java.lang.String title, java.lang.String description,
509 java.lang.String content, int displayDateMonth, int displayDateDay,
510 int displayDateYear, int displayDateHour, int displayDateMinute,
511 boolean allowPingbacks, boolean allowTrackbacks,
512 java.lang.String[] trackbacks, boolean smallImage,
513 java.lang.String smallImageURL, java.lang.String smallImageFileName,
514 java.io.InputStream smallImageInputStream,
515 com.liferay.portal.service.ServiceContext serviceContext)
516 throws com.liferay.portal.kernel.exception.PortalException,
517 com.liferay.portal.kernel.exception.SystemException {
518 return _blogsEntryLocalService.updateEntry(userId, entryId, title,
519 description, content, displayDateMonth, displayDateDay,
520 displayDateYear, displayDateHour, displayDateMinute,
521 allowPingbacks, allowTrackbacks, trackbacks, smallImage,
522 smallImageURL, smallImageFileName, smallImageInputStream,
523 serviceContext);
524 }
525
526 public void updateEntryResources(
527 com.liferay.portlet.blogs.model.BlogsEntry entry,
528 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException {
531 _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
532 guestPermissions);
533 }
534
535 public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
536 long userId, long entryId, int status,
537 com.liferay.portal.service.ServiceContext serviceContext)
538 throws com.liferay.portal.kernel.exception.PortalException,
539 com.liferay.portal.kernel.exception.SystemException {
540 return _blogsEntryLocalService.updateStatus(userId, entryId, status,
541 serviceContext);
542 }
543
544
547 public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
548 return _blogsEntryLocalService;
549 }
550
551
554 public void setWrappedBlogsEntryLocalService(
555 BlogsEntryLocalService blogsEntryLocalService) {
556 _blogsEntryLocalService = blogsEntryLocalService;
557 }
558
559 public BlogsEntryLocalService getWrappedService() {
560 return _blogsEntryLocalService;
561 }
562
563 public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
564 _blogsEntryLocalService = blogsEntryLocalService;
565 }
566
567 private BlogsEntryLocalService _blogsEntryLocalService;
568 }