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 BookmarksFolderLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       BookmarksFolderLocalService
024     * @generated
025     */
026    public class BookmarksFolderLocalServiceWrapper
027            implements BookmarksFolderLocalService {
028            public BookmarksFolderLocalServiceWrapper(
029                    BookmarksFolderLocalService bookmarksFolderLocalService) {
030                    _bookmarksFolderLocalService = bookmarksFolderLocalService;
031            }
032    
033            public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(
034                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _bookmarksFolderLocalService.addBookmarksFolder(bookmarksFolder);
037            }
038    
039            public com.liferay.portlet.bookmarks.model.BookmarksFolder createBookmarksFolder(
040                    long folderId) {
041                    return _bookmarksFolderLocalService.createBookmarksFolder(folderId);
042            }
043    
044            public void deleteBookmarksFolder(long folderId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _bookmarksFolderLocalService.deleteBookmarksFolder(folderId);
048            }
049    
050            public void deleteBookmarksFolder(
051                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _bookmarksFolderLocalService.deleteBookmarksFolder(bookmarksFolder);
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 _bookmarksFolderLocalService.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 _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
068                            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 _bookmarksFolderLocalService.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 _bookmarksFolderLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(
088                    long folderId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _bookmarksFolderLocalService.getBookmarksFolder(folderId);
092            }
093    
094            public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolderByUuidAndGroupId(
095                    java.lang.String uuid, long groupId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _bookmarksFolderLocalService.getBookmarksFolderByUuidAndGroupId(uuid,
099                            groupId);
100            }
101    
102            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(
103                    int start, int end)
104                    throws com.liferay.portal.kernel.exception.SystemException {
105                    return _bookmarksFolderLocalService.getBookmarksFolders(start, end);
106            }
107    
108            public int getBookmarksFoldersCount()
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _bookmarksFolderLocalService.getBookmarksFoldersCount();
111            }
112    
113            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
114                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder);
117            }
118    
119            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
120                    com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
121                    boolean merge)
122                    throws com.liferay.portal.kernel.exception.SystemException {
123                    return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder,
124                            merge);
125            }
126    
127            public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
128                    long userId, long parentFolderId, java.lang.String name,
129                    java.lang.String description,
130                    com.liferay.portal.service.ServiceContext serviceContext)
131                    throws com.liferay.portal.kernel.exception.PortalException,
132                            com.liferay.portal.kernel.exception.SystemException {
133                    return _bookmarksFolderLocalService.addFolder(userId, parentFolderId,
134                            name, description, serviceContext);
135            }
136    
137            public void addFolderResources(
138                    com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
139                    boolean addCommunityPermissions, boolean addGuestPermissions)
140                    throws com.liferay.portal.kernel.exception.PortalException,
141                            com.liferay.portal.kernel.exception.SystemException {
142                    _bookmarksFolderLocalService.addFolderResources(folder,
143                            addCommunityPermissions, addGuestPermissions);
144            }
145    
146            public void addFolderResources(
147                    com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
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                    _bookmarksFolderLocalService.addFolderResources(folder,
153                            communityPermissions, guestPermissions);
154            }
155    
156            public void addFolderResources(long folderId,
157                    boolean addCommunityPermissions, boolean addGuestPermissions)
158                    throws com.liferay.portal.kernel.exception.PortalException,
159                            com.liferay.portal.kernel.exception.SystemException {
160                    _bookmarksFolderLocalService.addFolderResources(folderId,
161                            addCommunityPermissions, addGuestPermissions);
162            }
163    
164            public void addFolderResources(long folderId,
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                    _bookmarksFolderLocalService.addFolderResources(folderId,
170                            communityPermissions, guestPermissions);
171            }
172    
173            public void deleteFolder(
174                    com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
175                    throws com.liferay.portal.kernel.exception.PortalException,
176                            com.liferay.portal.kernel.exception.SystemException {
177                    _bookmarksFolderLocalService.deleteFolder(folder);
178            }
179    
180            public void deleteFolder(long folderId)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    _bookmarksFolderLocalService.deleteFolder(folderId);
184            }
185    
186            public void deleteFolders(long groupId)
187                    throws com.liferay.portal.kernel.exception.PortalException,
188                            com.liferay.portal.kernel.exception.SystemException {
189                    _bookmarksFolderLocalService.deleteFolders(groupId);
190            }
191    
192            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getCompanyFolders(
193                    long companyId, int start, int end)
194                    throws com.liferay.portal.kernel.exception.SystemException {
195                    return _bookmarksFolderLocalService.getCompanyFolders(companyId, start,
196                            end);
197            }
198    
199            public int getCompanyFoldersCount(long companyId)
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    return _bookmarksFolderLocalService.getCompanyFoldersCount(companyId);
202            }
203    
204            public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
205                    long folderId)
206                    throws com.liferay.portal.kernel.exception.PortalException,
207                            com.liferay.portal.kernel.exception.SystemException {
208                    return _bookmarksFolderLocalService.getFolder(folderId);
209            }
210    
211            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
212                    long groupId)
213                    throws com.liferay.portal.kernel.exception.SystemException {
214                    return _bookmarksFolderLocalService.getFolders(groupId);
215            }
216    
217            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
218                    long groupId, long parentFolderId)
219                    throws com.liferay.portal.kernel.exception.SystemException {
220                    return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId);
221            }
222    
223            public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
224                    long groupId, long parentFolderId, int start, int end)
225                    throws com.liferay.portal.kernel.exception.SystemException {
226                    return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
227                            start, end);
228            }
229    
230            public int getFoldersCount(long groupId, long parentFolderId)
231                    throws com.liferay.portal.kernel.exception.SystemException {
232                    return _bookmarksFolderLocalService.getFoldersCount(groupId,
233                            parentFolderId);
234            }
235    
236            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
237                    long groupId, long folderId)
238                    throws com.liferay.portal.kernel.exception.SystemException {
239                    _bookmarksFolderLocalService.getSubfolderIds(folderIds, groupId,
240                            folderId);
241            }
242    
243            public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
244                    long folderId, long parentFolderId, java.lang.String name,
245                    java.lang.String description, boolean mergeWithParentFolder,
246                    com.liferay.portal.service.ServiceContext serviceContext)
247                    throws com.liferay.portal.kernel.exception.PortalException,
248                            com.liferay.portal.kernel.exception.SystemException {
249                    return _bookmarksFolderLocalService.updateFolder(folderId,
250                            parentFolderId, name, description, mergeWithParentFolder,
251                            serviceContext);
252            }
253    
254            public BookmarksFolderLocalService getWrappedBookmarksFolderLocalService() {
255                    return _bookmarksFolderLocalService;
256            }
257    
258            private BookmarksFolderLocalService _bookmarksFolderLocalService;
259    }