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