1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.bookmarks.service;
24  
25  
26  /**
27   * <a href="BookmarksEntryLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link BookmarksEntryLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       BookmarksEntryLocalService
40   * @generated
41   */
42  public class BookmarksEntryLocalServiceWrapper
43      implements BookmarksEntryLocalService {
44      public BookmarksEntryLocalServiceWrapper(
45          BookmarksEntryLocalService bookmarksEntryLocalService) {
46          _bookmarksEntryLocalService = bookmarksEntryLocalService;
47      }
48  
49      public com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(
50          com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
51          throws com.liferay.portal.SystemException {
52          return _bookmarksEntryLocalService.addBookmarksEntry(bookmarksEntry);
53      }
54  
55      public com.liferay.portlet.bookmarks.model.BookmarksEntry createBookmarksEntry(
56          long entryId) {
57          return _bookmarksEntryLocalService.createBookmarksEntry(entryId);
58      }
59  
60      public void deleteBookmarksEntry(long entryId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _bookmarksEntryLocalService.deleteBookmarksEntry(entryId);
64      }
65  
66      public void deleteBookmarksEntry(
67          com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
68          throws com.liferay.portal.SystemException {
69          _bookmarksEntryLocalService.deleteBookmarksEntry(bookmarksEntry);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntry(
85          long entryId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _bookmarksEntryLocalService.getBookmarksEntry(entryId);
89      }
90  
91      public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getBookmarksEntries(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _bookmarksEntryLocalService.getBookmarksEntries(start, end);
94      }
95  
96      public int getBookmarksEntriesCount()
97          throws com.liferay.portal.SystemException {
98          return _bookmarksEntryLocalService.getBookmarksEntriesCount();
99      }
100 
101     public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
102         com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
103         throws com.liferay.portal.SystemException {
104         return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry);
105     }
106 
107     public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
108         com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
109         boolean merge) throws com.liferay.portal.SystemException {
110         return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry,
111             merge);
112     }
113 
114     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
115         long userId, long folderId, java.lang.String name,
116         java.lang.String url, java.lang.String comments,
117         com.liferay.portal.service.ServiceContext serviceContext)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException {
120         return _bookmarksEntryLocalService.addEntry(userId, folderId, name,
121             url, comments, serviceContext);
122     }
123 
124     public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
125         java.lang.String uuid, long userId, long folderId,
126         java.lang.String name, java.lang.String url, java.lang.String comments,
127         com.liferay.portal.service.ServiceContext serviceContext)
128         throws com.liferay.portal.PortalException,
129             com.liferay.portal.SystemException {
130         return _bookmarksEntryLocalService.addEntry(uuid, userId, folderId,
131             name, url, comments, serviceContext);
132     }
133 
134     public void addEntryResources(
135         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
136         boolean addCommunityPermissions, boolean addGuestPermissions)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         _bookmarksEntryLocalService.addEntryResources(entry,
140             addCommunityPermissions, addGuestPermissions);
141     }
142 
143     public void addEntryResources(
144         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
145         java.lang.String[] communityPermissions,
146         java.lang.String[] guestPermissions)
147         throws com.liferay.portal.PortalException,
148             com.liferay.portal.SystemException {
149         _bookmarksEntryLocalService.addEntryResources(entry,
150             communityPermissions, guestPermissions);
151     }
152 
153     public void addEntryResources(long entryId,
154         boolean addCommunityPermissions, boolean addGuestPermissions)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         _bookmarksEntryLocalService.addEntryResources(entryId,
158             addCommunityPermissions, addGuestPermissions);
159     }
160 
161     public void addEntryResources(long entryId,
162         java.lang.String[] communityPermissions,
163         java.lang.String[] guestPermissions)
164         throws com.liferay.portal.PortalException,
165             com.liferay.portal.SystemException {
166         _bookmarksEntryLocalService.addEntryResources(entryId,
167             communityPermissions, guestPermissions);
168     }
169 
170     public void deleteEntries(long folderId)
171         throws com.liferay.portal.PortalException,
172             com.liferay.portal.SystemException {
173         _bookmarksEntryLocalService.deleteEntries(folderId);
174     }
175 
176     public void deleteEntry(
177         com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _bookmarksEntryLocalService.deleteEntry(entry);
181     }
182 
183     public void deleteEntry(long entryId)
184         throws com.liferay.portal.PortalException,
185             com.liferay.portal.SystemException {
186         _bookmarksEntryLocalService.deleteEntry(entryId);
187     }
188 
189     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
190         long folderId, int start, int end)
191         throws com.liferay.portal.SystemException {
192         return _bookmarksEntryLocalService.getEntries(folderId, start, end);
193     }
194 
195     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
196         long folderId, int start, int end,
197         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198         throws com.liferay.portal.SystemException {
199         return _bookmarksEntryLocalService.getEntries(folderId, start, end,
200             orderByComparator);
201     }
202 
203     public int getEntriesCount(long folderId)
204         throws com.liferay.portal.SystemException {
205         return _bookmarksEntryLocalService.getEntriesCount(folderId);
206     }
207 
208     public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
209         long entryId)
210         throws com.liferay.portal.PortalException,
211             com.liferay.portal.SystemException {
212         return _bookmarksEntryLocalService.getEntry(entryId);
213     }
214 
215     public int getFoldersEntriesCount(java.util.List<Long> folderIds)
216         throws com.liferay.portal.SystemException {
217         return _bookmarksEntryLocalService.getFoldersEntriesCount(folderIds);
218     }
219 
220     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
221         long groupId, int start, int end)
222         throws com.liferay.portal.SystemException {
223         return _bookmarksEntryLocalService.getGroupEntries(groupId, start, end);
224     }
225 
226     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
227         long groupId, long userId, int start, int end)
228         throws com.liferay.portal.SystemException {
229         return _bookmarksEntryLocalService.getGroupEntries(groupId, userId,
230             start, end);
231     }
232 
233     public int getGroupEntriesCount(long groupId)
234         throws com.liferay.portal.SystemException {
235         return _bookmarksEntryLocalService.getGroupEntriesCount(groupId);
236     }
237 
238     public int getGroupEntriesCount(long groupId, long userId)
239         throws com.liferay.portal.SystemException {
240         return _bookmarksEntryLocalService.getGroupEntriesCount(groupId, userId);
241     }
242 
243     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
244         throws com.liferay.portal.SystemException {
245         return _bookmarksEntryLocalService.getNoAssetEntries();
246     }
247 
248     public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
249         long entryId)
250         throws com.liferay.portal.PortalException,
251             com.liferay.portal.SystemException {
252         return _bookmarksEntryLocalService.openEntry(entryId);
253     }
254 
255     public void reIndex(
256         com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
257         throws com.liferay.portal.SystemException {
258         _bookmarksEntryLocalService.reIndex(entry);
259     }
260 
261     public void reIndex(long entryId) throws com.liferay.portal.SystemException {
262         _bookmarksEntryLocalService.reIndex(entryId);
263     }
264 
265     public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
266         long userId, long entryId, long folderId, java.lang.String name,
267         java.lang.String url, java.lang.String comments,
268         com.liferay.portal.service.ServiceContext serviceContext)
269         throws com.liferay.portal.PortalException,
270             com.liferay.portal.SystemException {
271         return _bookmarksEntryLocalService.updateEntry(userId, entryId,
272             folderId, name, url, comments, serviceContext);
273     }
274 
275     public void updateTagsAsset(long userId,
276         com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
277         java.lang.String[] tagsEntries)
278         throws com.liferay.portal.PortalException,
279             com.liferay.portal.SystemException {
280         _bookmarksEntryLocalService.updateTagsAsset(userId, entry, tagsEntries);
281     }
282 
283     public BookmarksEntryLocalService getWrappedBookmarksEntryLocalService() {
284         return _bookmarksEntryLocalService;
285     }
286 
287     private BookmarksEntryLocalService _bookmarksEntryLocalService;
288 }