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 com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntry(
77          long entryId)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _bookmarksEntryLocalService.getBookmarksEntry(entryId);
81      }
82  
83      public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getBookmarksEntries(
84          int start, int end) throws com.liferay.portal.SystemException {
85          return _bookmarksEntryLocalService.getBookmarksEntries(start, end);
86      }
87  
88      public int getBookmarksEntriesCount()
89          throws com.liferay.portal.SystemException {
90          return _bookmarksEntryLocalService.getBookmarksEntriesCount();
91      }
92  
93      public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
94          com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
95          throws com.liferay.portal.SystemException {
96          return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry);
97      }
98  
99      public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
100         com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
101         boolean merge) throws com.liferay.portal.SystemException {
102         return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry,
103             merge);
104     }
105 
106     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
107         long userId, long folderId, java.lang.String name,
108         java.lang.String url, java.lang.String comments,
109         java.lang.String[] tagsEntries, boolean addCommunityPermissions,
110         boolean addGuestPermissions)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         return _bookmarksEntryLocalService.addEntry(userId, folderId, name,
114             url, comments, tagsEntries, addCommunityPermissions,
115             addGuestPermissions);
116     }
117 
118     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
119         long userId, long folderId, java.lang.String name,
120         java.lang.String url, java.lang.String comments,
121         java.lang.String[] tagsEntries,
122         java.lang.String[] communityPermissions,
123         java.lang.String[] guestPermissions)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _bookmarksEntryLocalService.addEntry(userId, folderId, name,
127             url, comments, tagsEntries, communityPermissions, guestPermissions);
128     }
129 
130     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
131         java.lang.String uuid, long userId, long folderId,
132         java.lang.String name, java.lang.String url, java.lang.String comments,
133         java.lang.String[] tagsEntries, boolean addCommunityPermissions,
134         boolean addGuestPermissions)
135         throws com.liferay.portal.PortalException,
136             com.liferay.portal.SystemException {
137         return _bookmarksEntryLocalService.addEntry(uuid, userId, folderId,
138             name, url, comments, tagsEntries, addCommunityPermissions,
139             addGuestPermissions);
140     }
141 
142     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
143         java.lang.String uuid, long userId, long folderId,
144         java.lang.String name, java.lang.String url, java.lang.String comments,
145         java.lang.String[] tagsEntries,
146         java.lang.Boolean addCommunityPermissions,
147         java.lang.Boolean addGuestPermissions,
148         java.lang.String[] communityPermissions,
149         java.lang.String[] guestPermissions)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         return _bookmarksEntryLocalService.addEntry(uuid, userId, folderId,
153             name, url, comments, tagsEntries, addCommunityPermissions,
154             addGuestPermissions, communityPermissions, guestPermissions);
155     }
156 
157     public void addEntryResources(
158         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
159         boolean addCommunityPermissions, boolean addGuestPermissions)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException {
162         _bookmarksEntryLocalService.addEntryResources(entry,
163             addCommunityPermissions, addGuestPermissions);
164     }
165 
166     public void addEntryResources(
167         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
168         java.lang.String[] communityPermissions,
169         java.lang.String[] guestPermissions)
170         throws com.liferay.portal.PortalException,
171             com.liferay.portal.SystemException {
172         _bookmarksEntryLocalService.addEntryResources(entry,
173             communityPermissions, guestPermissions);
174     }
175 
176     public void addEntryResources(long entryId,
177         boolean addCommunityPermissions, boolean addGuestPermissions)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _bookmarksEntryLocalService.addEntryResources(entryId,
181             addCommunityPermissions, addGuestPermissions);
182     }
183 
184     public void addEntryResources(long entryId,
185         java.lang.String[] communityPermissions,
186         java.lang.String[] guestPermissions)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         _bookmarksEntryLocalService.addEntryResources(entryId,
190             communityPermissions, guestPermissions);
191     }
192 
193     public void deleteEntries(long folderId)
194         throws com.liferay.portal.PortalException,
195             com.liferay.portal.SystemException {
196         _bookmarksEntryLocalService.deleteEntries(folderId);
197     }
198 
199     public void deleteEntry(
200         com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
201         throws com.liferay.portal.PortalException,
202             com.liferay.portal.SystemException {
203         _bookmarksEntryLocalService.deleteEntry(entry);
204     }
205 
206     public void deleteEntry(long entryId)
207         throws com.liferay.portal.PortalException,
208             com.liferay.portal.SystemException {
209         _bookmarksEntryLocalService.deleteEntry(entryId);
210     }
211 
212     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
213         long folderId, int start, int end)
214         throws com.liferay.portal.SystemException {
215         return _bookmarksEntryLocalService.getEntries(folderId, start, end);
216     }
217 
218     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
219         long folderId, int start, int end,
220         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221         throws com.liferay.portal.SystemException {
222         return _bookmarksEntryLocalService.getEntries(folderId, start, end,
223             orderByComparator);
224     }
225 
226     public int getEntriesCount(long folderId)
227         throws com.liferay.portal.SystemException {
228         return _bookmarksEntryLocalService.getEntriesCount(folderId);
229     }
230 
231     public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
232         long entryId)
233         throws com.liferay.portal.PortalException,
234             com.liferay.portal.SystemException {
235         return _bookmarksEntryLocalService.getEntry(entryId);
236     }
237 
238     public int getFoldersEntriesCount(java.util.List<Long> folderIds)
239         throws com.liferay.portal.SystemException {
240         return _bookmarksEntryLocalService.getFoldersEntriesCount(folderIds);
241     }
242 
243     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
244         long groupId, int start, int end)
245         throws com.liferay.portal.SystemException {
246         return _bookmarksEntryLocalService.getGroupEntries(groupId, start, end);
247     }
248 
249     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
250         long groupId, long userId, int start, int end)
251         throws com.liferay.portal.SystemException {
252         return _bookmarksEntryLocalService.getGroupEntries(groupId, userId,
253             start, end);
254     }
255 
256     public int getGroupEntriesCount(long groupId)
257         throws com.liferay.portal.SystemException {
258         return _bookmarksEntryLocalService.getGroupEntriesCount(groupId);
259     }
260 
261     public int getGroupEntriesCount(long groupId, long userId)
262         throws com.liferay.portal.SystemException {
263         return _bookmarksEntryLocalService.getGroupEntriesCount(groupId, userId);
264     }
265 
266     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
267         throws com.liferay.portal.SystemException {
268         return _bookmarksEntryLocalService.getNoAssetEntries();
269     }
270 
271     public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
272         long entryId)
273         throws com.liferay.portal.PortalException,
274             com.liferay.portal.SystemException {
275         return _bookmarksEntryLocalService.openEntry(entryId);
276     }
277 
278     public void reIndex(
279         com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
280         throws com.liferay.portal.SystemException {
281         _bookmarksEntryLocalService.reIndex(entry);
282     }
283 
284     public void reIndex(long entryId) throws com.liferay.portal.SystemException {
285         _bookmarksEntryLocalService.reIndex(entryId);
286     }
287 
288     public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
289         long userId, long entryId, long folderId, java.lang.String name,
290         java.lang.String url, java.lang.String comments,
291         java.lang.String[] tagsEntries)
292         throws com.liferay.portal.PortalException,
293             com.liferay.portal.SystemException {
294         return _bookmarksEntryLocalService.updateEntry(userId, entryId,
295             folderId, name, url, comments, tagsEntries);
296     }
297 
298     public void updateTagsAsset(long userId,
299         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
300         java.lang.String[] tagsEntries)
301         throws com.liferay.portal.PortalException,
302             com.liferay.portal.SystemException {
303         _bookmarksEntryLocalService.updateTagsAsset(userId, entry, tagsEntries);
304     }
305 
306     public BookmarksEntryLocalService getWrappedBookmarksEntryLocalService() {
307         return _bookmarksEntryLocalService;
308     }
309 
310     private BookmarksEntryLocalService _bookmarksEntryLocalService;
311 }