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