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