001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.bookmarks.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link BookmarksEntryLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BookmarksEntryLocalService
024     * @generated
025     */
026    public class BookmarksEntryLocalServiceWrapper
027            implements BookmarksEntryLocalService {
028            public BookmarksEntryLocalServiceWrapper(
029                    BookmarksEntryLocalService bookmarksEntryLocalService) {
030                    _bookmarksEntryLocalService = bookmarksEntryLocalService;
031            }
032    
033            public com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(
034                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _bookmarksEntryLocalService.addBookmarksEntry(bookmarksEntry);
037            }
038    
039            public com.liferay.portlet.bookmarks.model.BookmarksEntry createBookmarksEntry(
040                    long entryId) {
041                    return _bookmarksEntryLocalService.createBookmarksEntry(entryId);
042            }
043    
044            public void deleteBookmarksEntry(long entryId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _bookmarksEntryLocalService.deleteBookmarksEntry(entryId);
048            }
049    
050            public void deleteBookmarksEntry(
051                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _bookmarksEntryLocalService.deleteBookmarksEntry(bookmarksEntry);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _bookmarksEntryLocalService.dynamicQuery(dynamicQuery, start,
077                            end, orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _bookmarksEntryLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntry(
087                    long entryId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _bookmarksEntryLocalService.getBookmarksEntry(entryId);
091            }
092    
093            public com.liferay.portlet.bookmarks.model.BookmarksEntry getBookmarksEntryByUuidAndGroupId(
094                    java.lang.String uuid, long groupId)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _bookmarksEntryLocalService.getBookmarksEntryByUuidAndGroupId(uuid,
098                            groupId);
099            }
100    
101            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getBookmarksEntries(
102                    int start, int end)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _bookmarksEntryLocalService.getBookmarksEntries(start, end);
105            }
106    
107            public int getBookmarksEntriesCount()
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _bookmarksEntryLocalService.getBookmarksEntriesCount();
110            }
111    
112            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
113                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry);
116            }
117    
118            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
119                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
120                    boolean merge)
121                    throws com.liferay.portal.kernel.exception.SystemException {
122                    return _bookmarksEntryLocalService.updateBookmarksEntry(bookmarksEntry,
123                            merge);
124            }
125    
126            public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
127                    long userId, long groupId, long folderId, java.lang.String name,
128                    java.lang.String url, java.lang.String comments,
129                    com.liferay.portal.service.ServiceContext serviceContext)
130                    throws com.liferay.portal.kernel.exception.PortalException,
131                            com.liferay.portal.kernel.exception.SystemException {
132                    return _bookmarksEntryLocalService.addEntry(userId, groupId, folderId,
133                            name, url, comments, serviceContext);
134            }
135    
136            public void addEntryResources(
137                    com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
138                    boolean addCommunityPermissions, boolean addGuestPermissions)
139                    throws com.liferay.portal.kernel.exception.PortalException,
140                            com.liferay.portal.kernel.exception.SystemException {
141                    _bookmarksEntryLocalService.addEntryResources(entry,
142                            addCommunityPermissions, addGuestPermissions);
143            }
144    
145            public void addEntryResources(
146                    com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
147                    java.lang.String[] communityPermissions,
148                    java.lang.String[] guestPermissions)
149                    throws com.liferay.portal.kernel.exception.PortalException,
150                            com.liferay.portal.kernel.exception.SystemException {
151                    _bookmarksEntryLocalService.addEntryResources(entry,
152                            communityPermissions, guestPermissions);
153            }
154    
155            public void addEntryResources(long entryId,
156                    boolean addCommunityPermissions, boolean addGuestPermissions)
157                    throws com.liferay.portal.kernel.exception.PortalException,
158                            com.liferay.portal.kernel.exception.SystemException {
159                    _bookmarksEntryLocalService.addEntryResources(entryId,
160                            addCommunityPermissions, addGuestPermissions);
161            }
162    
163            public void addEntryResources(long entryId,
164                    java.lang.String[] communityPermissions,
165                    java.lang.String[] guestPermissions)
166                    throws com.liferay.portal.kernel.exception.PortalException,
167                            com.liferay.portal.kernel.exception.SystemException {
168                    _bookmarksEntryLocalService.addEntryResources(entryId,
169                            communityPermissions, guestPermissions);
170            }
171    
172            public void deleteEntries(long groupId, long folderId)
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException {
175                    _bookmarksEntryLocalService.deleteEntries(groupId, folderId);
176            }
177    
178            public void deleteEntry(
179                    com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    _bookmarksEntryLocalService.deleteEntry(entry);
183            }
184    
185            public void deleteEntry(long entryId)
186                    throws com.liferay.portal.kernel.exception.PortalException,
187                            com.liferay.portal.kernel.exception.SystemException {
188                    _bookmarksEntryLocalService.deleteEntry(entryId);
189            }
190    
191            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
192                    long groupId, long folderId, int start, int end)
193                    throws com.liferay.portal.kernel.exception.SystemException {
194                    return _bookmarksEntryLocalService.getEntries(groupId, folderId, start,
195                            end);
196            }
197    
198            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(
199                    long groupId, long folderId, int start, int end,
200                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
201                    throws com.liferay.portal.kernel.exception.SystemException {
202                    return _bookmarksEntryLocalService.getEntries(groupId, folderId, start,
203                            end, orderByComparator);
204            }
205    
206            public int getEntriesCount(long groupId, long folderId)
207                    throws com.liferay.portal.kernel.exception.SystemException {
208                    return _bookmarksEntryLocalService.getEntriesCount(groupId, folderId);
209            }
210    
211            public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
212                    long entryId)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    return _bookmarksEntryLocalService.getEntry(entryId);
216            }
217    
218            public int getFoldersEntriesCount(long groupId,
219                    java.util.List<java.lang.Long> folderIds)
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return _bookmarksEntryLocalService.getFoldersEntriesCount(groupId,
222                            folderIds);
223            }
224    
225            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
226                    long groupId, int start, int end)
227                    throws com.liferay.portal.kernel.exception.SystemException {
228                    return _bookmarksEntryLocalService.getGroupEntries(groupId, start, end);
229            }
230    
231            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(
232                    long groupId, long userId, int start, int end)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return _bookmarksEntryLocalService.getGroupEntries(groupId, userId,
235                            start, end);
236            }
237    
238            public int getGroupEntriesCount(long groupId)
239                    throws com.liferay.portal.kernel.exception.SystemException {
240                    return _bookmarksEntryLocalService.getGroupEntriesCount(groupId);
241            }
242    
243            public int getGroupEntriesCount(long groupId, long userId)
244                    throws com.liferay.portal.kernel.exception.SystemException {
245                    return _bookmarksEntryLocalService.getGroupEntriesCount(groupId, userId);
246            }
247    
248            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
249                    throws com.liferay.portal.kernel.exception.SystemException {
250                    return _bookmarksEntryLocalService.getNoAssetEntries();
251            }
252    
253            public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
254                    long userId, long entryId)
255                    throws com.liferay.portal.kernel.exception.PortalException,
256                            com.liferay.portal.kernel.exception.SystemException {
257                    return _bookmarksEntryLocalService.openEntry(userId, entryId);
258            }
259    
260            public void updateAsset(long userId,
261                    com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
262                    long[] assetCategoryIds, java.lang.String[] assetTagNames)
263                    throws com.liferay.portal.kernel.exception.PortalException,
264                            com.liferay.portal.kernel.exception.SystemException {
265                    _bookmarksEntryLocalService.updateAsset(userId, entry,
266                            assetCategoryIds, assetTagNames);
267            }
268    
269            public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
270                    long userId, long entryId, long groupId, long folderId,
271                    java.lang.String name, java.lang.String url, java.lang.String comments,
272                    com.liferay.portal.service.ServiceContext serviceContext)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _bookmarksEntryLocalService.updateEntry(userId, entryId,
276                            groupId, folderId, name, url, comments, serviceContext);
277            }
278    
279            public BookmarksEntryLocalService getWrappedBookmarksEntryLocalService() {
280                    return _bookmarksEntryLocalService;
281            }
282    
283            private BookmarksEntryLocalService _bookmarksEntryLocalService;
284    }