1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.bookmarks.service;
16  
17  
18  /**
19   * <a href="BookmarksFolderServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link BookmarksFolderService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       BookmarksFolderService
32   * @generated
33   */
34  public class BookmarksFolderServiceWrapper implements BookmarksFolderService {
35      public BookmarksFolderServiceWrapper(
36          BookmarksFolderService bookmarksFolderService) {
37          _bookmarksFolderService = bookmarksFolderService;
38      }
39  
40      public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
41          long parentFolderId, java.lang.String name,
42          java.lang.String description,
43          com.liferay.portal.service.ServiceContext serviceContext)
44          throws com.liferay.portal.kernel.exception.PortalException,
45              com.liferay.portal.kernel.exception.SystemException {
46          return _bookmarksFolderService.addFolder(parentFolderId, name,
47              description, serviceContext);
48      }
49  
50      public void deleteFolder(long folderId)
51          throws com.liferay.portal.kernel.exception.PortalException,
52              com.liferay.portal.kernel.exception.SystemException {
53          _bookmarksFolderService.deleteFolder(folderId);
54      }
55  
56      public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
57          long folderId)
58          throws com.liferay.portal.kernel.exception.PortalException,
59              com.liferay.portal.kernel.exception.SystemException {
60          return _bookmarksFolderService.getFolder(folderId);
61      }
62  
63      public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
64          long folderId, long parentFolderId, java.lang.String name,
65          java.lang.String description, boolean mergeWithParentFolder,
66          com.liferay.portal.service.ServiceContext serviceContext)
67          throws com.liferay.portal.kernel.exception.PortalException,
68              com.liferay.portal.kernel.exception.SystemException {
69          return _bookmarksFolderService.updateFolder(folderId, parentFolderId,
70              name, description, mergeWithParentFolder, serviceContext);
71      }
72  
73      public BookmarksFolderService getWrappedBookmarksFolderService() {
74          return _bookmarksFolderService;
75      }
76  
77      private BookmarksFolderService _bookmarksFolderService;
78  }