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