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    /**
019     * <p>
020     * This class is a wrapper for {@link BookmarksEntryService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       BookmarksEntryService
025     * @generated
026     */
027    public class BookmarksEntryServiceWrapper implements BookmarksEntryService {
028            public BookmarksEntryServiceWrapper(
029                    BookmarksEntryService bookmarksEntryService) {
030                    _bookmarksEntryService = bookmarksEntryService;
031            }
032    
033            public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
034                    long groupId, long folderId, java.lang.String name,
035                    java.lang.String url, java.lang.String comments,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _bookmarksEntryService.addEntry(groupId, folderId, name, url,
040                            comments, serviceContext);
041            }
042    
043            public void deleteEntry(long entryId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _bookmarksEntryService.deleteEntry(entryId);
047            }
048    
049            public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
050                    long entryId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _bookmarksEntryService.getEntry(entryId);
054            }
055    
056            public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
057                    long entryId)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _bookmarksEntryService.openEntry(entryId);
061            }
062    
063            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
064                    long entryId, long groupId, long folderId, java.lang.String name,
065                    java.lang.String url, java.lang.String comments,
066                    com.liferay.portal.service.ServiceContext serviceContext)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _bookmarksEntryService.updateEntry(entryId, groupId, folderId,
070                            name, url, comments, serviceContext);
071            }
072    
073            public BookmarksEntryService getWrappedBookmarksEntryService() {
074                    return _bookmarksEntryService;
075            }
076    
077            private BookmarksEntryService _bookmarksEntryService;
078    }