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