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