1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.bookmarks.service;
24  
25  
26  /**
27   * <a href="BookmarksFolderLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link BookmarksFolderLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       BookmarksFolderLocalService
40   * @generated
41   */
42  public class BookmarksFolderLocalServiceWrapper
43      implements BookmarksFolderLocalService {
44      public BookmarksFolderLocalServiceWrapper(
45          BookmarksFolderLocalService bookmarksFolderLocalService) {
46          _bookmarksFolderLocalService = bookmarksFolderLocalService;
47      }
48  
49      public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(
50          com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
51          throws com.liferay.portal.SystemException {
52          return _bookmarksFolderLocalService.addBookmarksFolder(bookmarksFolder);
53      }
54  
55      public com.liferay.portlet.bookmarks.model.BookmarksFolder createBookmarksFolder(
56          long folderId) {
57          return _bookmarksFolderLocalService.createBookmarksFolder(folderId);
58      }
59  
60      public void deleteBookmarksFolder(long folderId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _bookmarksFolderLocalService.deleteBookmarksFolder(folderId);
64      }
65  
66      public void deleteBookmarksFolder(
67          com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
68          throws com.liferay.portal.SystemException {
69          _bookmarksFolderLocalService.deleteBookmarksFolder(bookmarksFolder);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
82              end);
83      }
84  
85      public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(
86          long folderId)
87          throws com.liferay.portal.PortalException,
88              com.liferay.portal.SystemException {
89          return _bookmarksFolderLocalService.getBookmarksFolder(folderId);
90      }
91  
92      public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(
93          int start, int end) throws com.liferay.portal.SystemException {
94          return _bookmarksFolderLocalService.getBookmarksFolders(start, end);
95      }
96  
97      public int getBookmarksFoldersCount()
98          throws com.liferay.portal.SystemException {
99          return _bookmarksFolderLocalService.getBookmarksFoldersCount();
100     }
101 
102     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
103         com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
104         throws com.liferay.portal.SystemException {
105         return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder);
106     }
107 
108     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
109         com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
110         boolean merge) throws com.liferay.portal.SystemException {
111         return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder,
112             merge);
113     }
114 
115     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
116         long userId, long parentFolderId, java.lang.String name,
117         java.lang.String description,
118         com.liferay.portal.service.ServiceContext serviceContext)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         return _bookmarksFolderLocalService.addFolder(userId, parentFolderId,
122             name, description, serviceContext);
123     }
124 
125     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
126         java.lang.String uuid, long userId, long parentFolderId,
127         java.lang.String name, java.lang.String description,
128         com.liferay.portal.service.ServiceContext serviceContext)
129         throws com.liferay.portal.PortalException,
130             com.liferay.portal.SystemException {
131         return _bookmarksFolderLocalService.addFolder(uuid, userId,
132             parentFolderId, name, description, serviceContext);
133     }
134 
135     public void addFolderResources(
136         com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
137         boolean addCommunityPermissions, boolean addGuestPermissions)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         _bookmarksFolderLocalService.addFolderResources(folder,
141             addCommunityPermissions, addGuestPermissions);
142     }
143 
144     public void addFolderResources(
145         com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
146         java.lang.String[] communityPermissions,
147         java.lang.String[] guestPermissions)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException {
150         _bookmarksFolderLocalService.addFolderResources(folder,
151             communityPermissions, guestPermissions);
152     }
153 
154     public void addFolderResources(long folderId,
155         boolean addCommunityPermissions, boolean addGuestPermissions)
156         throws com.liferay.portal.PortalException,
157             com.liferay.portal.SystemException {
158         _bookmarksFolderLocalService.addFolderResources(folderId,
159             addCommunityPermissions, addGuestPermissions);
160     }
161 
162     public void addFolderResources(long folderId,
163         java.lang.String[] communityPermissions,
164         java.lang.String[] guestPermissions)
165         throws com.liferay.portal.PortalException,
166             com.liferay.portal.SystemException {
167         _bookmarksFolderLocalService.addFolderResources(folderId,
168             communityPermissions, guestPermissions);
169     }
170 
171     public void deleteFolder(
172         com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
173         throws com.liferay.portal.PortalException,
174             com.liferay.portal.SystemException {
175         _bookmarksFolderLocalService.deleteFolder(folder);
176     }
177 
178     public void deleteFolder(long folderId)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         _bookmarksFolderLocalService.deleteFolder(folderId);
182     }
183 
184     public void deleteFolders(long groupId)
185         throws com.liferay.portal.PortalException,
186             com.liferay.portal.SystemException {
187         _bookmarksFolderLocalService.deleteFolders(groupId);
188     }
189 
190     public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
191         long folderId)
192         throws com.liferay.portal.PortalException,
193             com.liferay.portal.SystemException {
194         return _bookmarksFolderLocalService.getFolder(folderId);
195     }
196 
197     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
198         long groupId, long parentFolderId, int start, int end)
199         throws com.liferay.portal.SystemException {
200         return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
201             start, end);
202     }
203 
204     public int getFoldersCount(long groupId, long parentFolderId)
205         throws com.liferay.portal.SystemException {
206         return _bookmarksFolderLocalService.getFoldersCount(groupId,
207             parentFolderId);
208     }
209 
210     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
211         long folderId) throws com.liferay.portal.SystemException {
212         _bookmarksFolderLocalService.getSubfolderIds(folderIds, groupId,
213             folderId);
214     }
215 
216     public void reIndex(java.lang.String[] ids)
217         throws com.liferay.portal.SystemException {
218         _bookmarksFolderLocalService.reIndex(ids);
219     }
220 
221     public com.liferay.portal.kernel.search.Hits search(long companyId,
222         long groupId, long userId, long[] folderIds, java.lang.String keywords,
223         int start, int end) throws com.liferay.portal.SystemException {
224         return _bookmarksFolderLocalService.search(companyId, groupId, userId,
225             folderIds, keywords, start, end);
226     }
227 
228     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
229         long folderId, long parentFolderId, java.lang.String name,
230         java.lang.String description, boolean mergeWithParentFolder,
231         com.liferay.portal.service.ServiceContext serviceContext)
232         throws com.liferay.portal.PortalException,
233             com.liferay.portal.SystemException {
234         return _bookmarksFolderLocalService.updateFolder(folderId,
235             parentFolderId, name, description, mergeWithParentFolder,
236             serviceContext);
237     }
238 
239     public BookmarksFolderLocalService getWrappedBookmarksFolderLocalService() {
240         return _bookmarksFolderLocalService;
241     }
242 
243     private BookmarksFolderLocalService _bookmarksFolderLocalService;
244 }