001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link DLFolderLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       DLFolderLocalService
025     * @generated
026     */
027    public class DLFolderLocalServiceWrapper implements DLFolderLocalService {
028            public DLFolderLocalServiceWrapper(
029                    DLFolderLocalService dlFolderLocalService) {
030                    _dlFolderLocalService = dlFolderLocalService;
031            }
032    
033            public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
034                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _dlFolderLocalService.addDLFolder(dlFolder);
037            }
038    
039            public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
040                    long folderId) {
041                    return _dlFolderLocalService.createDLFolder(folderId);
042            }
043    
044            public void deleteDLFolder(long folderId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _dlFolderLocalService.deleteDLFolder(folderId);
048            }
049    
050            public void deleteDLFolder(
051                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _dlFolderLocalService.deleteDLFolder(dlFolder);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _dlFolderLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
077                            orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
087                    long folderId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _dlFolderLocalService.getDLFolder(folderId);
091            }
092    
093            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
094                    java.lang.String uuid, long groupId)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
098            }
099    
100            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
101                    int start, int end)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _dlFolderLocalService.getDLFolders(start, end);
104            }
105    
106            public int getDLFoldersCount()
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _dlFolderLocalService.getDLFoldersCount();
109            }
110    
111            public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
112                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _dlFolderLocalService.updateDLFolder(dlFolder);
115            }
116    
117            public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
118                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
119                    boolean merge)
120                    throws com.liferay.portal.kernel.exception.SystemException {
121                    return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
122            }
123    
124            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
125                    long userId, long groupId, long parentFolderId, java.lang.String name,
126                    java.lang.String description,
127                    com.liferay.portal.service.ServiceContext serviceContext)
128                    throws com.liferay.portal.kernel.exception.PortalException,
129                            com.liferay.portal.kernel.exception.SystemException {
130                    return _dlFolderLocalService.addFolder(userId, groupId, parentFolderId,
131                            name, description, serviceContext);
132            }
133    
134            public void addFolderResources(
135                    com.liferay.portlet.documentlibrary.model.DLFolder folder,
136                    boolean addCommunityPermissions, boolean addGuestPermissions)
137                    throws com.liferay.portal.kernel.exception.PortalException,
138                            com.liferay.portal.kernel.exception.SystemException {
139                    _dlFolderLocalService.addFolderResources(folder,
140                            addCommunityPermissions, addGuestPermissions);
141            }
142    
143            public void addFolderResources(
144                    com.liferay.portlet.documentlibrary.model.DLFolder folder,
145                    java.lang.String[] communityPermissions,
146                    java.lang.String[] guestPermissions)
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    _dlFolderLocalService.addFolderResources(folder, communityPermissions,
150                            guestPermissions);
151            }
152    
153            public void addFolderResources(long folderId,
154                    boolean addCommunityPermissions, boolean addGuestPermissions)
155                    throws com.liferay.portal.kernel.exception.PortalException,
156                            com.liferay.portal.kernel.exception.SystemException {
157                    _dlFolderLocalService.addFolderResources(folderId,
158                            addCommunityPermissions, addGuestPermissions);
159            }
160    
161            public void addFolderResources(long folderId,
162                    java.lang.String[] communityPermissions,
163                    java.lang.String[] guestPermissions)
164                    throws com.liferay.portal.kernel.exception.PortalException,
165                            com.liferay.portal.kernel.exception.SystemException {
166                    _dlFolderLocalService.addFolderResources(folderId,
167                            communityPermissions, guestPermissions);
168            }
169    
170            public void deleteFolder(
171                    com.liferay.portlet.documentlibrary.model.DLFolder folder)
172                    throws com.liferay.portal.kernel.exception.PortalException,
173                            com.liferay.portal.kernel.exception.SystemException {
174                    _dlFolderLocalService.deleteFolder(folder);
175            }
176    
177            public void deleteFolder(long folderId)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    _dlFolderLocalService.deleteFolder(folderId);
181            }
182    
183            public void deleteFolders(long groupId)
184                    throws com.liferay.portal.kernel.exception.PortalException,
185                            com.liferay.portal.kernel.exception.SystemException {
186                    _dlFolderLocalService.deleteFolders(groupId);
187            }
188    
189            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
190                    long companyId, int start, int end)
191                    throws com.liferay.portal.kernel.exception.SystemException {
192                    return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
193            }
194    
195            public int getCompanyFoldersCount(long companyId)
196                    throws com.liferay.portal.kernel.exception.SystemException {
197                    return _dlFolderLocalService.getCompanyFoldersCount(companyId);
198            }
199    
200            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
201                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
202                    int start, int end)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
205                            folderIds, status, start, end);
206            }
207    
208            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
209                    long groupId, long folderId, int status, int start, int end)
210                    throws com.liferay.portal.kernel.exception.SystemException {
211                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
212                            folderId, status, start, end);
213            }
214    
215            public int getFileEntriesAndFileShortcutsCount(long groupId,
216                    java.util.List<java.lang.Long> folderIds, int status)
217                    throws com.liferay.portal.kernel.exception.SystemException {
218                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
219                            folderIds, status);
220            }
221    
222            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
223                    int status) throws com.liferay.portal.kernel.exception.SystemException {
224                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
225                            folderId, status);
226            }
227    
228            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
229                    long folderId)
230                    throws com.liferay.portal.kernel.exception.PortalException,
231                            com.liferay.portal.kernel.exception.SystemException {
232                    return _dlFolderLocalService.getFolder(folderId);
233            }
234    
235            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
236                    long groupId, long parentFolderId, java.lang.String name)
237                    throws com.liferay.portal.kernel.exception.PortalException,
238                            com.liferay.portal.kernel.exception.SystemException {
239                    return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
240            }
241    
242            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
243                    long companyId)
244                    throws com.liferay.portal.kernel.exception.SystemException {
245                    return _dlFolderLocalService.getFolders(companyId);
246            }
247    
248            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
249                    long groupId, long parentFolderId)
250                    throws com.liferay.portal.kernel.exception.SystemException {
251                    return _dlFolderLocalService.getFolders(groupId, parentFolderId);
252            }
253    
254            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
255                    long groupId, long parentFolderId, int start, int end)
256                    throws com.liferay.portal.kernel.exception.SystemException {
257                    return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
258                            end);
259            }
260    
261            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
262                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
263                    int start, int end)
264                    throws com.liferay.portal.kernel.exception.SystemException {
265                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
266                            folderIds, status, start, end);
267            }
268    
269            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
270                    long groupId, long folderId, int status, int start, int end)
271                    throws com.liferay.portal.kernel.exception.SystemException {
272                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
273                            folderId, status, start, end);
274            }
275    
276            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
277                    java.util.List<java.lang.Long> folderIds, int status)
278                    throws com.liferay.portal.kernel.exception.SystemException {
279                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
280                            folderIds, status);
281            }
282    
283            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
284                    long folderId, int status)
285                    throws com.liferay.portal.kernel.exception.SystemException {
286                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
287                            folderId, status);
288            }
289    
290            public int getFoldersCount(long groupId, long parentFolderId)
291                    throws com.liferay.portal.kernel.exception.SystemException {
292                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
293            }
294    
295            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
296                    long groupId, long folderId)
297                    throws com.liferay.portal.kernel.exception.SystemException {
298                    _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
299            }
300    
301            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
302                    long folderId, long parentFolderId, java.lang.String name,
303                    java.lang.String description,
304                    com.liferay.portal.service.ServiceContext serviceContext)
305                    throws com.liferay.portal.kernel.exception.PortalException,
306                            com.liferay.portal.kernel.exception.SystemException {
307                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
308                            name, description, serviceContext);
309            }
310    
311            public DLFolderLocalService getWrappedDLFolderLocalService() {
312                    return _dlFolderLocalService;
313            }
314    
315            private DLFolderLocalService _dlFolderLocalService;
316    }