001    /**
002     * Copyright (c) 2000-2013 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    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link DLFolderService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see DLFolderService
024     * @generated
025     */
026    public class DLFolderServiceWrapper implements DLFolderService,
027            ServiceWrapper<DLFolderService> {
028            public DLFolderServiceWrapper(DLFolderService dlFolderService) {
029                    _dlFolderService = dlFolderService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            @Override
038            public java.lang.String getBeanIdentifier() {
039                    return _dlFolderService.getBeanIdentifier();
040            }
041    
042            /**
043            * Sets the Spring bean ID for this bean.
044            *
045            * @param beanIdentifier the Spring bean ID for this bean
046            */
047            @Override
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _dlFolderService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            @Override
053            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
054                    long groupId, long repositoryId, boolean mountPoint,
055                    long parentFolderId, java.lang.String name,
056                    java.lang.String description,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _dlFolderService.addFolder(groupId, repositoryId, mountPoint,
061                            parentFolderId, name, description, serviceContext);
062            }
063    
064            @Override
065            public void deleteFolder(long folderId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    _dlFolderService.deleteFolder(folderId);
069            }
070    
071            @Override
072            public void deleteFolder(long folderId, boolean includeTrashedEntries)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    _dlFolderService.deleteFolder(folderId, includeTrashedEntries);
076            }
077    
078            @Override
079            public void deleteFolder(long groupId, long parentFolderId,
080                    java.lang.String name)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    _dlFolderService.deleteFolder(groupId, parentFolderId, name);
084            }
085    
086            @Override
087            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
088                    long groupId, long folderId, int status, int start, int end)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
092                            folderId, status, start, end);
093            }
094    
095            @Override
096            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
097                    int status)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
101                            folderId, status);
102            }
103    
104            @Override
105            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
106                    int status, java.lang.String[] mimeTypes)
107                    throws com.liferay.portal.kernel.exception.PortalException,
108                            com.liferay.portal.kernel.exception.SystemException {
109                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
110                            folderId, status, mimeTypes);
111            }
112    
113            @Override
114            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
115                    long folderId)
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException {
118                    return _dlFolderService.getFolder(folderId);
119            }
120    
121            @Override
122            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
123                    long groupId, long parentFolderId, java.lang.String name)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    return _dlFolderService.getFolder(groupId, parentFolderId, name);
127            }
128    
129            @Override
130            public java.util.List<java.lang.Long> getFolderIds(long groupId,
131                    long folderId)
132                    throws com.liferay.portal.kernel.exception.PortalException,
133                            com.liferay.portal.kernel.exception.SystemException {
134                    return _dlFolderService.getFolderIds(groupId, folderId);
135            }
136    
137            @Override
138            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
139                    long groupId, long parentFolderId, int status,
140                    boolean includeMountfolders, int start, int end,
141                    com.liferay.portal.kernel.util.OrderByComparator obc)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    return _dlFolderService.getFolders(groupId, parentFolderId, status,
145                            includeMountfolders, start, end, obc);
146            }
147    
148            @Override
149            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
150                    long groupId, long parentFolderId, int start, int end,
151                    com.liferay.portal.kernel.util.OrderByComparator obc)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
155                            obc);
156            }
157    
158            @Override
159            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
160                    long groupId, long folderId, int status, boolean includeMountFolders,
161                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException {
164                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
165                            folderId, status, includeMountFolders, start, end, obc);
166            }
167    
168            @Override
169            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
170                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
171                    boolean includeMountFolders, int start, int end,
172                    com.liferay.portal.kernel.util.OrderByComparator obc)
173                    throws com.liferay.portal.kernel.exception.PortalException,
174                            com.liferay.portal.kernel.exception.SystemException {
175                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
176                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
177            }
178    
179            @Override
180            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
181                    long folderId, int status, boolean includeMountFolders)
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException {
184                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
185                            folderId, status, includeMountFolders);
186            }
187    
188            @Override
189            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
190                    long folderId, int status, java.lang.String[] mimeTypes,
191                    boolean includeMountFolders)
192                    throws com.liferay.portal.kernel.exception.PortalException,
193                            com.liferay.portal.kernel.exception.SystemException {
194                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
195                            folderId, status, mimeTypes, includeMountFolders);
196            }
197    
198            @Override
199            public int getFoldersCount(long groupId, long parentFolderId)
200                    throws com.liferay.portal.kernel.exception.PortalException,
201                            com.liferay.portal.kernel.exception.SystemException {
202                    return _dlFolderService.getFoldersCount(groupId, parentFolderId);
203            }
204    
205            @Override
206            public int getFoldersCount(long groupId, long parentFolderId, int status,
207                    boolean includeMountfolders)
208                    throws com.liferay.portal.kernel.exception.PortalException,
209                            com.liferay.portal.kernel.exception.SystemException {
210                    return _dlFolderService.getFoldersCount(groupId, parentFolderId,
211                            status, includeMountfolders);
212            }
213    
214            @Override
215            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
216                    long groupId, long parentFolderId, int start, int end,
217                    com.liferay.portal.kernel.util.OrderByComparator obc)
218                    throws com.liferay.portal.kernel.exception.PortalException,
219                            com.liferay.portal.kernel.exception.SystemException {
220                    return _dlFolderService.getMountFolders(groupId, parentFolderId, start,
221                            end, obc);
222            }
223    
224            @Override
225            public int getMountFoldersCount(long groupId, long parentFolderId)
226                    throws com.liferay.portal.kernel.exception.PortalException,
227                            com.liferay.portal.kernel.exception.SystemException {
228                    return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
229            }
230    
231            @Override
232            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
233                    long groupId, long folderId)
234                    throws com.liferay.portal.kernel.exception.PortalException,
235                            com.liferay.portal.kernel.exception.SystemException {
236                    _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
237            }
238    
239            @Override
240            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
241                    long folderId, boolean recurse)
242                    throws com.liferay.portal.kernel.exception.PortalException,
243                            com.liferay.portal.kernel.exception.SystemException {
244                    return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
245            }
246    
247            @Override
248            public boolean hasFolderLock(long folderId)
249                    throws com.liferay.portal.kernel.exception.PortalException,
250                            com.liferay.portal.kernel.exception.SystemException {
251                    return _dlFolderService.hasFolderLock(folderId);
252            }
253    
254            @Override
255            public boolean hasInheritableLock(long folderId)
256                    throws com.liferay.portal.kernel.exception.PortalException,
257                            com.liferay.portal.kernel.exception.SystemException {
258                    return _dlFolderService.hasInheritableLock(folderId);
259            }
260    
261            @Override
262            public boolean isFolderLocked(long folderId)
263                    throws com.liferay.portal.kernel.exception.SystemException {
264                    return _dlFolderService.isFolderLocked(folderId);
265            }
266    
267            @Override
268            public com.liferay.portal.model.Lock lockFolder(long folderId)
269                    throws com.liferay.portal.kernel.exception.PortalException,
270                            com.liferay.portal.kernel.exception.SystemException {
271                    return _dlFolderService.lockFolder(folderId);
272            }
273    
274            @Override
275            public com.liferay.portal.model.Lock lockFolder(long folderId,
276                    java.lang.String owner, boolean inheritable, long expirationTime)
277                    throws com.liferay.portal.kernel.exception.PortalException,
278                            com.liferay.portal.kernel.exception.SystemException {
279                    return _dlFolderService.lockFolder(folderId, owner, inheritable,
280                            expirationTime);
281            }
282    
283            @Override
284            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
285                    long folderId, long parentFolderId,
286                    com.liferay.portal.service.ServiceContext serviceContext)
287                    throws com.liferay.portal.kernel.exception.PortalException,
288                            com.liferay.portal.kernel.exception.SystemException {
289                    return _dlFolderService.moveFolder(folderId, parentFolderId,
290                            serviceContext);
291            }
292    
293            @Override
294            public com.liferay.portal.model.Lock refreshFolderLock(
295                    java.lang.String lockUuid, long companyId, long expirationTime)
296                    throws com.liferay.portal.kernel.exception.PortalException,
297                            com.liferay.portal.kernel.exception.SystemException {
298                    return _dlFolderService.refreshFolderLock(lockUuid, companyId,
299                            expirationTime);
300            }
301    
302            @Override
303            public void unlockFolder(long groupId, long parentFolderId,
304                    java.lang.String name, java.lang.String lockUuid)
305                    throws com.liferay.portal.kernel.exception.PortalException,
306                            com.liferay.portal.kernel.exception.SystemException {
307                    _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
308            }
309    
310            @Override
311            public void unlockFolder(long folderId, java.lang.String lockUuid)
312                    throws com.liferay.portal.kernel.exception.PortalException,
313                            com.liferay.portal.kernel.exception.SystemException {
314                    _dlFolderService.unlockFolder(folderId, lockUuid);
315            }
316    
317            @Override
318            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
319                    long folderId, java.lang.String name, java.lang.String description,
320                    long defaultFileEntryTypeId,
321                    java.util.List<java.lang.Long> fileEntryTypeIds,
322                    boolean overrideFileEntryTypes,
323                    com.liferay.portal.service.ServiceContext serviceContext)
324                    throws com.liferay.portal.kernel.exception.PortalException,
325                            com.liferay.portal.kernel.exception.SystemException {
326                    return _dlFolderService.updateFolder(folderId, name, description,
327                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
328                            serviceContext);
329            }
330    
331            @Override
332            public boolean verifyInheritableLock(long folderId,
333                    java.lang.String lockUuid)
334                    throws com.liferay.portal.kernel.exception.PortalException,
335                            com.liferay.portal.kernel.exception.SystemException {
336                    return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
337            }
338    
339            /**
340             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
341             */
342            public DLFolderService getWrappedDLFolderService() {
343                    return _dlFolderService;
344            }
345    
346            /**
347             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
348             */
349            public void setWrappedDLFolderService(DLFolderService dlFolderService) {
350                    _dlFolderService = dlFolderService;
351            }
352    
353            @Override
354            public DLFolderService getWrappedService() {
355                    return _dlFolderService;
356            }
357    
358            @Override
359            public void setWrappedService(DLFolderService dlFolderService) {
360                    _dlFolderService = dlFolderService;
361            }
362    
363            private DLFolderService _dlFolderService;
364    }