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 java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _bookmarksFolderLocalService.dynamicQuery(dynamicQuery, start,
83              end, orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _bookmarksFolderLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.bookmarks.model.BookmarksFolder getBookmarksFolder(
93          long folderId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _bookmarksFolderLocalService.getBookmarksFolder(folderId);
97      }
98  
99      public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getBookmarksFolders(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _bookmarksFolderLocalService.getBookmarksFolders(start, end);
102     }
103 
104     public int getBookmarksFoldersCount()
105         throws com.liferay.portal.SystemException {
106         return _bookmarksFolderLocalService.getBookmarksFoldersCount();
107     }
108 
109     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
110         com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
111         throws com.liferay.portal.SystemException {
112         return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder);
113     }
114 
115     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateBookmarksFolder(
116         com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
117         boolean merge) throws com.liferay.portal.SystemException {
118         return _bookmarksFolderLocalService.updateBookmarksFolder(bookmarksFolder,
119             merge);
120     }
121 
122     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
123         long userId, long parentFolderId, java.lang.String name,
124         java.lang.String description,
125         com.liferay.portal.service.ServiceContext serviceContext)
126         throws com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException {
128         return _bookmarksFolderLocalService.addFolder(userId, parentFolderId,
129             name, description, serviceContext);
130     }
131 
132     public com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(
133         java.lang.String uuid, long userId, long parentFolderId,
134         java.lang.String name, 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(uuid, userId,
139             parentFolderId, name, description, serviceContext);
140     }
141 
142     public void addFolderResources(
143         com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
144         boolean addCommunityPermissions, boolean addGuestPermissions)
145         throws com.liferay.portal.PortalException,
146             com.liferay.portal.SystemException {
147         _bookmarksFolderLocalService.addFolderResources(folder,
148             addCommunityPermissions, addGuestPermissions);
149     }
150 
151     public void addFolderResources(
152         com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
153         java.lang.String[] communityPermissions,
154         java.lang.String[] guestPermissions)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         _bookmarksFolderLocalService.addFolderResources(folder,
158             communityPermissions, guestPermissions);
159     }
160 
161     public void addFolderResources(long folderId,
162         boolean addCommunityPermissions, boolean addGuestPermissions)
163         throws com.liferay.portal.PortalException,
164             com.liferay.portal.SystemException {
165         _bookmarksFolderLocalService.addFolderResources(folderId,
166             addCommunityPermissions, addGuestPermissions);
167     }
168 
169     public void addFolderResources(long folderId,
170         java.lang.String[] communityPermissions,
171         java.lang.String[] guestPermissions)
172         throws com.liferay.portal.PortalException,
173             com.liferay.portal.SystemException {
174         _bookmarksFolderLocalService.addFolderResources(folderId,
175             communityPermissions, guestPermissions);
176     }
177 
178     public void deleteFolder(
179         com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
180         throws com.liferay.portal.PortalException,
181             com.liferay.portal.SystemException {
182         _bookmarksFolderLocalService.deleteFolder(folder);
183     }
184 
185     public void deleteFolder(long folderId)
186         throws com.liferay.portal.PortalException,
187             com.liferay.portal.SystemException {
188         _bookmarksFolderLocalService.deleteFolder(folderId);
189     }
190 
191     public void deleteFolders(long groupId)
192         throws com.liferay.portal.PortalException,
193             com.liferay.portal.SystemException {
194         _bookmarksFolderLocalService.deleteFolders(groupId);
195     }
196 
197     public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(
198         long folderId)
199         throws com.liferay.portal.PortalException,
200             com.liferay.portal.SystemException {
201         return _bookmarksFolderLocalService.getFolder(folderId);
202     }
203 
204     public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(
205         long groupId, long parentFolderId, int start, int end)
206         throws com.liferay.portal.SystemException {
207         return _bookmarksFolderLocalService.getFolders(groupId, parentFolderId,
208             start, end);
209     }
210 
211     public int getFoldersCount(long groupId, long parentFolderId)
212         throws com.liferay.portal.SystemException {
213         return _bookmarksFolderLocalService.getFoldersCount(groupId,
214             parentFolderId);
215     }
216 
217     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
218         long folderId) throws com.liferay.portal.SystemException {
219         _bookmarksFolderLocalService.getSubfolderIds(folderIds, groupId,
220             folderId);
221     }
222 
223     public void reIndex(java.lang.String[] ids)
224         throws com.liferay.portal.SystemException {
225         _bookmarksFolderLocalService.reIndex(ids);
226     }
227 
228     public com.liferay.portal.kernel.search.Hits search(long companyId,
229         long groupId, long userId, long[] folderIds, java.lang.String keywords,
230         int start, int end) throws com.liferay.portal.SystemException {
231         return _bookmarksFolderLocalService.search(companyId, groupId, userId,
232             folderIds, keywords, start, end);
233     }
234 
235     public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(
236         long folderId, long parentFolderId, java.lang.String name,
237         java.lang.String description, boolean mergeWithParentFolder,
238         com.liferay.portal.service.ServiceContext serviceContext)
239         throws com.liferay.portal.PortalException,
240             com.liferay.portal.SystemException {
241         return _bookmarksFolderLocalService.updateFolder(folderId,
242             parentFolderId, name, description, mergeWithParentFolder,
243             serviceContext);
244     }
245 
246     public BookmarksFolderLocalService getWrappedBookmarksFolderLocalService() {
247         return _bookmarksFolderLocalService;
248     }
249 
250     private BookmarksFolderLocalService _bookmarksFolderLocalService;
251 }