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