001
014
015 package com.liferay.portlet.bookmarks.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class BookmarksFolderLocalServiceWrapper
030 implements BookmarksFolderLocalService,
031 ServiceWrapper<BookmarksFolderLocalService> {
032 public BookmarksFolderLocalServiceWrapper(
033 BookmarksFolderLocalService bookmarksFolderLocalService) {
034 _bookmarksFolderLocalService = bookmarksFolderLocalService;
035 }
036
037
044 @Override
045 public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(
046 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
047 throws com.liferay.portal.kernel.exception.SystemException {
048 return _bookmarksFolderLocalService.addBookmarksFolder(bookmarksFolder);
049 }
050
051
057 @Override
058 public com.liferay.portlet.bookmarks.model.BookmarksFolder createBookmarksFolder(
059 long folderId) {
060 return _bookmarksFolderLocalService.createBookmarksFolder(folderId);
061 }
062
063
071 @Override
072 public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteBookmarksFolder(
073 long folderId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _bookmarksFolderLocalService.deleteBookmarksFolder(folderId);
077 }
078
079
086 @Override
087 public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteBookmarksFolder(
088 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _bookmarksFolderLocalService.deleteBookmarksFolder(bookmarksFolder);
091 }
092
093 @Override
094 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
095 return _bookmarksFolderLocalService.dynamicQuery();
096 }
097
098
105 @Override
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery);
111 }
112
113
126 @Override
127 @SuppressWarnings("rawtypes")
128 public java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
132 end);
133 }
134
135
149 @Override
150 @SuppressWarnings("rawtypes")
151 public java.util.List dynamicQuery(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
153 int end,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
157 end, orderByComparator);
158 }
159
160
167 @Override
168 public long dynamicQueryCount(
169 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
170 throws com.liferay.portal.kernel.exception.SystemException {
171 return _bookmarksFolderLocalService.dynamicQueryCount(dynamicQuery);
172 }
173
174
182 @Override
183 public long dynamicQueryCount(
184 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
185 com.liferay.portal.kernel.dao.orm.Projection projection)
186 throws com.liferay.portal.kernel.exception.SystemException {
187 return _bookmarksFolderLocalService.dynamicQueryCount(dynamicQuery,
188 projection);
189 }
190
191 @Override
192 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolder(
193 long folderId)
194 throws com.liferay.portal.kernel.exception.SystemException {
195 return _bookmarksFolderLocalService.fetchBookmarksFolder(folderId);
196 }
197
198
206 @Override
207 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolderByUuidAndCompanyId(
208 java.lang.String uuid, long companyId)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _bookmarksFolderLocalService.fetchBookmarksFolderByUuidAndCompanyId(uuid,
211 companyId);
212 }
213
214
222 @Override
223 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolderByUuidAndGroupId(
224 java.lang.String uuid, long groupId)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _bookmarksFolderLocalService.fetchBookmarksFolderByUuidAndGroupId(uuid,
227 groupId);
228 }
229
230
238 @Override
239 public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(
240 long folderId)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException {
243 return _bookmarksFolderLocalService.getBookmarksFolder(folderId);
244 }
245
246 @Override
247 public com.liferay.portal.model.PersistedModel getPersistedModel(
248 java.io.Serializable primaryKeyObj)
249 throws com.liferay.portal.kernel.exception.PortalException,
250 com.liferay.portal.kernel.exception.SystemException {
251 return _bookmarksFolderLocalService.getPersistedModel(primaryKeyObj);
252 }
253
254
263 @Override
264 public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolderByUuidAndCompanyId(
265 java.lang.String uuid, long companyId)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _bookmarksFolderLocalService.getBookmarksFolderByUuidAndCompanyId(uuid,
269 companyId);
270 }
271
272
281 @Override
282 public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolderByUuidAndGroupId(
283 java.lang.String uuid, long groupId)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 return _bookmarksFolderLocalService.getBookmarksFolderByUuidAndGroupId(uuid,
287 groupId);
288 }
289
290
302 @Override
303 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(
304 int start, int end)
305 throws com.liferay.portal.kernel.exception.SystemException {
306 return _bookmarksFolderLocalService.getBookmarksFolders(start, end);
307 }
308
309
315 @Override
316 public int getBookmarksFoldersCount()
317 throws com.liferay.portal.kernel.exception.SystemException {
318 return _bookmarksFolderLocalService.getBookmarksFoldersCount();
319 }
320
321
328 @Override
329 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
330 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder);
333 }
334
335
340 @Override
341 public java.lang.String getBeanIdentifier() {
342 return _bookmarksFolderLocalService.getBeanIdentifier();
343 }
344
345
350 @Override
351 public void setBeanIdentifier(java.lang.String beanIdentifier) {
352 _bookmarksFolderLocalService.setBeanIdentifier(beanIdentifier);
353 }
354
355 @Override
356 public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
357 long userId, long parentFolderId, java.lang.String name,
358 java.lang.String description,
359 com.liferay.portal.service.ServiceContext serviceContext)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 return _bookmarksFolderLocalService.addFolder(userId, parentFolderId,
363 name, description, serviceContext);
364 }
365
366 @Override
367 public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
368 com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 return _bookmarksFolderLocalService.deleteFolder(folder);
372 }
373
374 @Override
375 public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
376 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
377 boolean includeTrashedEntries)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 return _bookmarksFolderLocalService.deleteFolder(folder,
381 includeTrashedEntries);
382 }
383
384 @Override
385 public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
386 long folderId)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 return _bookmarksFolderLocalService.deleteFolder(folderId);
390 }
391
392 @Override
393 public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
394 long folderId, boolean includeTrashedEntries)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 return _bookmarksFolderLocalService.deleteFolder(folderId,
398 includeTrashedEntries);
399 }
400
401 @Override
402 public void deleteFolders(long groupId)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 _bookmarksFolderLocalService.deleteFolders(groupId);
406 }
407
408 @Override
409 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getCompanyFolders(
410 long companyId, int start, int end)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return _bookmarksFolderLocalService.getCompanyFolders(companyId, start,
413 end);
414 }
415
416 @Override
417 public int getCompanyFoldersCount(long companyId)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _bookmarksFolderLocalService.getCompanyFoldersCount(companyId);
420 }
421
422 @Override
423 public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
424 long folderId)
425 throws com.liferay.portal.kernel.exception.PortalException,
426 com.liferay.portal.kernel.exception.SystemException {
427 return _bookmarksFolderLocalService.getFolder(folderId);
428 }
429
430 @Override
431 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
432 long groupId)
433 throws com.liferay.portal.kernel.exception.SystemException {
434 return _bookmarksFolderLocalService.getFolders(groupId);
435 }
436
437 @Override
438 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
439 long groupId, long parentFolderId)
440 throws com.liferay.portal.kernel.exception.SystemException {
441 return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId);
442 }
443
444 @Override
445 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
446 long groupId, long parentFolderId, int start, int end)
447 throws com.liferay.portal.kernel.exception.SystemException {
448 return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
449 start, end);
450 }
451
452 @Override
453 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
454 long groupId, long parentFolderId, int status, int start, int end)
455 throws com.liferay.portal.kernel.exception.SystemException {
456 return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
457 status, start, end);
458 }
459
460 @Override
461 public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
462 long folderId)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return _bookmarksFolderLocalService.getFoldersAndEntries(groupId,
465 folderId);
466 }
467
468 @Override
469 public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
470 long folderId, int status)
471 throws com.liferay.portal.kernel.exception.SystemException {
472 return _bookmarksFolderLocalService.getFoldersAndEntries(groupId,
473 folderId, status);
474 }
475
476 @Override
477 public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
478 long folderId, int status, int start, int end)
479 throws com.liferay.portal.kernel.exception.SystemException {
480 return _bookmarksFolderLocalService.getFoldersAndEntries(groupId,
481 folderId, status, start, end);
482 }
483
484 @Override
485 public int getFoldersAndEntriesCount(long groupId, long folderId, int status)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return _bookmarksFolderLocalService.getFoldersAndEntriesCount(groupId,
488 folderId, status);
489 }
490
491 @Override
492 public int getFoldersCount(long groupId, long parentFolderId)
493 throws com.liferay.portal.kernel.exception.SystemException {
494 return _bookmarksFolderLocalService.getFoldersCount(groupId,
495 parentFolderId);
496 }
497
498 @Override
499 public int getFoldersCount(long groupId, long parentFolderId, int status)
500 throws com.liferay.portal.kernel.exception.SystemException {
501 return _bookmarksFolderLocalService.getFoldersCount(groupId,
502 parentFolderId, status);
503 }
504
505 @Override
506 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getNoAssetFolders()
507 throws com.liferay.portal.kernel.exception.SystemException {
508 return _bookmarksFolderLocalService.getNoAssetFolders();
509 }
510
511 @Override
512 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
513 long groupId, long folderId)
514 throws com.liferay.portal.kernel.exception.SystemException {
515 _bookmarksFolderLocalService.getSubfolderIds(folderIds, groupId,
516 folderId);
517 }
518
519 @Override
520 public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolder(
521 long folderId, long parentFolderId)
522 throws com.liferay.portal.kernel.exception.PortalException,
523 com.liferay.portal.kernel.exception.SystemException {
524 return _bookmarksFolderLocalService.moveFolder(folderId, parentFolderId);
525 }
526
527 @Override
528 public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolderFromTrash(
529 long userId, long folderId, long parentFolderId)
530 throws com.liferay.portal.kernel.exception.PortalException,
531 com.liferay.portal.kernel.exception.SystemException {
532 return _bookmarksFolderLocalService.moveFolderFromTrash(userId,
533 folderId, parentFolderId);
534 }
535
536 @Override
537 public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolderToTrash(
538 long userId, long folderId)
539 throws com.liferay.portal.kernel.exception.PortalException,
540 com.liferay.portal.kernel.exception.SystemException {
541 return _bookmarksFolderLocalService.moveFolderToTrash(userId, folderId);
542 }
543
544 @Override
545 public void rebuildTree(long companyId)
546 throws com.liferay.portal.kernel.exception.PortalException,
547 com.liferay.portal.kernel.exception.SystemException {
548 _bookmarksFolderLocalService.rebuildTree(companyId);
549 }
550
551 @Override
552 public void rebuildTree(long companyId, long parentFolderId,
553 java.lang.String parentTreePath, boolean reindex)
554 throws com.liferay.portal.kernel.exception.PortalException,
555 com.liferay.portal.kernel.exception.SystemException {
556 _bookmarksFolderLocalService.rebuildTree(companyId, parentFolderId,
557 parentTreePath, reindex);
558 }
559
560 @Override
561 public void restoreFolderFromTrash(long userId, long folderId)
562 throws com.liferay.portal.kernel.exception.PortalException,
563 com.liferay.portal.kernel.exception.SystemException {
564 _bookmarksFolderLocalService.restoreFolderFromTrash(userId, folderId);
565 }
566
567 @Override
568 public void subscribeFolder(long userId, long groupId, long folderId)
569 throws com.liferay.portal.kernel.exception.PortalException,
570 com.liferay.portal.kernel.exception.SystemException {
571 _bookmarksFolderLocalService.subscribeFolder(userId, groupId, folderId);
572 }
573
574 @Override
575 public void unsubscribeFolder(long userId, long groupId, long folderId)
576 throws com.liferay.portal.kernel.exception.PortalException,
577 com.liferay.portal.kernel.exception.SystemException {
578 _bookmarksFolderLocalService.unsubscribeFolder(userId, groupId, folderId);
579 }
580
581 @Override
582 public void updateAsset(long userId,
583 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
584 long[] assetCategoryIds, java.lang.String[] assetTagNames,
585 long[] assetLinkEntryIds)
586 throws com.liferay.portal.kernel.exception.PortalException,
587 com.liferay.portal.kernel.exception.SystemException {
588 _bookmarksFolderLocalService.updateAsset(userId, folder,
589 assetCategoryIds, assetTagNames, assetLinkEntryIds);
590 }
591
592 @Override
593 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
594 long userId, long folderId, long parentFolderId, java.lang.String name,
595 java.lang.String description, boolean mergeWithParentFolder,
596 com.liferay.portal.service.ServiceContext serviceContext)
597 throws com.liferay.portal.kernel.exception.PortalException,
598 com.liferay.portal.kernel.exception.SystemException {
599 return _bookmarksFolderLocalService.updateFolder(userId, folderId,
600 parentFolderId, name, description, mergeWithParentFolder,
601 serviceContext);
602 }
603
604 @Override
605 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateStatus(
606 long userId,
607 com.liferay.portlet.bookmarks.model.BookmarksFolder folder, int status)
608 throws com.liferay.portal.kernel.exception.PortalException,
609 com.liferay.portal.kernel.exception.SystemException {
610 return _bookmarksFolderLocalService.updateStatus(userId, folder, status);
611 }
612
613
616 public BookmarksFolderLocalService getWrappedBookmarksFolderLocalService() {
617 return _bookmarksFolderLocalService;
618 }
619
620
623 public void setWrappedBookmarksFolderLocalService(
624 BookmarksFolderLocalService bookmarksFolderLocalService) {
625 _bookmarksFolderLocalService = bookmarksFolderLocalService;
626 }
627
628 @Override
629 public BookmarksFolderLocalService getWrappedService() {
630 return _bookmarksFolderLocalService;
631 }
632
633 @Override
634 public void setWrappedService(
635 BookmarksFolderLocalService bookmarksFolderLocalService) {
636 _bookmarksFolderLocalService = bookmarksFolderLocalService;
637 }
638
639 private BookmarksFolderLocalService _bookmarksFolderLocalService;
640 }