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