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