1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.bookmarks.service;
16  
17  
18  /**
19   * <a href="BookmarksFolderLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link BookmarksFolderLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       BookmarksFolderLocalService
32   * @generated
33   */
34  public class BookmarksFolderLocalServiceWrapper
35      implements BookmarksFolderLocalService {
36      public BookmarksFolderLocalServiceWrapper(
37          BookmarksFolderLocalService bookmarksFolderLocalService) {
38          _bookmarksFolderLocalService = bookmarksFolderLocalService;
39      }
40  
41      public com.liferay.portlet.bookmarks.model.BookmarksFolder addBookmarksFolder(
42          com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
43          throws com.liferay.portal.SystemException {
44          return _bookmarksFolderLocalService.addBookmarksFolder(bookmarksFolder);
45      }
46  
47      public com.liferay.portlet.bookmarks.model.BookmarksFolder createBookmarksFolder(
48          long folderId) {
49          return _bookmarksFolderLocalService.createBookmarksFolder(folderId);
50      }
51  
52      public void deleteBookmarksFolder(long folderId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _bookmarksFolderLocalService.deleteBookmarksFolder(folderId);
56      }
57  
58      public void deleteBookmarksFolder(
59          com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
60          throws com.liferay.portal.SystemException {
61          _bookmarksFolderLocalService.deleteBookmarksFolder(bookmarksFolder);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(
78          long folderId)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _bookmarksFolderLocalService.getBookmarksFolder(folderId);
82      }
83  
84      public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(
85          int start, int end) throws com.liferay.portal.SystemException {
86          return _bookmarksFolderLocalService.getBookmarksFolders(start, end);
87      }
88  
89      public int getBookmarksFoldersCount()
90          throws com.liferay.portal.SystemException {
91          return _bookmarksFolderLocalService.getBookmarksFoldersCount();
92      }
93  
94      public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
95          com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
96          throws com.liferay.portal.SystemException {
97          return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder);
98      }
99  
100     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
101         com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
102         boolean merge) throws com.liferay.portal.SystemException {
103         return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder,
104             merge);
105     }
106 
107     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
108         long userId, long plid, long parentFolderId, java.lang.String name,
109         java.lang.String description, boolean addCommunityPermissions,
110         boolean addGuestPermissions)
111         throws com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException {
113         return _bookmarksFolderLocalService.addFolder(userId, plid,
114             parentFolderId, name, description, addCommunityPermissions,
115             addGuestPermissions);
116     }
117 
118     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
119         long userId, long plid, long parentFolderId, java.lang.String name,
120         java.lang.String description, java.lang.String[] communityPermissions,
121         java.lang.String[] guestPermissions)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _bookmarksFolderLocalService.addFolder(userId, plid,
125             parentFolderId, name, description, communityPermissions,
126             guestPermissions);
127     }
128 
129     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
130         java.lang.String uuid, long userId, long plid, long parentFolderId,
131         java.lang.String name, java.lang.String description,
132         boolean addCommunityPermissions, boolean addGuestPermissions)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _bookmarksFolderLocalService.addFolder(uuid, userId, plid,
136             parentFolderId, name, description, addCommunityPermissions,
137             addGuestPermissions);
138     }
139 
140     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
141         java.lang.String uuid, long userId, long plid, long parentFolderId,
142         java.lang.String name, java.lang.String description,
143         java.lang.Boolean addCommunityPermissions,
144         java.lang.Boolean addGuestPermissions,
145         java.lang.String[] communityPermissions,
146         java.lang.String[] guestPermissions)
147         throws com.liferay.portal.PortalException,
148             com.liferay.portal.SystemException {
149         return _bookmarksFolderLocalService.addFolder(uuid, userId, plid,
150             parentFolderId, name, description, addCommunityPermissions,
151             addGuestPermissions, communityPermissions, guestPermissions);
152     }
153 
154     public void addFolderResources(
155         com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
156         boolean addCommunityPermissions, boolean addGuestPermissions)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         _bookmarksFolderLocalService.addFolderResources(folder,
160             addCommunityPermissions, addGuestPermissions);
161     }
162 
163     public void addFolderResources(
164         com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
165         java.lang.String[] communityPermissions,
166         java.lang.String[] guestPermissions)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException {
169         _bookmarksFolderLocalService.addFolderResources(folder,
170             communityPermissions, guestPermissions);
171     }
172 
173     public void addFolderResources(long folderId,
174         boolean addCommunityPermissions, boolean addGuestPermissions)
175         throws com.liferay.portal.PortalException,
176             com.liferay.portal.SystemException {
177         _bookmarksFolderLocalService.addFolderResources(folderId,
178             addCommunityPermissions, addGuestPermissions);
179     }
180 
181     public void addFolderResources(long folderId,
182         java.lang.String[] communityPermissions,
183         java.lang.String[] guestPermissions)
184         throws com.liferay.portal.PortalException,
185             com.liferay.portal.SystemException {
186         _bookmarksFolderLocalService.addFolderResources(folderId,
187             communityPermissions, guestPermissions);
188     }
189 
190     public void deleteFolder(
191         com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
192         throws com.liferay.portal.PortalException,
193             com.liferay.portal.SystemException {
194         _bookmarksFolderLocalService.deleteFolder(folder);
195     }
196 
197     public void deleteFolder(long folderId)
198         throws com.liferay.portal.PortalException,
199             com.liferay.portal.SystemException {
200         _bookmarksFolderLocalService.deleteFolder(folderId);
201     }
202 
203     public void deleteFolders(long groupId)
204         throws com.liferay.portal.PortalException,
205             com.liferay.portal.SystemException {
206         _bookmarksFolderLocalService.deleteFolders(groupId);
207     }
208 
209     public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
210         long folderId)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException {
213         return _bookmarksFolderLocalService.getFolder(folderId);
214     }
215 
216     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
217         long groupId, long parentFolderId, int start, int end)
218         throws com.liferay.portal.SystemException {
219         return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
220             start, end);
221     }
222 
223     public int getFoldersCount(long groupId, long parentFolderId)
224         throws com.liferay.portal.SystemException {
225         return _bookmarksFolderLocalService.getFoldersCount(groupId,
226             parentFolderId);
227     }
228 
229     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
230         long folderId) throws com.liferay.portal.SystemException {
231         _bookmarksFolderLocalService.getSubfolderIds(folderIds, groupId,
232             folderId);
233     }
234 
235     public void reIndex(java.lang.String[] ids)
236         throws com.liferay.portal.SystemException {
237         _bookmarksFolderLocalService.reIndex(ids);
238     }
239 
240     public com.liferay.portal.kernel.search.Hits search(long companyId,
241         long groupId, long[] folderIds, java.lang.String keywords, int start,
242         int end) throws com.liferay.portal.SystemException {
243         return _bookmarksFolderLocalService.search(companyId, groupId,
244             folderIds, keywords, start, end);
245     }
246 
247     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
248         long folderId, long parentFolderId, java.lang.String name,
249         java.lang.String description, boolean mergeWithParentFolder)
250         throws com.liferay.portal.PortalException,
251             com.liferay.portal.SystemException {
252         return _bookmarksFolderLocalService.updateFolder(folderId,
253             parentFolderId, name, description, mergeWithParentFolder);
254     }
255 
256     public BookmarksFolderLocalService getWrappedBookmarksFolderLocalService() {
257         return _bookmarksFolderLocalService;
258     }
259 
260     private BookmarksFolderLocalService _bookmarksFolderLocalService;
261 }