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