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
067 public com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
068 long entryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _blogsEntryLocalService.deleteBlogsEntry(entryId);
072 }
073
074
081 public com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
082 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _blogsEntryLocalService.deleteBlogsEntry(blogsEntry);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _blogsEntryLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _blogsEntryLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _blogsEntryLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _blogsEntryLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
163 long entryId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _blogsEntryLocalService.fetchBlogsEntry(entryId);
166 }
167
168
176 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
177 long entryId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _blogsEntryLocalService.getBlogsEntry(entryId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _blogsEntryLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _blogsEntryLocalService.getBlogsEntryByUuidAndGroupId(uuid,
204 groupId);
205 }
206
207
219 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
220 int start, int end)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _blogsEntryLocalService.getBlogsEntries(start, end);
223 }
224
225
231 public int getBlogsEntriesCount()
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _blogsEntryLocalService.getBlogsEntriesCount();
234 }
235
236
243 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
244 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry);
247 }
248
249
257 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
258 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _blogsEntryLocalService.updateBlogsEntry(blogsEntry, merge);
261 }
262
263
268 public java.lang.String getBeanIdentifier() {
269 return _blogsEntryLocalService.getBeanIdentifier();
270 }
271
272
277 public void setBeanIdentifier(java.lang.String beanIdentifier) {
278 _blogsEntryLocalService.setBeanIdentifier(beanIdentifier);
279 }
280
281 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
282 java.lang.String title, java.lang.String description,
283 java.lang.String content, int displayDateMonth, int displayDateDay,
284 int displayDateYear, int displayDateHour, int displayDateMinute,
285 boolean allowPingbacks, boolean allowTrackbacks,
286 java.lang.String[] trackbacks, boolean smallImage,
287 java.lang.String smallImageURL, java.lang.String smallImageFileName,
288 java.io.InputStream smallImageInputStream,
289 com.liferay.portal.service.ServiceContext serviceContext)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return _blogsEntryLocalService.addEntry(userId, title, description,
293 content, displayDateMonth, displayDateDay, displayDateYear,
294 displayDateHour, displayDateMinute, allowPingbacks,
295 allowTrackbacks, trackbacks, smallImage, smallImageURL,
296 smallImageFileName, smallImageInputStream, serviceContext);
297 }
298
299 public void addEntryResources(
300 com.liferay.portlet.blogs.model.BlogsEntry entry,
301 boolean addGroupPermissions, boolean addGuestPermissions)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException {
304 _blogsEntryLocalService.addEntryResources(entry, addGroupPermissions,
305 addGuestPermissions);
306 }
307
308 public void addEntryResources(
309 com.liferay.portlet.blogs.model.BlogsEntry entry,
310 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 _blogsEntryLocalService.addEntryResources(entry, groupPermissions,
314 guestPermissions);
315 }
316
317 public void addEntryResources(long entryId, boolean addGroupPermissions,
318 boolean addGuestPermissions)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 _blogsEntryLocalService.addEntryResources(entryId, addGroupPermissions,
322 addGuestPermissions);
323 }
324
325 public void addEntryResources(long entryId,
326 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 _blogsEntryLocalService.addEntryResources(entryId, groupPermissions,
330 guestPermissions);
331 }
332
333 public void checkEntries()
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _blogsEntryLocalService.checkEntries();
337 }
338
339 public void deleteEntries(long groupId)
340 throws com.liferay.portal.kernel.exception.PortalException,
341 com.liferay.portal.kernel.exception.SystemException {
342 _blogsEntryLocalService.deleteEntries(groupId);
343 }
344
345 public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 _blogsEntryLocalService.deleteEntry(entry);
349 }
350
351 public void deleteEntry(long entryId)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 _blogsEntryLocalService.deleteEntry(entryId);
355 }
356
357 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
358 long companyId, java.util.Date displayDate, int status, int start,
359 int end) throws com.liferay.portal.kernel.exception.SystemException {
360 return _blogsEntryLocalService.getCompanyEntries(companyId,
361 displayDate, status, start, end);
362 }
363
364 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
365 long companyId, java.util.Date displayDate, int status, int start,
366 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return _blogsEntryLocalService.getCompanyEntries(companyId,
369 displayDate, status, start, end, obc);
370 }
371
372 public int getCompanyEntriesCount(long companyId,
373 java.util.Date displayDate, int status)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 return _blogsEntryLocalService.getCompanyEntriesCount(companyId,
376 displayDate, status);
377 }
378
379 public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
380 long entryId)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException {
383 return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
384 }
385
386 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 return _blogsEntryLocalService.getEntry(entryId);
390 }
391
392 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
393 java.lang.String urlTitle)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException {
396 return _blogsEntryLocalService.getEntry(groupId, urlTitle);
397 }
398
399 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
400 long groupId, java.util.Date displayDate, int status, int start, int end)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
403 status, start, end);
404 }
405
406 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
407 long groupId, java.util.Date displayDate, int status, int start,
408 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 return _blogsEntryLocalService.getGroupEntries(groupId, displayDate,
411 status, start, end, obc);
412 }
413
414 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
415 long groupId, int status, int start, int end)
416 throws com.liferay.portal.kernel.exception.SystemException {
417 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
418 end);
419 }
420
421 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
422 long groupId, int status, int start, int end,
423 com.liferay.portal.kernel.util.OrderByComparator obc)
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
426 end, obc);
427 }
428
429 public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
430 int status) throws com.liferay.portal.kernel.exception.SystemException {
431 return _blogsEntryLocalService.getGroupEntriesCount(groupId,
432 displayDate, status);
433 }
434
435 public int getGroupEntriesCount(long groupId, int status)
436 throws com.liferay.portal.kernel.exception.SystemException {
437 return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
438 }
439
440 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
441 long companyId, long groupId, java.util.Date displayDate, int status,
442 int start, int end)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
445 displayDate, status, start, end);
446 }
447
448 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
449 long groupId, long userId, java.util.Date displayDate, int status,
450 int start, int end)
451 throws com.liferay.portal.kernel.exception.SystemException {
452 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
453 displayDate, status, start, end);
454 }
455
456 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
457 long groupId, long userId, java.util.Date displayDate, int status,
458 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
459 throws com.liferay.portal.kernel.exception.SystemException {
460 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
461 displayDate, status, start, end, obc);
462 }
463
464 public int getGroupUserEntriesCount(long groupId, long userId,
465 java.util.Date displayDate, int status)
466 throws com.liferay.portal.kernel.exception.SystemException {
467 return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
468 userId, displayDate, status);
469 }
470
471 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
472 throws com.liferay.portal.kernel.exception.SystemException {
473 return _blogsEntryLocalService.getNoAssetEntries();
474 }
475
476 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
477 long organizationId, java.util.Date displayDate, int status, int start,
478 int end) throws com.liferay.portal.kernel.exception.SystemException {
479 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
480 displayDate, status, start, end);
481 }
482
483 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
484 long organizationId, java.util.Date displayDate, int status, int start,
485 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
488 displayDate, status, start, end, obc);
489 }
490
491 public int getOrganizationEntriesCount(long organizationId,
492 java.util.Date displayDate, int status)
493 throws com.liferay.portal.kernel.exception.SystemException {
494 return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
495 displayDate, status);
496 }
497
498 public void subscribe(long userId, long groupId)
499 throws com.liferay.portal.kernel.exception.PortalException,
500 com.liferay.portal.kernel.exception.SystemException {
501 _blogsEntryLocalService.subscribe(userId, groupId);
502 }
503
504 public void unsubscribe(long userId, long groupId)
505 throws com.liferay.portal.kernel.exception.PortalException,
506 com.liferay.portal.kernel.exception.SystemException {
507 _blogsEntryLocalService.unsubscribe(userId, groupId);
508 }
509
510 public void updateAsset(long userId,
511 com.liferay.portlet.blogs.model.BlogsEntry entry,
512 long[] assetCategoryIds, java.lang.String[] assetTagNames,
513 long[] assetLinkEntryIds)
514 throws com.liferay.portal.kernel.exception.PortalException,
515 com.liferay.portal.kernel.exception.SystemException {
516 _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
517 assetTagNames, assetLinkEntryIds);
518 }
519
520 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
521 long entryId, java.lang.String title, java.lang.String description,
522 java.lang.String content, int displayDateMonth, int displayDateDay,
523 int displayDateYear, int displayDateHour, int displayDateMinute,
524 boolean allowPingbacks, boolean allowTrackbacks,
525 java.lang.String[] trackbacks, boolean smallImage,
526 java.lang.String smallImageURL, java.lang.String smallImageFileName,
527 java.io.InputStream smallImageInputStream,
528 com.liferay.portal.service.ServiceContext serviceContext)
529 throws com.liferay.portal.kernel.exception.PortalException,
530 com.liferay.portal.kernel.exception.SystemException {
531 return _blogsEntryLocalService.updateEntry(userId, entryId, title,
532 description, content, displayDateMonth, displayDateDay,
533 displayDateYear, displayDateHour, displayDateMinute,
534 allowPingbacks, allowTrackbacks, trackbacks, smallImage,
535 smallImageURL, smallImageFileName, smallImageInputStream,
536 serviceContext);
537 }
538
539 public void updateEntryResources(
540 com.liferay.portlet.blogs.model.BlogsEntry entry,
541 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
542 throws com.liferay.portal.kernel.exception.PortalException,
543 com.liferay.portal.kernel.exception.SystemException {
544 _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
545 guestPermissions);
546 }
547
548 public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
549 long userId, long entryId, int status,
550 com.liferay.portal.service.ServiceContext serviceContext)
551 throws com.liferay.portal.kernel.exception.PortalException,
552 com.liferay.portal.kernel.exception.SystemException {
553 return _blogsEntryLocalService.updateStatus(userId, entryId, status,
554 serviceContext);
555 }
556
557
560 public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
561 return _blogsEntryLocalService;
562 }
563
564
567 public void setWrappedBlogsEntryLocalService(
568 BlogsEntryLocalService blogsEntryLocalService) {
569 _blogsEntryLocalService = blogsEntryLocalService;
570 }
571
572 public BlogsEntryLocalService getWrappedService() {
573 return _blogsEntryLocalService;
574 }
575
576 public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
577 _blogsEntryLocalService = blogsEntryLocalService;
578 }
579
580 private BlogsEntryLocalService _blogsEntryLocalService;
581 }