001    /**
002     * Copyright (c) 2000-2013 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link BookmarksFolderService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       BookmarksFolderService
026     * @generated
027     */
028    public class BookmarksFolderServiceWrapper implements BookmarksFolderService,
029            ServiceWrapper<BookmarksFolderService> {
030            public BookmarksFolderServiceWrapper(
031                    BookmarksFolderService bookmarksFolderService) {
032                    _bookmarksFolderService = bookmarksFolderService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            public java.lang.String getBeanIdentifier() {
041                    return _bookmarksFolderService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _bookmarksFolderService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
054                    long parentFolderId, java.lang.String name,
055                    java.lang.String description,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _bookmarksFolderService.addFolder(parentFolderId, name,
060                            description, serviceContext);
061            }
062    
063            public void deleteFolder(long folderId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _bookmarksFolderService.deleteFolder(folderId);
067            }
068    
069            public void deleteFolder(long folderId, boolean includeTrashedEntries)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    _bookmarksFolderService.deleteFolder(folderId, includeTrashedEntries);
073            }
074    
075            public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
076                    long folderId)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    return _bookmarksFolderService.getFolder(folderId);
080            }
081    
082            public java.util.List<java.lang.Long> getFolderIds(long groupId,
083                    long folderId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _bookmarksFolderService.getFolderIds(groupId, folderId);
087            }
088    
089            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
090                    long groupId)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _bookmarksFolderService.getFolders(groupId);
093            }
094    
095            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
096                    long groupId, long parentFolderId)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _bookmarksFolderService.getFolders(groupId, parentFolderId);
099            }
100    
101            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
102                    long groupId, long parentFolderId, int start, int end)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _bookmarksFolderService.getFolders(groupId, parentFolderId,
105                            start, end);
106            }
107    
108            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
109                    long groupId, long parentFolderId, int status, int start, int end)
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _bookmarksFolderService.getFolders(groupId, parentFolderId,
112                            status, start, end);
113            }
114    
115            public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
116                    long folderId)
117                    throws com.liferay.portal.kernel.exception.SystemException {
118                    return _bookmarksFolderService.getFoldersAndEntries(groupId, folderId);
119            }
120    
121            public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
122                    long folderId, int status)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    return _bookmarksFolderService.getFoldersAndEntries(groupId, folderId,
125                            status);
126            }
127    
128            public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
129                    long folderId, int status, int start, int end)
130                    throws com.liferay.portal.kernel.exception.SystemException {
131                    return _bookmarksFolderService.getFoldersAndEntries(groupId, folderId,
132                            status, start, end);
133            }
134    
135            public int getFoldersAndEntriesCount(long groupId, long folderId)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _bookmarksFolderService.getFoldersAndEntriesCount(groupId,
138                            folderId);
139            }
140    
141            public int getFoldersAndEntriesCount(long groupId, long folderId, int status)
142                    throws com.liferay.portal.kernel.exception.SystemException {
143                    return _bookmarksFolderService.getFoldersAndEntriesCount(groupId,
144                            folderId, status);
145            }
146    
147            public int getFoldersCount(long groupId, long parentFolderId)
148                    throws com.liferay.portal.kernel.exception.SystemException {
149                    return _bookmarksFolderService.getFoldersCount(groupId, parentFolderId);
150            }
151    
152            public int getFoldersCount(long groupId, long parentFolderId, int status)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    return _bookmarksFolderService.getFoldersCount(groupId, parentFolderId,
155                            status);
156            }
157    
158            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
159                    long groupId, long folderId)
160                    throws com.liferay.portal.kernel.exception.SystemException {
161                    _bookmarksFolderService.getSubfolderIds(folderIds, groupId, folderId);
162            }
163    
164            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
165                    long folderId, boolean recurse)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _bookmarksFolderService.getSubfolderIds(groupId, folderId,
168                            recurse);
169            }
170    
171            public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolder(
172                    long folderId, long parentFolderId)
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException {
175                    return _bookmarksFolderService.moveFolder(folderId, parentFolderId);
176            }
177    
178            public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolderFromTrash(
179                    long folderId, long parentFolderId)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    return _bookmarksFolderService.moveFolderFromTrash(folderId,
183                            parentFolderId);
184            }
185    
186            public void moveFolderToTrash(long folderId)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    _bookmarksFolderService.moveFolderToTrash(folderId);
190            }
191    
192            public void restoreFolderFromTrash(long folderId)
193                    throws com.liferay.portal.kernel.exception.PortalException,
194                            com.liferay.portal.kernel.exception.SystemException {
195                    _bookmarksFolderService.restoreFolderFromTrash(folderId);
196            }
197    
198            public void subscribeFolder(long groupId, long folderId)
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException {
201                    _bookmarksFolderService.subscribeFolder(groupId, folderId);
202            }
203    
204            public void unsubscribeFolder(long groupId, long folderId)
205                    throws com.liferay.portal.kernel.exception.PortalException,
206                            com.liferay.portal.kernel.exception.SystemException {
207                    _bookmarksFolderService.unsubscribeFolder(groupId, folderId);
208            }
209    
210            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
211                    long folderId, long parentFolderId, java.lang.String name,
212                    java.lang.String description, boolean mergeWithParentFolder,
213                    com.liferay.portal.service.ServiceContext serviceContext)
214                    throws com.liferay.portal.kernel.exception.PortalException,
215                            com.liferay.portal.kernel.exception.SystemException {
216                    return _bookmarksFolderService.updateFolder(folderId, parentFolderId,
217                            name, description, mergeWithParentFolder, serviceContext);
218            }
219    
220            /**
221             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
222             */
223            public BookmarksFolderService getWrappedBookmarksFolderService() {
224                    return _bookmarksFolderService;
225            }
226    
227            /**
228             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
229             */
230            public void setWrappedBookmarksFolderService(
231                    BookmarksFolderService bookmarksFolderService) {
232                    _bookmarksFolderService = bookmarksFolderService;
233            }
234    
235            public BookmarksFolderService getWrappedService() {
236                    return _bookmarksFolderService;
237            }
238    
239            public void setWrappedService(BookmarksFolderService bookmarksFolderService) {
240                    _bookmarksFolderService = bookmarksFolderService;
241            }
242    
243            private BookmarksFolderService _bookmarksFolderService;
244    }