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.kernel.exception.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.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _dlFolderLocalService.deleteDLFolder(folderId);
55      }
56  
57      public void deleteDLFolder(
58          com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
59          throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.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.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.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)
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _dlFolderLocalService.getDLFolders(start, end);
101     }
102 
103     public int getDLFoldersCount()
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _dlFolderLocalService.getDLFoldersCount();
106     }
107 
108     public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
109         com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
110         throws com.liferay.portal.kernel.exception.SystemException {
111         return _dlFolderLocalService.updateDLFolder(dlFolder);
112     }
113 
114     public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
115         com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
116         boolean merge)
117         throws com.liferay.portal.kernel.exception.SystemException {
118         return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
119     }
120 
121     public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
122         java.lang.String uuid, long userId, long groupId, long parentFolderId,
123         java.lang.String name, java.lang.String description,
124         com.liferay.portal.service.ServiceContext serviceContext)
125         throws com.liferay.portal.kernel.exception.PortalException,
126             com.liferay.portal.kernel.exception.SystemException {
127         return _dlFolderLocalService.addFolder(uuid, userId, groupId,
128             parentFolderId, name, description, serviceContext);
129     }
130 
131     public void addFolderResources(
132         com.liferay.portlet.documentlibrary.model.DLFolder folder,
133         boolean addCommunityPermissions, boolean addGuestPermissions)
134         throws com.liferay.portal.kernel.exception.PortalException,
135             com.liferay.portal.kernel.exception.SystemException {
136         _dlFolderLocalService.addFolderResources(folder,
137             addCommunityPermissions, addGuestPermissions);
138     }
139 
140     public void addFolderResources(
141         com.liferay.portlet.documentlibrary.model.DLFolder folder,
142         java.lang.String[] communityPermissions,
143         java.lang.String[] guestPermissions)
144         throws com.liferay.portal.kernel.exception.PortalException,
145             com.liferay.portal.kernel.exception.SystemException {
146         _dlFolderLocalService.addFolderResources(folder, communityPermissions,
147             guestPermissions);
148     }
149 
150     public void addFolderResources(long folderId,
151         boolean addCommunityPermissions, boolean addGuestPermissions)
152         throws com.liferay.portal.kernel.exception.PortalException,
153             com.liferay.portal.kernel.exception.SystemException {
154         _dlFolderLocalService.addFolderResources(folderId,
155             addCommunityPermissions, addGuestPermissions);
156     }
157 
158     public void addFolderResources(long folderId,
159         java.lang.String[] communityPermissions,
160         java.lang.String[] guestPermissions)
161         throws com.liferay.portal.kernel.exception.PortalException,
162             com.liferay.portal.kernel.exception.SystemException {
163         _dlFolderLocalService.addFolderResources(folderId,
164             communityPermissions, guestPermissions);
165     }
166 
167     public void deleteFolder(
168         com.liferay.portlet.documentlibrary.model.DLFolder folder)
169         throws com.liferay.portal.kernel.exception.PortalException,
170             com.liferay.portal.kernel.exception.SystemException {
171         _dlFolderLocalService.deleteFolder(folder);
172     }
173 
174     public void deleteFolder(long folderId)
175         throws com.liferay.portal.kernel.exception.PortalException,
176             com.liferay.portal.kernel.exception.SystemException {
177         _dlFolderLocalService.deleteFolder(folderId);
178     }
179 
180     public void deleteFolders(long groupId)
181         throws com.liferay.portal.kernel.exception.PortalException,
182             com.liferay.portal.kernel.exception.SystemException {
183         _dlFolderLocalService.deleteFolders(groupId);
184     }
185 
186     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
187         long companyId, int start, int end)
188         throws com.liferay.portal.kernel.exception.SystemException {
189         return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
190     }
191 
192     public int getCompanyFoldersCount(long companyId)
193         throws com.liferay.portal.kernel.exception.SystemException {
194         return _dlFolderLocalService.getCompanyFoldersCount(companyId);
195     }
196 
197     public java.util.List<Object> getFileEntriesAndFileShortcuts(long groupId,
198         java.util.List<Long> folderIds, int status, int start, int end)
199         throws com.liferay.portal.kernel.exception.SystemException {
200         return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
201             folderIds, status, start, end);
202     }
203 
204     public java.util.List<Object> getFileEntriesAndFileShortcuts(long groupId,
205         long folderId, int status, int start, int end)
206         throws com.liferay.portal.kernel.exception.SystemException {
207         return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
208             folderId, status, start, end);
209     }
210 
211     public int getFileEntriesAndFileShortcutsCount(long groupId,
212         java.util.List<Long> folderIds, int status)
213         throws com.liferay.portal.kernel.exception.SystemException {
214         return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
215             folderIds, status);
216     }
217 
218     public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
219         int status) throws com.liferay.portal.kernel.exception.SystemException {
220         return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
221             folderId, status);
222     }
223 
224     public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
225         long folderId)
226         throws com.liferay.portal.kernel.exception.PortalException,
227             com.liferay.portal.kernel.exception.SystemException {
228         return _dlFolderLocalService.getFolder(folderId);
229     }
230 
231     public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
232         long groupId, long parentFolderId, java.lang.String name)
233         throws com.liferay.portal.kernel.exception.PortalException,
234             com.liferay.portal.kernel.exception.SystemException {
235         return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
236     }
237 
238     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
239         long companyId)
240         throws com.liferay.portal.kernel.exception.SystemException {
241         return _dlFolderLocalService.getFolders(companyId);
242     }
243 
244     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
245         long groupId, long parentFolderId)
246         throws com.liferay.portal.kernel.exception.SystemException {
247         return _dlFolderLocalService.getFolders(groupId, parentFolderId);
248     }
249 
250     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
251         long groupId, long parentFolderId, int start, int end)
252         throws com.liferay.portal.kernel.exception.SystemException {
253         return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
254             end);
255     }
256 
257     public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
258         long groupId, java.util.List<Long> folderIds, int status, int start,
259         int end) throws com.liferay.portal.kernel.exception.SystemException {
260         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
261             folderIds, status, start, end);
262     }
263 
264     public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
265         long groupId, long folderId, int status, int start, int end)
266         throws com.liferay.portal.kernel.exception.SystemException {
267         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
268             folderId, status, start, end);
269     }
270 
271     public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
272         java.util.List<Long> folderIds, int status)
273         throws com.liferay.portal.kernel.exception.SystemException {
274         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
275             folderIds, status);
276     }
277 
278     public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
279         long folderId, int status)
280         throws com.liferay.portal.kernel.exception.SystemException {
281         return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
282             folderId, status);
283     }
284 
285     public int getFoldersCount(long groupId, long parentFolderId)
286         throws com.liferay.portal.kernel.exception.SystemException {
287         return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
288     }
289 
290     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
291         long folderId)
292         throws com.liferay.portal.kernel.exception.SystemException {
293         _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
294     }
295 
296     public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
297         long folderId, long parentFolderId, java.lang.String name,
298         java.lang.String description,
299         com.liferay.portal.service.ServiceContext serviceContext)
300         throws com.liferay.portal.kernel.exception.PortalException,
301             com.liferay.portal.kernel.exception.SystemException {
302         return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
303             name, description, serviceContext);
304     }
305 
306     public DLFolderLocalService getWrappedDLFolderLocalService() {
307         return _dlFolderLocalService;
308     }
309 
310     private DLFolderLocalService _dlFolderLocalService;
311 }