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