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 BookmarksFolderLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see BookmarksFolderLocalService
024     * @generated
025     */
026    public class BookmarksFolderLocalServiceWrapper
027            implements BookmarksFolderLocalService,
028                    ServiceWrapper<BookmarksFolderLocalService> {
029            public BookmarksFolderLocalServiceWrapper(
030                    BookmarksFolderLocalService bookmarksFolderLocalService) {
031                    _bookmarksFolderLocalService = bookmarksFolderLocalService;
032            }
033    
034            /**
035            * Adds the bookmarks folder to the database. Also notifies the appropriate model listeners.
036            *
037            * @param bookmarksFolder the bookmarks folder
038            * @return the bookmarks folder that was added
039            * @throws SystemException if a system exception occurred
040            */
041            @Override
042            public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(
043                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
044                    throws com.liferay.portal.kernel.exception.SystemException {
045                    return _bookmarksFolderLocalService.addBookmarksFolder(bookmarksFolder);
046            }
047    
048            /**
049            * Creates a new bookmarks folder with the primary key. Does not add the bookmarks folder to the database.
050            *
051            * @param folderId the primary key for the new bookmarks folder
052            * @return the new bookmarks folder
053            */
054            @Override
055            public com.liferay.portlet.bookmarks.model.BookmarksFolder createBookmarksFolder(
056                    long folderId) {
057                    return _bookmarksFolderLocalService.createBookmarksFolder(folderId);
058            }
059    
060            /**
061            * Deletes the bookmarks folder with the primary key from the database. Also notifies the appropriate model listeners.
062            *
063            * @param folderId the primary key of the bookmarks folder
064            * @return the bookmarks folder that was removed
065            * @throws PortalException if a bookmarks folder with the primary key could not be found
066            * @throws SystemException if a system exception occurred
067            */
068            @Override
069            public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteBookmarksFolder(
070                    long folderId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _bookmarksFolderLocalService.deleteBookmarksFolder(folderId);
074            }
075    
076            /**
077            * Deletes the bookmarks folder from the database. Also notifies the appropriate model listeners.
078            *
079            * @param bookmarksFolder the bookmarks folder
080            * @return the bookmarks folder that was removed
081            * @throws SystemException if a system exception occurred
082            */
083            @Override
084            public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteBookmarksFolder(
085                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
086                    throws com.liferay.portal.kernel.exception.SystemException {
087                    return _bookmarksFolderLocalService.deleteBookmarksFolder(bookmarksFolder);
088            }
089    
090            @Override
091            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
092                    return _bookmarksFolderLocalService.dynamicQuery();
093            }
094    
095            /**
096            * Performs a dynamic query on the database and returns the matching rows.
097            *
098            * @param dynamicQuery the dynamic query
099            * @return the matching rows
100            * @throws SystemException if a system exception occurred
101            */
102            @Override
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery);
108            }
109    
110            /**
111            * Performs a dynamic query on the database and returns a range of the matching rows.
112            *
113            * <p>
114            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
115            * </p>
116            *
117            * @param dynamicQuery the dynamic query
118            * @param start the lower bound of the range of model instances
119            * @param end the upper bound of the range of model instances (not inclusive)
120            * @return the range of matching rows
121            * @throws SystemException if a system exception occurred
122            */
123            @Override
124            @SuppressWarnings("rawtypes")
125            public java.util.List dynamicQuery(
126                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127                    int end) throws com.liferay.portal.kernel.exception.SystemException {
128                    return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
129                            end);
130            }
131    
132            /**
133            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
134            *
135            * <p>
136            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
137            * </p>
138            *
139            * @param dynamicQuery the dynamic query
140            * @param start the lower bound of the range of model instances
141            * @param end the upper bound of the range of model instances (not inclusive)
142            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
143            * @return the ordered range of matching rows
144            * @throws SystemException if a system exception occurred
145            */
146            @Override
147            @SuppressWarnings("rawtypes")
148            public java.util.List dynamicQuery(
149                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
150                    int end,
151                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
154                            end, orderByComparator);
155            }
156    
157            /**
158            * Returns the number of rows that match the dynamic query.
159            *
160            * @param dynamicQuery the dynamic query
161            * @return the number of rows that match the dynamic query
162            * @throws SystemException if a system exception occurred
163            */
164            @Override
165            public long dynamicQueryCount(
166                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
167                    throws com.liferay.portal.kernel.exception.SystemException {
168                    return _bookmarksFolderLocalService.dynamicQueryCount(dynamicQuery);
169            }
170    
171            /**
172            * Returns the number of rows that match the dynamic query.
173            *
174            * @param dynamicQuery the dynamic query
175            * @param projection the projection to apply to the query
176            * @return the number of rows that match the dynamic query
177            * @throws SystemException if a system exception occurred
178            */
179            @Override
180            public long dynamicQueryCount(
181                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
182                    com.liferay.portal.kernel.dao.orm.Projection projection)
183                    throws com.liferay.portal.kernel.exception.SystemException {
184                    return _bookmarksFolderLocalService.dynamicQueryCount(dynamicQuery,
185                            projection);
186            }
187    
188            @Override
189            public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolder(
190                    long folderId)
191                    throws com.liferay.portal.kernel.exception.SystemException {
192                    return _bookmarksFolderLocalService.fetchBookmarksFolder(folderId);
193            }
194    
195            /**
196            * Returns the bookmarks folder with the matching UUID and company.
197            *
198            * @param uuid the bookmarks folder's UUID
199            * @param companyId the primary key of the company
200            * @return the matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            @Override
204            public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolderByUuidAndCompanyId(
205                    java.lang.String uuid, long companyId)
206                    throws com.liferay.portal.kernel.exception.SystemException {
207                    return _bookmarksFolderLocalService.fetchBookmarksFolderByUuidAndCompanyId(uuid,
208                            companyId);
209            }
210    
211            /**
212            * Returns the bookmarks folder matching the UUID and group.
213            *
214            * @param uuid the bookmarks folder's UUID
215            * @param groupId the primary key of the group
216            * @return the matching bookmarks folder, or <code>null</code> if a matching bookmarks folder could not be found
217            * @throws SystemException if a system exception occurred
218            */
219            @Override
220            public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchBookmarksFolderByUuidAndGroupId(
221                    java.lang.String uuid, long groupId)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return _bookmarksFolderLocalService.fetchBookmarksFolderByUuidAndGroupId(uuid,
224                            groupId);
225            }
226    
227            /**
228            * Returns the bookmarks folder with the primary key.
229            *
230            * @param folderId the primary key of the bookmarks folder
231            * @return the bookmarks folder
232            * @throws PortalException if a bookmarks folder with the primary key could not be found
233            * @throws SystemException if a system exception occurred
234            */
235            @Override
236            public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(
237                    long folderId)
238                    throws com.liferay.portal.kernel.exception.PortalException,
239                            com.liferay.portal.kernel.exception.SystemException {
240                    return _bookmarksFolderLocalService.getBookmarksFolder(folderId);
241            }
242    
243            @Override
244            public com.liferay.portal.model.PersistedModel getPersistedModel(
245                    java.io.Serializable primaryKeyObj)
246                    throws com.liferay.portal.kernel.exception.PortalException,
247                            com.liferay.portal.kernel.exception.SystemException {
248                    return _bookmarksFolderLocalService.getPersistedModel(primaryKeyObj);
249            }
250    
251            /**
252            * Returns the bookmarks folder with the matching UUID and company.
253            *
254            * @param uuid the bookmarks folder's UUID
255            * @param companyId the primary key of the company
256            * @return the matching bookmarks folder
257            * @throws PortalException if a matching bookmarks folder could not be found
258            * @throws SystemException if a system exception occurred
259            */
260            @Override
261            public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolderByUuidAndCompanyId(
262                    java.lang.String uuid, long companyId)
263                    throws com.liferay.portal.kernel.exception.PortalException,
264                            com.liferay.portal.kernel.exception.SystemException {
265                    return _bookmarksFolderLocalService.getBookmarksFolderByUuidAndCompanyId(uuid,
266                            companyId);
267            }
268    
269            /**
270            * Returns the bookmarks folder matching the UUID and group.
271            *
272            * @param uuid the bookmarks folder's UUID
273            * @param groupId the primary key of the group
274            * @return the matching bookmarks folder
275            * @throws PortalException if a matching bookmarks folder could not be found
276            * @throws SystemException if a system exception occurred
277            */
278            @Override
279            public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolderByUuidAndGroupId(
280                    java.lang.String uuid, long groupId)
281                    throws com.liferay.portal.kernel.exception.PortalException,
282                            com.liferay.portal.kernel.exception.SystemException {
283                    return _bookmarksFolderLocalService.getBookmarksFolderByUuidAndGroupId(uuid,
284                            groupId);
285            }
286    
287            /**
288            * Returns a range of all the bookmarks folders.
289            *
290            * <p>
291            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
292            * </p>
293            *
294            * @param start the lower bound of the range of bookmarks folders
295            * @param end the upper bound of the range of bookmarks folders (not inclusive)
296            * @return the range of bookmarks folders
297            * @throws SystemException if a system exception occurred
298            */
299            @Override
300            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(
301                    int start, int end)
302                    throws com.liferay.portal.kernel.exception.SystemException {
303                    return _bookmarksFolderLocalService.getBookmarksFolders(start, end);
304            }
305    
306            /**
307            * Returns the number of bookmarks folders.
308            *
309            * @return the number of bookmarks folders
310            * @throws SystemException if a system exception occurred
311            */
312            @Override
313            public int getBookmarksFoldersCount()
314                    throws com.liferay.portal.kernel.exception.SystemException {
315                    return _bookmarksFolderLocalService.getBookmarksFoldersCount();
316            }
317    
318            /**
319            * Updates the bookmarks folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
320            *
321            * @param bookmarksFolder the bookmarks folder
322            * @return the bookmarks folder that was updated
323            * @throws SystemException if a system exception occurred
324            */
325            @Override
326            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
327                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
328                    throws com.liferay.portal.kernel.exception.SystemException {
329                    return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder);
330            }
331    
332            /**
333            * Returns the Spring bean ID for this bean.
334            *
335            * @return the Spring bean ID for this bean
336            */
337            @Override
338            public java.lang.String getBeanIdentifier() {
339                    return _bookmarksFolderLocalService.getBeanIdentifier();
340            }
341    
342            /**
343            * Sets the Spring bean ID for this bean.
344            *
345            * @param beanIdentifier the Spring bean ID for this bean
346            */
347            @Override
348            public void setBeanIdentifier(java.lang.String beanIdentifier) {
349                    _bookmarksFolderLocalService.setBeanIdentifier(beanIdentifier);
350            }
351    
352            @Override
353            public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
354                    long userId, long parentFolderId, java.lang.String name,
355                    java.lang.String description,
356                    com.liferay.portal.service.ServiceContext serviceContext)
357                    throws com.liferay.portal.kernel.exception.PortalException,
358                            com.liferay.portal.kernel.exception.SystemException {
359                    return _bookmarksFolderLocalService.addFolder(userId, parentFolderId,
360                            name, description, serviceContext);
361            }
362    
363            @Override
364            public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
365                    com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
366                    throws com.liferay.portal.kernel.exception.PortalException,
367                            com.liferay.portal.kernel.exception.SystemException {
368                    return _bookmarksFolderLocalService.deleteFolder(folder);
369            }
370    
371            @Override
372            public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
373                    com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
374                    boolean includeTrashedEntries)
375                    throws com.liferay.portal.kernel.exception.PortalException,
376                            com.liferay.portal.kernel.exception.SystemException {
377                    return _bookmarksFolderLocalService.deleteFolder(folder,
378                            includeTrashedEntries);
379            }
380    
381            @Override
382            public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
383                    long folderId)
384                    throws com.liferay.portal.kernel.exception.PortalException,
385                            com.liferay.portal.kernel.exception.SystemException {
386                    return _bookmarksFolderLocalService.deleteFolder(folderId);
387            }
388    
389            @Override
390            public com.liferay.portlet.bookmarks.model.BookmarksFolder deleteFolder(
391                    long folderId, boolean includeTrashedEntries)
392                    throws com.liferay.portal.kernel.exception.PortalException,
393                            com.liferay.portal.kernel.exception.SystemException {
394                    return _bookmarksFolderLocalService.deleteFolder(folderId,
395                            includeTrashedEntries);
396            }
397    
398            @Override
399            public void deleteFolders(long groupId)
400                    throws com.liferay.portal.kernel.exception.PortalException,
401                            com.liferay.portal.kernel.exception.SystemException {
402                    _bookmarksFolderLocalService.deleteFolders(groupId);
403            }
404    
405            @Override
406            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getCompanyFolders(
407                    long companyId, int start, int end)
408                    throws com.liferay.portal.kernel.exception.SystemException {
409                    return _bookmarksFolderLocalService.getCompanyFolders(companyId, start,
410                            end);
411            }
412    
413            @Override
414            public int getCompanyFoldersCount(long companyId)
415                    throws com.liferay.portal.kernel.exception.SystemException {
416                    return _bookmarksFolderLocalService.getCompanyFoldersCount(companyId);
417            }
418    
419            @Override
420            public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
421                    long folderId)
422                    throws com.liferay.portal.kernel.exception.PortalException,
423                            com.liferay.portal.kernel.exception.SystemException {
424                    return _bookmarksFolderLocalService.getFolder(folderId);
425            }
426    
427            @Override
428            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
429                    long groupId)
430                    throws com.liferay.portal.kernel.exception.SystemException {
431                    return _bookmarksFolderLocalService.getFolders(groupId);
432            }
433    
434            @Override
435            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
436                    long groupId, long parentFolderId)
437                    throws com.liferay.portal.kernel.exception.SystemException {
438                    return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId);
439            }
440    
441            @Override
442            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
443                    long groupId, long parentFolderId, int start, int end)
444                    throws com.liferay.portal.kernel.exception.SystemException {
445                    return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
446                            start, end);
447            }
448    
449            @Override
450            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
451                    long groupId, long parentFolderId, int status, int start, int end)
452                    throws com.liferay.portal.kernel.exception.SystemException {
453                    return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
454                            status, start, end);
455            }
456    
457            @Override
458            public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
459                    long folderId)
460                    throws com.liferay.portal.kernel.exception.SystemException {
461                    return _bookmarksFolderLocalService.getFoldersAndEntries(groupId,
462                            folderId);
463            }
464    
465            @Override
466            public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
467                    long folderId, int status)
468                    throws com.liferay.portal.kernel.exception.SystemException {
469                    return _bookmarksFolderLocalService.getFoldersAndEntries(groupId,
470                            folderId, status);
471            }
472    
473            @Override
474            public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId,
475                    long folderId, int status, int start, int end)
476                    throws com.liferay.portal.kernel.exception.SystemException {
477                    return _bookmarksFolderLocalService.getFoldersAndEntries(groupId,
478                            folderId, status, start, end);
479            }
480    
481            @Override
482            public int getFoldersAndEntriesCount(long groupId, long folderId, int status)
483                    throws com.liferay.portal.kernel.exception.SystemException {
484                    return _bookmarksFolderLocalService.getFoldersAndEntriesCount(groupId,
485                            folderId, status);
486            }
487    
488            @Override
489            public int getFoldersCount(long groupId, long parentFolderId)
490                    throws com.liferay.portal.kernel.exception.SystemException {
491                    return _bookmarksFolderLocalService.getFoldersCount(groupId,
492                            parentFolderId);
493            }
494    
495            @Override
496            public int getFoldersCount(long groupId, long parentFolderId, int status)
497                    throws com.liferay.portal.kernel.exception.SystemException {
498                    return _bookmarksFolderLocalService.getFoldersCount(groupId,
499                            parentFolderId, status);
500            }
501    
502            @Override
503            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getNoAssetFolders()
504                    throws com.liferay.portal.kernel.exception.SystemException {
505                    return _bookmarksFolderLocalService.getNoAssetFolders();
506            }
507    
508            @Override
509            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
510                    long groupId, long folderId)
511                    throws com.liferay.portal.kernel.exception.SystemException {
512                    _bookmarksFolderLocalService.getSubfolderIds(folderIds, groupId,
513                            folderId);
514            }
515    
516            @Override
517            public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolder(
518                    long folderId, long parentFolderId)
519                    throws com.liferay.portal.kernel.exception.PortalException,
520                            com.liferay.portal.kernel.exception.SystemException {
521                    return _bookmarksFolderLocalService.moveFolder(folderId, parentFolderId);
522            }
523    
524            @Override
525            public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolderFromTrash(
526                    long userId, long folderId, long parentFolderId)
527                    throws com.liferay.portal.kernel.exception.PortalException,
528                            com.liferay.portal.kernel.exception.SystemException {
529                    return _bookmarksFolderLocalService.moveFolderFromTrash(userId,
530                            folderId, parentFolderId);
531            }
532    
533            @Override
534            public com.liferay.portlet.bookmarks.model.BookmarksFolder moveFolderToTrash(
535                    long userId, long folderId)
536                    throws com.liferay.portal.kernel.exception.PortalException,
537                            com.liferay.portal.kernel.exception.SystemException {
538                    return _bookmarksFolderLocalService.moveFolderToTrash(userId, folderId);
539            }
540    
541            @Override
542            public void rebuildTree(long companyId)
543                    throws com.liferay.portal.kernel.exception.PortalException,
544                            com.liferay.portal.kernel.exception.SystemException {
545                    _bookmarksFolderLocalService.rebuildTree(companyId);
546            }
547    
548            @Override
549            public void restoreFolderFromTrash(long userId, long folderId)
550                    throws com.liferay.portal.kernel.exception.PortalException,
551                            com.liferay.portal.kernel.exception.SystemException {
552                    _bookmarksFolderLocalService.restoreFolderFromTrash(userId, folderId);
553            }
554    
555            @Override
556            public void subscribeFolder(long userId, long groupId, long folderId)
557                    throws com.liferay.portal.kernel.exception.PortalException,
558                            com.liferay.portal.kernel.exception.SystemException {
559                    _bookmarksFolderLocalService.subscribeFolder(userId, groupId, folderId);
560            }
561    
562            @Override
563            public void unsubscribeFolder(long userId, long groupId, long folderId)
564                    throws com.liferay.portal.kernel.exception.PortalException,
565                            com.liferay.portal.kernel.exception.SystemException {
566                    _bookmarksFolderLocalService.unsubscribeFolder(userId, groupId, folderId);
567            }
568    
569            @Override
570            public void updateAsset(long userId,
571                    com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
572                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
573                    long[] assetLinkEntryIds)
574                    throws com.liferay.portal.kernel.exception.PortalException,
575                            com.liferay.portal.kernel.exception.SystemException {
576                    _bookmarksFolderLocalService.updateAsset(userId, folder,
577                            assetCategoryIds, assetTagNames, assetLinkEntryIds);
578            }
579    
580            @Override
581            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
582                    long userId, long folderId, long parentFolderId, java.lang.String name,
583                    java.lang.String description, boolean mergeWithParentFolder,
584                    com.liferay.portal.service.ServiceContext serviceContext)
585                    throws com.liferay.portal.kernel.exception.PortalException,
586                            com.liferay.portal.kernel.exception.SystemException {
587                    return _bookmarksFolderLocalService.updateFolder(userId, folderId,
588                            parentFolderId, name, description, mergeWithParentFolder,
589                            serviceContext);
590            }
591    
592            @Override
593            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateStatus(
594                    long userId,
595                    com.liferay.portlet.bookmarks.model.BookmarksFolder folder, int status)
596                    throws com.liferay.portal.kernel.exception.PortalException,
597                            com.liferay.portal.kernel.exception.SystemException {
598                    return _bookmarksFolderLocalService.updateStatus(userId, folder, status);
599            }
600    
601            /**
602             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
603             */
604            public BookmarksFolderLocalService getWrappedBookmarksFolderLocalService() {
605                    return _bookmarksFolderLocalService;
606            }
607    
608            /**
609             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
610             */
611            public void setWrappedBookmarksFolderLocalService(
612                    BookmarksFolderLocalService bookmarksFolderLocalService) {
613                    _bookmarksFolderLocalService = bookmarksFolderLocalService;
614            }
615    
616            @Override
617            public BookmarksFolderLocalService getWrappedService() {
618                    return _bookmarksFolderLocalService;
619            }
620    
621            @Override
622            public void setWrappedService(
623                    BookmarksFolderLocalService bookmarksFolderLocalService) {
624                    _bookmarksFolderLocalService = bookmarksFolderLocalService;
625            }
626    
627            private BookmarksFolderLocalService _bookmarksFolderLocalService;
628    }