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 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    }