001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.bookmarks.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link BookmarksFolderService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BookmarksFolderService
024     * @generated
025     */
026    public class BookmarksFolderServiceWrapper implements BookmarksFolderService {
027            public BookmarksFolderServiceWrapper(
028                    BookmarksFolderService bookmarksFolderService) {
029                    _bookmarksFolderService = bookmarksFolderService;
030            }
031    
032            public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
033                    long parentFolderId, java.lang.String name,
034                    java.lang.String description,
035                    com.liferay.portal.service.ServiceContext serviceContext)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _bookmarksFolderService.addFolder(parentFolderId, name,
039                            description, serviceContext);
040            }
041    
042            public void deleteFolder(long folderId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _bookmarksFolderService.deleteFolder(folderId);
046            }
047    
048            public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
049                    long folderId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _bookmarksFolderService.getFolder(folderId);
053            }
054    
055            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
056                    long folderId, long parentFolderId, java.lang.String name,
057                    java.lang.String description, boolean mergeWithParentFolder,
058                    com.liferay.portal.service.ServiceContext serviceContext)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _bookmarksFolderService.updateFolder(folderId, parentFolderId,
062                            name, description, mergeWithParentFolder, serviceContext);
063            }
064    
065            public BookmarksFolderService getWrappedBookmarksFolderService() {
066                    return _bookmarksFolderService;
067            }
068    
069            private BookmarksFolderService _bookmarksFolderService;
070    }