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 com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
76          long folderId)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException {
79          return _dlFolderLocalService.getDLFolder(folderId);
80      }
81  
82      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
83          int start, int end) throws com.liferay.portal.SystemException {
84          return _dlFolderLocalService.getDLFolders(start, end);
85      }
86  
87      public int getDLFoldersCount() throws com.liferay.portal.SystemException {
88          return _dlFolderLocalService.getDLFoldersCount();
89      }
90  
91      public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
92          com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
93          throws com.liferay.portal.SystemException {
94          return _dlFolderLocalService.updateDLFolder(dlFolder);
95      }
96  
97      public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
98          com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
99          boolean merge) throws com.liferay.portal.SystemException {
100         return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
101     }
102 
103     public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
104         long userId, long plid, long parentFolderId, java.lang.String name,
105         java.lang.String description, boolean addCommunityPermissions,
106         boolean addGuestPermissions)
107         throws com.liferay.portal.PortalException,
108             com.liferay.portal.SystemException {
109         return _dlFolderLocalService.addFolder(userId, plid, parentFolderId,
110             name, description, addCommunityPermissions, addGuestPermissions);
111     }
112 
113     public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
114         java.lang.String uuid, long userId, long plid, long parentFolderId,
115         java.lang.String name, java.lang.String description,
116         boolean addCommunityPermissions, boolean addGuestPermissions)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         return _dlFolderLocalService.addFolder(uuid, userId, plid,
120             parentFolderId, name, description, addCommunityPermissions,
121             addGuestPermissions);
122     }
123 
124     public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
125         long userId, long plid, long parentFolderId, java.lang.String name,
126         java.lang.String description, java.lang.String[] communityPermissions,
127         java.lang.String[] guestPermissions)
128         throws com.liferay.portal.PortalException,
129             com.liferay.portal.SystemException {
130         return _dlFolderLocalService.addFolder(userId, plid, parentFolderId,
131             name, description, communityPermissions, guestPermissions);
132     }
133 
134     public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
135         java.lang.String uuid, long userId, long plid, long parentFolderId,
136         java.lang.String name, java.lang.String description,
137         java.lang.Boolean addCommunityPermissions,
138         java.lang.Boolean addGuestPermissions,
139         java.lang.String[] communityPermissions,
140         java.lang.String[] guestPermissions)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         return _dlFolderLocalService.addFolder(uuid, userId, plid,
144             parentFolderId, name, description, addCommunityPermissions,
145             addGuestPermissions, communityPermissions, guestPermissions);
146     }
147 
148     public com.liferay.portlet.documentlibrary.model.DLFolder addFolderToGroup(
149         java.lang.String uuid, long userId, long groupId, long parentFolderId,
150         java.lang.String name, java.lang.String description,
151         java.lang.Boolean addCommunityPermissions,
152         java.lang.Boolean addGuestPermissions,
153         java.lang.String[] communityPermissions,
154         java.lang.String[] guestPermissions)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         return _dlFolderLocalService.addFolderToGroup(uuid, userId, groupId,
158             parentFolderId, name, description, addCommunityPermissions,
159             addGuestPermissions, communityPermissions, guestPermissions);
160     }
161 
162     public void addFolderResources(long folderId,
163         boolean addCommunityPermissions, boolean addGuestPermissions)
164         throws com.liferay.portal.PortalException,
165             com.liferay.portal.SystemException {
166         _dlFolderLocalService.addFolderResources(folderId,
167             addCommunityPermissions, addGuestPermissions);
168     }
169 
170     public void addFolderResources(
171         com.liferay.portlet.documentlibrary.model.DLFolder folder,
172         boolean addCommunityPermissions, boolean addGuestPermissions)
173         throws com.liferay.portal.PortalException,
174             com.liferay.portal.SystemException {
175         _dlFolderLocalService.addFolderResources(folder,
176             addCommunityPermissions, addGuestPermissions);
177     }
178 
179     public void addFolderResources(long folderId,
180         java.lang.String[] communityPermissions,
181         java.lang.String[] guestPermissions)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException {
184         _dlFolderLocalService.addFolderResources(folderId,
185             communityPermissions, guestPermissions);
186     }
187 
188     public void addFolderResources(
189         com.liferay.portlet.documentlibrary.model.DLFolder folder,
190         java.lang.String[] communityPermissions,
191         java.lang.String[] guestPermissions)
192         throws com.liferay.portal.PortalException,
193             com.liferay.portal.SystemException {
194         _dlFolderLocalService.addFolderResources(folder, communityPermissions,
195             guestPermissions);
196     }
197 
198     public void deleteFolder(long folderId)
199         throws com.liferay.portal.PortalException,
200             com.liferay.portal.SystemException {
201         _dlFolderLocalService.deleteFolder(folderId);
202     }
203 
204     public void deleteFolder(
205         com.liferay.portlet.documentlibrary.model.DLFolder folder)
206         throws com.liferay.portal.PortalException,
207             com.liferay.portal.SystemException {
208         _dlFolderLocalService.deleteFolder(folder);
209     }
210 
211     public void deleteFolders(long groupId)
212         throws com.liferay.portal.PortalException,
213             com.liferay.portal.SystemException {
214         _dlFolderLocalService.deleteFolders(groupId);
215     }
216 
217     public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
218         long folderId)
219         throws com.liferay.portal.PortalException,
220             com.liferay.portal.SystemException {
221         return _dlFolderLocalService.getFolder(folderId);
222     }
223 
224     public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
225         long groupId, long parentFolderId, java.lang.String name)
226         throws com.liferay.portal.PortalException,
227             com.liferay.portal.SystemException {
228         return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
229     }
230 
231     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
232         long companyId) throws com.liferay.portal.SystemException {
233         return _dlFolderLocalService.getFolders(companyId);
234     }
235 
236     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
237         long groupId, long parentFolderId)
238         throws com.liferay.portal.SystemException {
239         return _dlFolderLocalService.getFolders(groupId, parentFolderId);
240     }
241 
242     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
243         long groupId, long parentFolderId, int start, int end)
244         throws com.liferay.portal.SystemException {
245         return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
246             end);
247     }
248 
249     public int getFoldersCount(long groupId, long parentFolderId)
250         throws com.liferay.portal.SystemException {
251         return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
252     }
253 
254     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
255         long folderId) throws com.liferay.portal.SystemException {
256         _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
257     }
258 
259     public void reIndex(java.lang.String[] ids)
260         throws com.liferay.portal.SystemException {
261         _dlFolderLocalService.reIndex(ids);
262     }
263 
264     public com.liferay.portal.kernel.search.Hits search(long companyId,
265         long groupId, long[] folderIds, java.lang.String keywords, int start,
266         int end) throws com.liferay.portal.SystemException {
267         return _dlFolderLocalService.search(companyId, groupId, folderIds,
268             keywords, start, end);
269     }
270 
271     public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
272         long folderId, long parentFolderId, java.lang.String name,
273         java.lang.String description)
274         throws com.liferay.portal.PortalException,
275             com.liferay.portal.SystemException {
276         return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
277             name, description);
278     }
279 
280     public DLFolderLocalService getWrappedDLFolderLocalService() {
281         return _dlFolderLocalService;
282     }
283 
284     private DLFolderLocalService _dlFolderLocalService;
285 }