1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.bookmarks.service;
16  
17  /**
18   * <a href="BookmarksFolderServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link BookmarksFolderService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       BookmarksFolderService
31   * @generated
32   */
33  public class BookmarksFolderServiceWrapper implements BookmarksFolderService {
34      public BookmarksFolderServiceWrapper(
35          BookmarksFolderService bookmarksFolderService) {
36          _bookmarksFolderService = bookmarksFolderService;
37      }
38  
39      public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
40          long parentFolderId, java.lang.String name,
41          java.lang.String description,
42          com.liferay.portal.service.ServiceContext serviceContext)
43          throws com.liferay.portal.PortalException,
44              com.liferay.portal.SystemException {
45          return _bookmarksFolderService.addFolder(parentFolderId, name,
46              description, serviceContext);
47      }
48  
49      public void deleteFolder(long folderId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _bookmarksFolderService.deleteFolder(folderId);
53      }
54  
55      public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
56          long folderId)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException {
59          return _bookmarksFolderService.getFolder(folderId);
60      }
61  
62      public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
63          long folderId, long parentFolderId, java.lang.String name,
64          java.lang.String description, boolean mergeWithParentFolder,
65          com.liferay.portal.service.ServiceContext serviceContext)
66          throws com.liferay.portal.PortalException,
67              com.liferay.portal.SystemException {
68          return _bookmarksFolderService.updateFolder(folderId, parentFolderId,
69              name, description, mergeWithParentFolder, serviceContext);
70      }
71  
72      public BookmarksFolderService getWrappedBookmarksFolderService() {
73          return _bookmarksFolderService;
74      }
75  
76      private BookmarksFolderService _bookmarksFolderService;
77  }