001    /**
002     * Copyright (c) 2000-2011 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 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
056                    long groupId)
057                    throws com.liferay.portal.kernel.exception.SystemException {
058                    return _bookmarksFolderService.getFolders(groupId);
059            }
060    
061            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
062                    long groupId, long parentFolderId)
063                    throws com.liferay.portal.kernel.exception.SystemException {
064                    return _bookmarksFolderService.getFolders(groupId, parentFolderId);
065            }
066    
067            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
068                    long groupId, long parentFolderId, int start, int end)
069                    throws com.liferay.portal.kernel.exception.SystemException {
070                    return _bookmarksFolderService.getFolders(groupId, parentFolderId,
071                            start, end);
072            }
073    
074            public int getFoldersCount(long groupId, long parentFolderId)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _bookmarksFolderService.getFoldersCount(groupId, parentFolderId);
077            }
078    
079            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
080                    long groupId, long folderId)
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    _bookmarksFolderService.getSubfolderIds(folderIds, groupId, folderId);
083            }
084    
085            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
086                    long folderId, long parentFolderId, java.lang.String name,
087                    java.lang.String description, boolean mergeWithParentFolder,
088                    com.liferay.portal.service.ServiceContext serviceContext)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _bookmarksFolderService.updateFolder(folderId, parentFolderId,
092                            name, description, mergeWithParentFolder, serviceContext);
093            }
094    
095            public BookmarksFolderService getWrappedBookmarksFolderService() {
096                    return _bookmarksFolderService;
097            }
098    
099            public void setWrappedBookmarksFolderService(
100                    BookmarksFolderService bookmarksFolderService) {
101                    _bookmarksFolderService = bookmarksFolderService;
102            }
103    
104            private BookmarksFolderService _bookmarksFolderService;
105    }