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