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 description,
267 java.lang.String content, int displayDateMonth, int displayDateDay,
268 int displayDateYear, int displayDateHour, int displayDateMinute,
269 boolean allowPingbacks, boolean allowTrackbacks,
270 java.lang.String[] trackbacks, boolean smallImage,
271 java.lang.String smallImageURL, java.lang.String smallImageFileName,
272 java.io.InputStream smallImageInputStream,
273 com.liferay.portal.service.ServiceContext serviceContext)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException {
276 return _blogsEntryLocalService.addEntry(userId, title, description,
277 content, displayDateMonth, displayDateDay, displayDateYear,
278 displayDateHour, displayDateMinute, allowPingbacks,
279 allowTrackbacks, trackbacks, smallImage, smallImageURL,
280 smallImageFileName, smallImageInputStream, serviceContext);
281 }
282
283 public void addEntryResources(
284 com.liferay.portlet.blogs.model.BlogsEntry entry,
285 boolean addGroupPermissions, boolean addGuestPermissions)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _blogsEntryLocalService.addEntryResources(entry, addGroupPermissions,
289 addGuestPermissions);
290 }
291
292 public void addEntryResources(
293 com.liferay.portlet.blogs.model.BlogsEntry entry,
294 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 _blogsEntryLocalService.addEntryResources(entry, groupPermissions,
298 guestPermissions);
299 }
300
301 public void addEntryResources(long entryId, boolean addGroupPermissions,
302 boolean addGuestPermissions)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _blogsEntryLocalService.addEntryResources(entryId, addGroupPermissions,
306 addGuestPermissions);
307 }
308
309 public void addEntryResources(long entryId,
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(entryId, groupPermissions,
314 guestPermissions);
315 }
316
317 public void deleteEntries(long groupId)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 _blogsEntryLocalService.deleteEntries(groupId);
321 }
322
323 public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 _blogsEntryLocalService.deleteEntry(entry);
327 }
328
329 public void deleteEntry(long entryId)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 _blogsEntryLocalService.deleteEntry(entryId);
333 }
334
335 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
336 long companyId, int status, int start, int end)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return _blogsEntryLocalService.getCompanyEntries(companyId, status,
339 start, end);
340 }
341
342 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
343 long companyId, int status, int start, int end,
344 com.liferay.portal.kernel.util.OrderByComparator obc)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 return _blogsEntryLocalService.getCompanyEntries(companyId, status,
347 start, end, obc);
348 }
349
350 public int getCompanyEntriesCount(long companyId, int status)
351 throws com.liferay.portal.kernel.exception.SystemException {
352 return _blogsEntryLocalService.getCompanyEntriesCount(companyId, status);
353 }
354
355 public com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
356 long entryId)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return _blogsEntryLocalService.getEntriesPrevAndNext(entryId);
360 }
361
362 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 return _blogsEntryLocalService.getEntry(entryId);
366 }
367
368 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
369 java.lang.String urlTitle)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException {
372 return _blogsEntryLocalService.getEntry(groupId, urlTitle);
373 }
374
375 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
376 long groupId, int status, int start, int end)
377 throws com.liferay.portal.kernel.exception.SystemException {
378 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
379 end);
380 }
381
382 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
383 long groupId, int status, int start, int end,
384 com.liferay.portal.kernel.util.OrderByComparator obc)
385 throws com.liferay.portal.kernel.exception.SystemException {
386 return _blogsEntryLocalService.getGroupEntries(groupId, status, start,
387 end, obc);
388 }
389
390 public int getGroupEntriesCount(long groupId, int status)
391 throws com.liferay.portal.kernel.exception.SystemException {
392 return _blogsEntryLocalService.getGroupEntriesCount(groupId, status);
393 }
394
395 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
396 long companyId, long groupId, int status, int start, int end)
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return _blogsEntryLocalService.getGroupsEntries(companyId, groupId,
399 status, start, end);
400 }
401
402 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
403 long groupId, long userId, int status, int start, int end)
404 throws com.liferay.portal.kernel.exception.SystemException {
405 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
406 status, start, end);
407 }
408
409 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
410 long groupId, long userId, int status, int start, int end,
411 com.liferay.portal.kernel.util.OrderByComparator obc)
412 throws com.liferay.portal.kernel.exception.SystemException {
413 return _blogsEntryLocalService.getGroupUserEntries(groupId, userId,
414 status, start, end, obc);
415 }
416
417 public int getGroupUserEntriesCount(long groupId, long userId, int status)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _blogsEntryLocalService.getGroupUserEntriesCount(groupId,
420 userId, status);
421 }
422
423 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return _blogsEntryLocalService.getNoAssetEntries();
426 }
427
428 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
429 long organizationId, int status, int start, int end)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _blogsEntryLocalService.getOrganizationEntries(organizationId,
432 status, start, end);
433 }
434
435 public int getOrganizationEntriesCount(long organizationId, int status)
436 throws com.liferay.portal.kernel.exception.SystemException {
437 return _blogsEntryLocalService.getOrganizationEntriesCount(organizationId,
438 status);
439 }
440
441 public void subscribe(long userId, long groupId)
442 throws com.liferay.portal.kernel.exception.PortalException,
443 com.liferay.portal.kernel.exception.SystemException {
444 _blogsEntryLocalService.subscribe(userId, groupId);
445 }
446
447 public void unsubscribe(long userId, long groupId)
448 throws com.liferay.portal.kernel.exception.PortalException,
449 com.liferay.portal.kernel.exception.SystemException {
450 _blogsEntryLocalService.unsubscribe(userId, groupId);
451 }
452
453 public void updateAsset(long userId,
454 com.liferay.portlet.blogs.model.BlogsEntry entry,
455 long[] assetCategoryIds, java.lang.String[] assetTagNames,
456 long[] assetLinkEntryIds)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 _blogsEntryLocalService.updateAsset(userId, entry, assetCategoryIds,
460 assetTagNames, assetLinkEntryIds);
461 }
462
463 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
464 long entryId, java.lang.String title, java.lang.String description,
465 java.lang.String content, int displayDateMonth, int displayDateDay,
466 int displayDateYear, int displayDateHour, int displayDateMinute,
467 boolean allowPingbacks, boolean allowTrackbacks,
468 java.lang.String[] trackbacks, boolean smallImage,
469 java.lang.String smallImageURL, java.lang.String smallImageFileName,
470 java.io.InputStream smallImageInputStream,
471 com.liferay.portal.service.ServiceContext serviceContext)
472 throws com.liferay.portal.kernel.exception.PortalException,
473 com.liferay.portal.kernel.exception.SystemException {
474 return _blogsEntryLocalService.updateEntry(userId, entryId, title,
475 description, content, displayDateMonth, displayDateDay,
476 displayDateYear, displayDateHour, displayDateMinute,
477 allowPingbacks, allowTrackbacks, trackbacks, smallImage,
478 smallImageURL, smallImageFileName, smallImageInputStream,
479 serviceContext);
480 }
481
482 public void updateEntryResources(
483 com.liferay.portlet.blogs.model.BlogsEntry entry,
484 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
485 throws com.liferay.portal.kernel.exception.PortalException,
486 com.liferay.portal.kernel.exception.SystemException {
487 _blogsEntryLocalService.updateEntryResources(entry, groupPermissions,
488 guestPermissions);
489 }
490
491 public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
492 long userId, long entryId, int status,
493 com.liferay.portal.service.ServiceContext serviceContext)
494 throws com.liferay.portal.kernel.exception.PortalException,
495 com.liferay.portal.kernel.exception.SystemException {
496 return _blogsEntryLocalService.updateStatus(userId, entryId, status,
497 serviceContext);
498 }
499
500 public BlogsEntryLocalService getWrappedBlogsEntryLocalService() {
501 return _blogsEntryLocalService;
502 }
503
504 public void setWrappedBlogsEntryLocalService(
505 BlogsEntryLocalService blogsEntryLocalService) {
506 _blogsEntryLocalService = blogsEntryLocalService;
507 }
508
509 private BlogsEntryLocalService _blogsEntryLocalService;
510 }