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 status, 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,
419                            status, start, end, orderByComparator);
420            }
421    
422            @Override
423            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
424                    long groupId, long folderId, int start, int end,
425                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
426                    throws com.liferay.portal.kernel.exception.SystemException {
427                    return _bookmarksEntryLocalService.getEntries(groupId, folderId, start,
428                            end, orderByComparator);
429            }
430    
431            @Override
432            public int getEntriesCount(long groupId, long folderId)
433                    throws com.liferay.portal.kernel.exception.SystemException {
434                    return _bookmarksEntryLocalService.getEntriesCount(groupId, folderId);
435            }
436    
437            @Override
438            public int getEntriesCount(long groupId, long folderId, int status)
439                    throws com.liferay.portal.kernel.exception.SystemException {
440                    return _bookmarksEntryLocalService.getEntriesCount(groupId, folderId,
441                            status);
442            }
443    
444            @Override
445            public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
446                    long entryId)
447                    throws com.liferay.portal.kernel.exception.PortalException,
448                            com.liferay.portal.kernel.exception.SystemException {
449                    return _bookmarksEntryLocalService.getEntry(entryId);
450            }
451    
452            @Override
453            public int getFoldersEntriesCount(long groupId,
454                    java.util.List<java.lang.Long> folderIds)
455                    throws com.liferay.portal.kernel.exception.SystemException {
456                    return _bookmarksEntryLocalService.getFoldersEntriesCount(groupId,
457                            folderIds);
458            }
459    
460            @Override
461            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
462                    long groupId, int start, int end)
463                    throws com.liferay.portal.kernel.exception.SystemException {
464                    return _bookmarksEntryLocalService.getGroupEntries(groupId, start, end);
465            }
466    
467            @Override
468            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
469                    long groupId, long userId, int start, int end)
470                    throws com.liferay.portal.kernel.exception.SystemException {
471                    return _bookmarksEntryLocalService.getGroupEntries(groupId, userId,
472                            start, end);
473            }
474    
475            @Override
476            public int getGroupEntriesCount(long groupId)
477                    throws com.liferay.portal.kernel.exception.SystemException {
478                    return _bookmarksEntryLocalService.getGroupEntriesCount(groupId);
479            }
480    
481            @Override
482            public int getGroupEntriesCount(long groupId, long userId)
483                    throws com.liferay.portal.kernel.exception.SystemException {
484                    return _bookmarksEntryLocalService.getGroupEntriesCount(groupId, userId);
485            }
486    
487            @Override
488            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return _bookmarksEntryLocalService.getNoAssetEntries();
491            }
492    
493            @Override
494            public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntry(
495                    long entryId, long parentFolderId)
496                    throws com.liferay.portal.kernel.exception.PortalException,
497                            com.liferay.portal.kernel.exception.SystemException {
498                    return _bookmarksEntryLocalService.moveEntry(entryId, parentFolderId);
499            }
500    
501            @Override
502            public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryFromTrash(
503                    long userId, long entryId, long parentFolderId)
504                    throws com.liferay.portal.kernel.exception.PortalException,
505                            com.liferay.portal.kernel.exception.SystemException {
506                    return _bookmarksEntryLocalService.moveEntryFromTrash(userId, entryId,
507                            parentFolderId);
508            }
509    
510            @Override
511            public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryToTrash(
512                    long userId, com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
513                    throws com.liferay.portal.kernel.exception.PortalException,
514                            com.liferay.portal.kernel.exception.SystemException {
515                    return _bookmarksEntryLocalService.moveEntryToTrash(userId, entry);
516            }
517    
518            @Override
519            public com.liferay.portlet.bookmarks.model.BookmarksEntry moveEntryToTrash(
520                    long userId, long entryId)
521                    throws com.liferay.portal.kernel.exception.PortalException,
522                            com.liferay.portal.kernel.exception.SystemException {
523                    return _bookmarksEntryLocalService.moveEntryToTrash(userId, entryId);
524            }
525    
526            @Override
527            public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
528                    long userId, com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
529                    throws com.liferay.portal.kernel.exception.SystemException {
530                    return _bookmarksEntryLocalService.openEntry(userId, entry);
531            }
532    
533            @Override
534            public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
535                    long userId, long entryId)
536                    throws com.liferay.portal.kernel.exception.PortalException,
537                            com.liferay.portal.kernel.exception.SystemException {
538                    return _bookmarksEntryLocalService.openEntry(userId, entryId);
539            }
540    
541            @Override
542            public void rebuildTree(long companyId)
543                    throws com.liferay.portal.kernel.exception.PortalException,
544                            com.liferay.portal.kernel.exception.SystemException {
545                    _bookmarksEntryLocalService.rebuildTree(companyId);
546            }
547    
548            @Override
549            public com.liferay.portlet.bookmarks.model.BookmarksEntry restoreEntryFromTrash(
550                    long userId, long entryId)
551                    throws com.liferay.portal.kernel.exception.PortalException,
552                            com.liferay.portal.kernel.exception.SystemException {
553                    return _bookmarksEntryLocalService.restoreEntryFromTrash(userId, entryId);
554            }
555    
556            @Override
557            public com.liferay.portal.kernel.search.Hits search(long groupId,
558                    long userId, long creatorUserId, int status, int start, int end)
559                    throws com.liferay.portal.kernel.exception.PortalException,
560                            com.liferay.portal.kernel.exception.SystemException {
561                    return _bookmarksEntryLocalService.search(groupId, userId,
562                            creatorUserId, status, start, end);
563            }
564    
565            @Override
566            public void setTreePaths(long folderId, java.lang.String treePath,
567                    boolean reindex)
568                    throws com.liferay.portal.kernel.exception.PortalException,
569                            com.liferay.portal.kernel.exception.SystemException {
570                    _bookmarksEntryLocalService.setTreePaths(folderId, treePath, reindex);
571            }
572    
573            @Override
574            public void subscribeEntry(long userId, long entryId)
575                    throws com.liferay.portal.kernel.exception.PortalException,
576                            com.liferay.portal.kernel.exception.SystemException {
577                    _bookmarksEntryLocalService.subscribeEntry(userId, entryId);
578            }
579    
580            @Override
581            public void unsubscribeEntry(long userId, long entryId)
582                    throws com.liferay.portal.kernel.exception.PortalException,
583                            com.liferay.portal.kernel.exception.SystemException {
584                    _bookmarksEntryLocalService.unsubscribeEntry(userId, entryId);
585            }
586    
587            @Override
588            public void updateAsset(long userId,
589                    com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
590                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
591                    long[] assetLinkEntryIds)
592                    throws com.liferay.portal.kernel.exception.PortalException,
593                            com.liferay.portal.kernel.exception.SystemException {
594                    _bookmarksEntryLocalService.updateAsset(userId, entry,
595                            assetCategoryIds, assetTagNames, assetLinkEntryIds);
596            }
597    
598            @Override
599            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
600                    long userId, long entryId, long groupId, long folderId,
601                    java.lang.String name, java.lang.String url,
602                    java.lang.String description,
603                    com.liferay.portal.service.ServiceContext serviceContext)
604                    throws com.liferay.portal.kernel.exception.PortalException,
605                            com.liferay.portal.kernel.exception.SystemException {
606                    return _bookmarksEntryLocalService.updateEntry(userId, entryId,
607                            groupId, folderId, name, url, description, serviceContext);
608            }
609    
610            @Override
611            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateStatus(
612                    long userId, com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
613                    int status)
614                    throws com.liferay.portal.kernel.exception.PortalException,
615                            com.liferay.portal.kernel.exception.SystemException {
616                    return _bookmarksEntryLocalService.updateStatus(userId, entry, status);
617            }
618    
619            /**
620             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
621             */
622            public BookmarksEntryLocalService getWrappedBookmarksEntryLocalService() {
623                    return _bookmarksEntryLocalService;
624            }
625    
626            /**
627             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
628             */
629            public void setWrappedBookmarksEntryLocalService(
630                    BookmarksEntryLocalService bookmarksEntryLocalService) {
631                    _bookmarksEntryLocalService = bookmarksEntryLocalService;
632            }
633    
634            @Override
635            public BookmarksEntryLocalService getWrappedService() {
636                    return _bookmarksEntryLocalService;
637            }
638    
639            @Override
640            public void setWrappedService(
641                    BookmarksEntryLocalService bookmarksEntryLocalService) {
642                    _bookmarksEntryLocalService = bookmarksEntryLocalService;
643            }
644    
645            private BookmarksEntryLocalService _bookmarksEntryLocalService;
646    }