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