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