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