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, int status, int start, int end)
346 throws com.liferay.portal.kernel.exception.SystemException {
347 return _blogsEntryLocalService.getCompanyEntries(companyId, status,
348 start, end);
349 }
350
351 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
352 long companyId, int status, int start, int end,
353 com.liferay.portal.kernel.util.OrderByComparator obc)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _blogsEntryLocalService.getCompanyEntries(companyId, status,
356 start, end, obc);
357 }
358
359 public int getCompanyEntriesCount(long companyId, int status)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 return _blogsEntryLocalService.getCompanyEntriesCount(companyId, status);
362 }
363
364 public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
365 long entryId)
366 throws com.liferay.portal.kernel.exception.PortalException,
367 com.liferay.portal.kernel.exception.SystemException {
368 return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
369 }
370
371 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
372 throws com.liferay.portal.kernel.exception.PortalException,
373 com.liferay.portal.kernel.exception.SystemException {
374 return _blogsEntryLocalService.getEntry(entryId);
375 }
376
377 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
378 java.lang.String urlTitle)
379 throws com.liferay.portal.kernel.exception.PortalException,
380 com.liferay.portal.kernel.exception.SystemException {
381 return _blogsEntryLocalService.getEntry(groupId, urlTitle);
382 }
383
384 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
385 long groupId, int status, int start, int end)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
388 end);
389 }
390
391 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
392 long groupId, int status, int start, int end,
393 com.liferay.portal.kernel.util.OrderByComparator obc)
394 throws com.liferay.portal.kernel.exception.SystemException {
395 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
396 end, obc);
397 }
398
399 public int getGroupEntriesCount(long groupId, int status)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
402 }
403
404 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
405 long companyId, long groupId, int status, int start, int end)
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
408 status, start, end);
409 }
410
411 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
412 long groupId, long userId, int status, int start, int end)
413 throws com.liferay.portal.kernel.exception.SystemException {
414 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
415 status, start, end);
416 }
417
418 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
419 long groupId, long userId, int status, int start, int end,
420 com.liferay.portal.kernel.util.OrderByComparator obc)
421 throws com.liferay.portal.kernel.exception.SystemException {
422 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
423 status, start, end, obc);
424 }
425
426 public int getGroupUserEntriesCount(long groupId, long userId, int status)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
429 userId, status);
430 }
431
432 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
433 throws com.liferay.portal.kernel.exception.SystemException {
434 return _blogsEntryLocalService.getNoAssetEntries();
435 }
436
437 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
438 long organizationId, int status, int start, int end)
439 throws com.liferay.portal.kernel.exception.SystemException {
440 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
441 status, start, end);
442 }
443
444 public int getOrganizationEntriesCount(long organizationId, int status)
445 throws com.liferay.portal.kernel.exception.SystemException {
446 return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
447 status);
448 }
449
450 public void subscribe(long userId, long groupId)
451 throws com.liferay.portal.kernel.exception.PortalException,
452 com.liferay.portal.kernel.exception.SystemException {
453 _blogsEntryLocalService.subscribe(userId, groupId);
454 }
455
456 public void unsubscribe(long userId, long groupId)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 _blogsEntryLocalService.unsubscribe(userId, groupId);
460 }
461
462 public void updateAsset(long userId,
463 com.liferay.portlet.blogs.model.BlogsEntry entry,
464 long[] assetCategoryIds, java.lang.String[] assetTagNames,
465 long[] assetLinkEntryIds)
466 throws com.liferay.portal.kernel.exception.PortalException,
467 com.liferay.portal.kernel.exception.SystemException {
468 _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
469 assetTagNames, assetLinkEntryIds);
470 }
471
472 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
473 long entryId, java.lang.String title, java.lang.String description,
474 java.lang.String content, int displayDateMonth, int displayDateDay,
475 int displayDateYear, int displayDateHour, int displayDateMinute,
476 boolean allowPingbacks, boolean allowTrackbacks,
477 java.lang.String[] trackbacks, boolean smallImage,
478 java.lang.String smallImageURL, java.lang.String smallImageFileName,
479 java.io.InputStream smallImageInputStream,
480 com.liferay.portal.service.ServiceContext serviceContext)
481 throws com.liferay.portal.kernel.exception.PortalException,
482 com.liferay.portal.kernel.exception.SystemException {
483 return _blogsEntryLocalService.updateEntry(userId, entryId, title,
484 description, content, displayDateMonth, displayDateDay,
485 displayDateYear, displayDateHour, displayDateMinute,
486 allowPingbacks, allowTrackbacks, trackbacks, smallImage,
487 smallImageURL, smallImageFileName, smallImageInputStream,
488 serviceContext);
489 }
490
491 public void updateEntryResources(
492 com.liferay.portlet.blogs.model.BlogsEntry entry,
493 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
494 throws com.liferay.portal.kernel.exception.PortalException,
495 com.liferay.portal.kernel.exception.SystemException {
496 _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
497 guestPermissions);
498 }
499
500 public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
501 long userId, long entryId, int status,
502 com.liferay.portal.service.ServiceContext serviceContext)
503 throws com.liferay.portal.kernel.exception.PortalException,
504 com.liferay.portal.kernel.exception.SystemException {
505 return _blogsEntryLocalService.updateStatus(userId, entryId, status,
506 serviceContext);
507 }
508
509
512 public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
513 return _blogsEntryLocalService;
514 }
515
516
519 public void setWrappedBlogsEntryLocalService(
520 BlogsEntryLocalService blogsEntryLocalService) {
521 _blogsEntryLocalService = blogsEntryLocalService;
522 }
523
524 public BlogsEntryLocalService getWrappedService() {
525 return _blogsEntryLocalService;
526 }
527
528 public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService) {
529 _blogsEntryLocalService = blogsEntryLocalService;
530 }
531
532 private BlogsEntryLocalService _blogsEntryLocalService;
533 }