001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.bookmarks.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link BookmarksEntryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BookmarksEntryService
024     * @generated
025     */
026    public class BookmarksEntryServiceWrapper implements BookmarksEntryService {
027            public BookmarksEntryServiceWrapper(
028                    BookmarksEntryService bookmarksEntryService) {
029                    _bookmarksEntryService = bookmarksEntryService;
030            }
031    
032            public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
033                    long groupId, long folderId, java.lang.String name,
034                    java.lang.String url, java.lang.String comments,
035                    com.liferay.portal.service.ServiceContext serviceContext)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _bookmarksEntryService.addEntry(groupId, folderId, name, url,
039                            comments, serviceContext);
040            }
041    
042            public void deleteEntry(long entryId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _bookmarksEntryService.deleteEntry(entryId);
046            }
047    
048            public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
049                    long entryId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _bookmarksEntryService.getEntry(entryId);
053            }
054    
055            public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
056                    long entryId)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _bookmarksEntryService.openEntry(entryId);
060            }
061    
062            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
063                    long entryId, long groupId, long folderId, java.lang.String name,
064                    java.lang.String url, java.lang.String comments,
065                    com.liferay.portal.service.ServiceContext serviceContext)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
069                            name, url, comments, serviceContext);
070            }
071    
072            public BookmarksEntryService getWrappedBookmarksEntryService() {
073                    return _bookmarksEntryService;
074            }
075    
076            private BookmarksEntryService _bookmarksEntryService;
077    }