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