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="BookmarksEntryServiceUtil.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 BookmarksEntryService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       BookmarksEntryService
31   * @generated
32   */
33  public class BookmarksEntryServiceWrapper implements BookmarksEntryService {
34      public BookmarksEntryServiceWrapper(
35          BookmarksEntryService bookmarksEntryService) {
36          _bookmarksEntryService = bookmarksEntryService;
37      }
38  
39      public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
40          long folderId, java.lang.String name, java.lang.String url,
41          java.lang.String comments,
42          com.liferay.portal.service.ServiceContext serviceContext)
43          throws com.liferay.portal.PortalException,
44              com.liferay.portal.SystemException {
45          return _bookmarksEntryService.addEntry(folderId, name, url, comments,
46              serviceContext);
47      }
48  
49      public void deleteEntry(long entryId)
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException {
52          _bookmarksEntryService.deleteEntry(entryId);
53      }
54  
55      public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
56          long entryId)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException {
59          return _bookmarksEntryService.getEntry(entryId);
60      }
61  
62      public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
63          long entryId)
64          throws com.liferay.portal.PortalException,
65              com.liferay.portal.SystemException {
66          return _bookmarksEntryService.openEntry(entryId);
67      }
68  
69      public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
70          long entryId, long folderId, java.lang.String name,
71          java.lang.String url, java.lang.String comments,
72          com.liferay.portal.service.ServiceContext serviceContext)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException {
75          return _bookmarksEntryService.updateEntry(entryId, folderId, name, url,
76              comments, serviceContext);
77      }
78  
79      public BookmarksEntryService getWrappedBookmarksEntryService() {
80          return _bookmarksEntryService;
81      }
82  
83      private BookmarksEntryService _bookmarksEntryService;
84  }