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