001
014
015 package com.liferay.portlet.bookmarks.service;
016
017
026 public class BookmarksFolderServiceWrapper implements BookmarksFolderService {
027 public BookmarksFolderServiceWrapper(
028 BookmarksFolderService bookmarksFolderService) {
029 _bookmarksFolderService = bookmarksFolderService;
030 }
031
032 public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
033 long parentFolderId, java.lang.String name,
034 java.lang.String description,
035 com.liferay.portal.service.ServiceContext serviceContext)
036 throws com.liferay.portal.kernel.exception.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 return _bookmarksFolderService.addFolder(parentFolderId, name,
039 description, serviceContext);
040 }
041
042 public void deleteFolder(long folderId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 _bookmarksFolderService.deleteFolder(folderId);
046 }
047
048 public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
049 long folderId)
050 throws com.liferay.portal.kernel.exception.PortalException,
051 com.liferay.portal.kernel.exception.SystemException {
052 return _bookmarksFolderService.getFolder(folderId);
053 }
054
055 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
056 long folderId, long parentFolderId, java.lang.String name,
057 java.lang.String description, boolean mergeWithParentFolder,
058 com.liferay.portal.service.ServiceContext serviceContext)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return _bookmarksFolderService.updateFolder(folderId, parentFolderId,
062 name, description, mergeWithParentFolder, serviceContext);
063 }
064
065 public BookmarksFolderService getWrappedBookmarksFolderService() {
066 return _bookmarksFolderService;
067 }
068
069 private BookmarksFolderService _bookmarksFolderService;
070 }