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.documentlibrary.service;
16  
17  /**
18   * <a href="DLFolderLocalServiceUtil.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 DLFolderLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       DLFolderLocalService
31   * @generated
32   */
33  public class DLFolderLocalServiceWrapper implements DLFolderLocalService {
34      public DLFolderLocalServiceWrapper(
35          DLFolderLocalService dlFolderLocalService) {
36          _dlFolderLocalService = dlFolderLocalService;
37      }
38  
39      public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
40          com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
41          throws com.liferay.portal.SystemException {
42          return _dlFolderLocalService.addDLFolder(dlFolder);
43      }
44  
45      public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
46          long folderId) {
47          return _dlFolderLocalService.createDLFolder(folderId);
48      }
49  
50      public void deleteDLFolder(long folderId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _dlFolderLocalService.deleteDLFolder(folderId);
54      }
55  
56      public void deleteDLFolder(
57          com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
58          throws com.liferay.portal.SystemException {
59          _dlFolderLocalService.deleteDLFolder(dlFolder);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _dlFolderLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List 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 _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
93          long folderId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _dlFolderLocalService.getDLFolder(folderId);
97      }
98  
99      public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
100         java.lang.String uuid, long groupId)
101         throws com.liferay.portal.PortalException,
102             com.liferay.portal.SystemException {
103         return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
104     }
105 
106     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
107         int start, int end) throws com.liferay.portal.SystemException {
108         return _dlFolderLocalService.getDLFolders(start, end);
109     }
110 
111     public int getDLFoldersCount() throws com.liferay.portal.SystemException {
112         return _dlFolderLocalService.getDLFoldersCount();
113     }
114 
115     public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
116         com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
117         throws com.liferay.portal.SystemException {
118         return _dlFolderLocalService.updateDLFolder(dlFolder);
119     }
120 
121     public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
122         com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
123         boolean merge) throws com.liferay.portal.SystemException {
124         return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
125     }
126 
127     public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
128         long userId, long groupId, long parentFolderId, java.lang.String name,
129         java.lang.String description,
130         com.liferay.portal.service.ServiceContext serviceContext)
131         throws com.liferay.portal.PortalException,
132             com.liferay.portal.SystemException {
133         return _dlFolderLocalService.addFolder(userId, groupId, parentFolderId,
134             name, description, serviceContext);
135     }
136 
137     public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
138         java.lang.String uuid, long userId, long groupId, long parentFolderId,
139         java.lang.String name, java.lang.String description,
140         com.liferay.portal.service.ServiceContext serviceContext)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         return _dlFolderLocalService.addFolder(uuid, userId, groupId,
144             parentFolderId, name, description, serviceContext);
145     }
146 
147     public void addFolderResources(long folderId,
148         boolean addCommunityPermissions, boolean addGuestPermissions)
149         throws com.liferay.portal.PortalException,
150             com.liferay.portal.SystemException {
151         _dlFolderLocalService.addFolderResources(folderId,
152             addCommunityPermissions, addGuestPermissions);
153     }
154 
155     public void addFolderResources(
156         com.liferay.portlet.documentlibrary.model.DLFolder folder,
157         boolean addCommunityPermissions, boolean addGuestPermissions)
158         throws com.liferay.portal.PortalException,
159             com.liferay.portal.SystemException {
160         _dlFolderLocalService.addFolderResources(folder,
161             addCommunityPermissions, addGuestPermissions);
162     }
163 
164     public void addFolderResources(long folderId,
165         java.lang.String[] communityPermissions,
166         java.lang.String[] guestPermissions)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException {
169         _dlFolderLocalService.addFolderResources(folderId,
170             communityPermissions, guestPermissions);
171     }
172 
173     public void addFolderResources(
174         com.liferay.portlet.documentlibrary.model.DLFolder folder,
175         java.lang.String[] communityPermissions,
176         java.lang.String[] guestPermissions)
177         throws com.liferay.portal.PortalException,
178             com.liferay.portal.SystemException {
179         _dlFolderLocalService.addFolderResources(folder, communityPermissions,
180             guestPermissions);
181     }
182 
183     public void deleteFolder(long folderId)
184         throws com.liferay.portal.PortalException,
185             com.liferay.portal.SystemException {
186         _dlFolderLocalService.deleteFolder(folderId);
187     }
188 
189     public void deleteFolder(
190         com.liferay.portlet.documentlibrary.model.DLFolder folder)
191         throws com.liferay.portal.PortalException,
192             com.liferay.portal.SystemException {
193         _dlFolderLocalService.deleteFolder(folder);
194     }
195 
196     public void deleteFolders(long groupId)
197         throws com.liferay.portal.PortalException,
198             com.liferay.portal.SystemException {
199         _dlFolderLocalService.deleteFolders(groupId);
200     }
201 
202     public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
203         long folderId, int start, int end)
204         throws com.liferay.portal.SystemException {
205         return _dlFolderLocalService.getFileEntriesAndFileShortcuts(folderId,
206             start, end);
207     }
208 
209     public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
210         java.util.List<java.lang.Long> folderIds, int start, int end)
211         throws com.liferay.portal.SystemException {
212         return _dlFolderLocalService.getFileEntriesAndFileShortcuts(folderIds,
213             start, end);
214     }
215 
216     public int getFileEntriesAndFileShortcutsCount(long folderId)
217         throws com.liferay.portal.SystemException {
218         return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(folderId);
219     }
220 
221     public int getFileEntriesAndFileShortcutsCount(
222         java.util.List<java.lang.Long> folderIds)
223         throws com.liferay.portal.SystemException {
224         return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(folderIds);
225     }
226 
227     public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
228         long folderId)
229         throws com.liferay.portal.PortalException,
230             com.liferay.portal.SystemException {
231         return _dlFolderLocalService.getFolder(folderId);
232     }
233 
234     public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
235         long groupId, long parentFolderId, java.lang.String name)
236         throws com.liferay.portal.PortalException,
237             com.liferay.portal.SystemException {
238         return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
239     }
240 
241     public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
242         long folderId, int start, int end)
243         throws com.liferay.portal.SystemException {
244         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(folderId,
245             start, end);
246     }
247 
248     public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
249         java.util.List<java.lang.Long> folderIds, int start, int end)
250         throws com.liferay.portal.SystemException {
251         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(folderIds,
252             start, end);
253     }
254 
255     public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId)
256         throws com.liferay.portal.SystemException {
257         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(folderId);
258     }
259 
260     public int getFoldersAndFileEntriesAndFileShortcutsCount(
261         java.util.List<java.lang.Long> folderIds)
262         throws com.liferay.portal.SystemException {
263         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(folderIds);
264     }
265 
266     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
267         long companyId) throws com.liferay.portal.SystemException {
268         return _dlFolderLocalService.getFolders(companyId);
269     }
270 
271     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
272         long groupId, long parentFolderId)
273         throws com.liferay.portal.SystemException {
274         return _dlFolderLocalService.getFolders(groupId, parentFolderId);
275     }
276 
277     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
278         long groupId, long parentFolderId, int start, int end)
279         throws com.liferay.portal.SystemException {
280         return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
281             end);
282     }
283 
284     public int getFoldersCount(long groupId, long parentFolderId)
285         throws com.liferay.portal.SystemException {
286         return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
287     }
288 
289     public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
290         long groupId, long folderId) throws com.liferay.portal.SystemException {
291         _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
292     }
293 
294     public void reIndex(java.lang.String[] ids)
295         throws com.liferay.portal.SystemException {
296         _dlFolderLocalService.reIndex(ids);
297     }
298 
299     public com.liferay.portal.kernel.search.Hits search(long companyId,
300         long groupId, long userId, long[] folderIds, java.lang.String keywords,
301         int start, int end) throws com.liferay.portal.SystemException {
302         return _dlFolderLocalService.search(companyId, groupId, userId,
303             folderIds, keywords, start, end);
304     }
305 
306     public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
307         long folderId, long parentFolderId, java.lang.String name,
308         java.lang.String description,
309         com.liferay.portal.service.ServiceContext serviceContext)
310         throws com.liferay.portal.PortalException,
311             com.liferay.portal.SystemException {
312         return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
313             name, description, serviceContext);
314     }
315 
316     public DLFolderLocalService getWrappedDLFolderLocalService() {
317         return _dlFolderLocalService;
318     }
319 
320     private DLFolderLocalService _dlFolderLocalService;
321 }