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