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