1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.bookmarks.service;
16  
17  
18  /**
19   * <a href="BookmarksEntryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link BookmarksEntryLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       BookmarksEntryLocalService
32   * @generated
33   */
34  public class BookmarksEntryLocalServiceWrapper
35      implements BookmarksEntryLocalService {
36      public BookmarksEntryLocalServiceWrapper(
37          BookmarksEntryLocalService bookmarksEntryLocalService) {
38          _bookmarksEntryLocalService = bookmarksEntryLocalService;
39      }
40  
41      public com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(
42          com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
43          throws com.liferay.portal.SystemException {
44          return _bookmarksEntryLocalService.addBookmarksEntry(bookmarksEntry);
45      }
46  
47      public com.liferay.portlet.bookmarks.model.BookmarksEntry createBookmarksEntry(
48          long entryId) {
49          return _bookmarksEntryLocalService.createBookmarksEntry(entryId);
50      }
51  
52      public void deleteBookmarksEntry(long entryId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _bookmarksEntryLocalService.deleteBookmarksEntry(entryId);
56      }
57  
58      public void deleteBookmarksEntry(
59          com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
60          throws com.liferay.portal.SystemException {
61          _bookmarksEntryLocalService.deleteBookmarksEntry(bookmarksEntry);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.SystemException {
81          return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery, start,
82              end, orderByComparator);
83      }
84  
85      public int dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.SystemException {
88          return _bookmarksEntryLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntry(
92          long entryId)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _bookmarksEntryLocalService.getBookmarksEntry(entryId);
96      }
97  
98      public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getBookmarksEntries(
99          int start, int end) throws com.liferay.portal.SystemException {
100         return _bookmarksEntryLocalService.getBookmarksEntries(start, end);
101     }
102 
103     public int getBookmarksEntriesCount()
104         throws com.liferay.portal.SystemException {
105         return _bookmarksEntryLocalService.getBookmarksEntriesCount();
106     }
107 
108     public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
109         com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
110         throws com.liferay.portal.SystemException {
111         return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry);
112     }
113 
114     public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
115         com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry,
118             merge);
119     }
120 
121     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
122         long userId, long folderId, java.lang.String name,
123         java.lang.String url, java.lang.String comments,
124         com.liferay.portal.service.ServiceContext serviceContext)
125         throws com.liferay.portal.PortalException,
126             com.liferay.portal.SystemException {
127         return _bookmarksEntryLocalService.addEntry(userId, folderId, name,
128             url, comments, serviceContext);
129     }
130 
131     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
132         java.lang.String uuid, long userId, long folderId,
133         java.lang.String name, java.lang.String url, java.lang.String comments,
134         com.liferay.portal.service.ServiceContext serviceContext)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException {
137         return _bookmarksEntryLocalService.addEntry(uuid, userId, folderId,
138             name, url, comments, serviceContext);
139     }
140 
141     public void addEntryResources(
142         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
143         boolean addCommunityPermissions, boolean addGuestPermissions)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         _bookmarksEntryLocalService.addEntryResources(entry,
147             addCommunityPermissions, addGuestPermissions);
148     }
149 
150     public void addEntryResources(
151         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
152         java.lang.String[] communityPermissions,
153         java.lang.String[] guestPermissions)
154         throws com.liferay.portal.PortalException,
155             com.liferay.portal.SystemException {
156         _bookmarksEntryLocalService.addEntryResources(entry,
157             communityPermissions, guestPermissions);
158     }
159 
160     public void addEntryResources(long entryId,
161         boolean addCommunityPermissions, boolean addGuestPermissions)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException {
164         _bookmarksEntryLocalService.addEntryResources(entryId,
165             addCommunityPermissions, addGuestPermissions);
166     }
167 
168     public void addEntryResources(long entryId,
169         java.lang.String[] communityPermissions,
170         java.lang.String[] guestPermissions)
171         throws com.liferay.portal.PortalException,
172             com.liferay.portal.SystemException {
173         _bookmarksEntryLocalService.addEntryResources(entryId,
174             communityPermissions, guestPermissions);
175     }
176 
177     public void deleteEntries(long folderId)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _bookmarksEntryLocalService.deleteEntries(folderId);
181     }
182 
183     public void deleteEntry(
184         com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
185         throws com.liferay.portal.PortalException,
186             com.liferay.portal.SystemException {
187         _bookmarksEntryLocalService.deleteEntry(entry);
188     }
189 
190     public void deleteEntry(long entryId)
191         throws com.liferay.portal.PortalException,
192             com.liferay.portal.SystemException {
193         _bookmarksEntryLocalService.deleteEntry(entryId);
194     }
195 
196     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
197         long folderId, int start, int end)
198         throws com.liferay.portal.SystemException {
199         return _bookmarksEntryLocalService.getEntries(folderId, start, end);
200     }
201 
202     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
203         long folderId, int start, int end,
204         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205         throws com.liferay.portal.SystemException {
206         return _bookmarksEntryLocalService.getEntries(folderId, start, end,
207             orderByComparator);
208     }
209 
210     public int getEntriesCount(long folderId)
211         throws com.liferay.portal.SystemException {
212         return _bookmarksEntryLocalService.getEntriesCount(folderId);
213     }
214 
215     public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
216         long entryId)
217         throws com.liferay.portal.PortalException,
218             com.liferay.portal.SystemException {
219         return _bookmarksEntryLocalService.getEntry(entryId);
220     }
221 
222     public int getFoldersEntriesCount(java.util.List<Long> folderIds)
223         throws com.liferay.portal.SystemException {
224         return _bookmarksEntryLocalService.getFoldersEntriesCount(folderIds);
225     }
226 
227     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
228         long groupId, int start, int end)
229         throws com.liferay.portal.SystemException {
230         return _bookmarksEntryLocalService.getGroupEntries(groupId, start, end);
231     }
232 
233     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
234         long groupId, long userId, int start, int end)
235         throws com.liferay.portal.SystemException {
236         return _bookmarksEntryLocalService.getGroupEntries(groupId, userId,
237             start, end);
238     }
239 
240     public int getGroupEntriesCount(long groupId)
241         throws com.liferay.portal.SystemException {
242         return _bookmarksEntryLocalService.getGroupEntriesCount(groupId);
243     }
244 
245     public int getGroupEntriesCount(long groupId, long userId)
246         throws com.liferay.portal.SystemException {
247         return _bookmarksEntryLocalService.getGroupEntriesCount(groupId, userId);
248     }
249 
250     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
251         throws com.liferay.portal.SystemException {
252         return _bookmarksEntryLocalService.getNoAssetEntries();
253     }
254 
255     public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
256         long entryId)
257         throws com.liferay.portal.PortalException,
258             com.liferay.portal.SystemException {
259         return _bookmarksEntryLocalService.openEntry(entryId);
260     }
261 
262     public void reIndex(
263         com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
264         throws com.liferay.portal.SystemException {
265         _bookmarksEntryLocalService.reIndex(entry);
266     }
267 
268     public void reIndex(long entryId) throws com.liferay.portal.SystemException {
269         _bookmarksEntryLocalService.reIndex(entryId);
270     }
271 
272     public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
273         long userId, long entryId, long folderId, java.lang.String name,
274         java.lang.String url, java.lang.String comments,
275         com.liferay.portal.service.ServiceContext serviceContext)
276         throws com.liferay.portal.PortalException,
277             com.liferay.portal.SystemException {
278         return _bookmarksEntryLocalService.updateEntry(userId, entryId,
279             folderId, name, url, comments, serviceContext);
280     }
281 
282     public void updateTagsAsset(long userId,
283         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
284         java.lang.String[] tagsEntries)
285         throws com.liferay.portal.PortalException,
286             com.liferay.portal.SystemException {
287         _bookmarksEntryLocalService.updateTagsAsset(userId, entry, tagsEntries);
288     }
289 
290     public BookmarksEntryLocalService getWrappedBookmarksEntryLocalService() {
291         return _bookmarksEntryLocalService;
292     }
293 
294     private BookmarksEntryLocalService _bookmarksEntryLocalService;
295 }