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) throws com.liferay.portal.kernel.exception.SystemException {
098                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
099                            folderId, status);
100            }
101    
102            @Override
103            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
104                    int status, java.lang.String[] mimeTypes)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
107                            folderId, status, mimeTypes);
108            }
109    
110            @Override
111            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
112                    long folderId)
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException {
115                    return _dlFolderService.getFolder(folderId);
116            }
117    
118            @Override
119            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
120                    long groupId, long parentFolderId, java.lang.String name)
121                    throws com.liferay.portal.kernel.exception.PortalException,
122                            com.liferay.portal.kernel.exception.SystemException {
123                    return _dlFolderService.getFolder(groupId, parentFolderId, name);
124            }
125    
126            @Override
127            public java.util.List<java.lang.Long> getFolderIds(long groupId,
128                    long folderId)
129                    throws com.liferay.portal.kernel.exception.PortalException,
130                            com.liferay.portal.kernel.exception.SystemException {
131                    return _dlFolderService.getFolderIds(groupId, folderId);
132            }
133    
134            @Override
135            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
136                    long groupId, long parentFolderId, int status,
137                    boolean includeMountfolders, int start, int end,
138                    com.liferay.portal.kernel.util.OrderByComparator obc)
139                    throws com.liferay.portal.kernel.exception.PortalException,
140                            com.liferay.portal.kernel.exception.SystemException {
141                    return _dlFolderService.getFolders(groupId, parentFolderId, status,
142                            includeMountfolders, start, end, obc);
143            }
144    
145            @Override
146            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
147                    long groupId, long parentFolderId, int start, int end,
148                    com.liferay.portal.kernel.util.OrderByComparator obc)
149                    throws com.liferay.portal.kernel.exception.PortalException,
150                            com.liferay.portal.kernel.exception.SystemException {
151                    return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
152                            obc);
153            }
154    
155            @Override
156            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
157                    long groupId, long folderId, int status, boolean includeMountFolders,
158                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
162                            folderId, status, includeMountFolders, start, end, obc);
163            }
164    
165            @Override
166            public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
167                    long folderId, int status, java.lang.String[] mimeTypes,
168                    boolean includeMountFolders)
169                    throws com.liferay.portal.kernel.exception.PortalException,
170                            com.liferay.portal.kernel.exception.SystemException {
171                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
172                            folderId, status, mimeTypes, includeMountFolders);
173            }
174    
175            @Override
176            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
177                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
178                    boolean includeMountFolders, int start, int end,
179                    com.liferay.portal.kernel.util.OrderByComparator obc)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
183                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
184            }
185    
186            @Override
187            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
188                    long folderId, int status, boolean includeMountFolders)
189                    throws com.liferay.portal.kernel.exception.SystemException {
190                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
191                            folderId, status, includeMountFolders);
192            }
193    
194            @Override
195            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
196                    long folderId, int status, java.lang.String[] mimeTypes,
197                    boolean includeMountFolders)
198                    throws com.liferay.portal.kernel.exception.SystemException {
199                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
200                            folderId, status, mimeTypes, includeMountFolders);
201            }
202    
203            @Override
204            public int getFoldersCount(long groupId, long parentFolderId)
205                    throws com.liferay.portal.kernel.exception.SystemException {
206                    return _dlFolderService.getFoldersCount(groupId, parentFolderId);
207            }
208    
209            @Override
210            public int getFoldersCount(long groupId, long parentFolderId, int status,
211                    boolean includeMountfolders)
212                    throws 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.SystemException {
230                    return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
231            }
232    
233            @Override
234            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
235                    long groupId, long folderId)
236                    throws com.liferay.portal.kernel.exception.PortalException,
237                            com.liferay.portal.kernel.exception.SystemException {
238                    _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
239            }
240    
241            @Override
242            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
243                    long folderId, boolean recurse)
244                    throws com.liferay.portal.kernel.exception.PortalException,
245                            com.liferay.portal.kernel.exception.SystemException {
246                    return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
247            }
248    
249            @Override
250            public boolean hasFolderLock(long folderId)
251                    throws com.liferay.portal.kernel.exception.PortalException,
252                            com.liferay.portal.kernel.exception.SystemException {
253                    return _dlFolderService.hasFolderLock(folderId);
254            }
255    
256            @Override
257            public boolean hasInheritableLock(long folderId)
258                    throws com.liferay.portal.kernel.exception.PortalException,
259                            com.liferay.portal.kernel.exception.SystemException {
260                    return _dlFolderService.hasInheritableLock(folderId);
261            }
262    
263            @Override
264            public boolean isFolderLocked(long folderId)
265                    throws com.liferay.portal.kernel.exception.SystemException {
266                    return _dlFolderService.isFolderLocked(folderId);
267            }
268    
269            @Override
270            public com.liferay.portal.model.Lock lockFolder(long folderId)
271                    throws com.liferay.portal.kernel.exception.PortalException,
272                            com.liferay.portal.kernel.exception.SystemException {
273                    return _dlFolderService.lockFolder(folderId);
274            }
275    
276            @Override
277            public com.liferay.portal.model.Lock lockFolder(long folderId,
278                    java.lang.String owner, boolean inheritable, long expirationTime)
279                    throws com.liferay.portal.kernel.exception.PortalException,
280                            com.liferay.portal.kernel.exception.SystemException {
281                    return _dlFolderService.lockFolder(folderId, owner, inheritable,
282                            expirationTime);
283            }
284    
285            @Override
286            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
287                    long folderId, long parentFolderId,
288                    com.liferay.portal.service.ServiceContext serviceContext)
289                    throws com.liferay.portal.kernel.exception.PortalException,
290                            com.liferay.portal.kernel.exception.SystemException {
291                    return _dlFolderService.moveFolder(folderId, parentFolderId,
292                            serviceContext);
293            }
294    
295            @Override
296            public com.liferay.portal.model.Lock refreshFolderLock(
297                    java.lang.String lockUuid, long companyId, long expirationTime)
298                    throws com.liferay.portal.kernel.exception.PortalException,
299                            com.liferay.portal.kernel.exception.SystemException {
300                    return _dlFolderService.refreshFolderLock(lockUuid, companyId,
301                            expirationTime);
302            }
303    
304            @Override
305            public void unlockFolder(long groupId, long parentFolderId,
306                    java.lang.String name, java.lang.String lockUuid)
307                    throws com.liferay.portal.kernel.exception.PortalException,
308                            com.liferay.portal.kernel.exception.SystemException {
309                    _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
310            }
311    
312            @Override
313            public void unlockFolder(long folderId, java.lang.String lockUuid)
314                    throws com.liferay.portal.kernel.exception.PortalException,
315                            com.liferay.portal.kernel.exception.SystemException {
316                    _dlFolderService.unlockFolder(folderId, lockUuid);
317            }
318    
319            @Override
320            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
321                    long folderId, java.lang.String name, java.lang.String description,
322                    long defaultFileEntryTypeId,
323                    java.util.List<java.lang.Long> fileEntryTypeIds,
324                    boolean overrideFileEntryTypes,
325                    com.liferay.portal.service.ServiceContext serviceContext)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException {
328                    return _dlFolderService.updateFolder(folderId, name, description,
329                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
330                            serviceContext);
331            }
332    
333            @Override
334            public boolean verifyInheritableLock(long folderId,
335                    java.lang.String lockUuid)
336                    throws com.liferay.portal.kernel.exception.PortalException,
337                            com.liferay.portal.kernel.exception.SystemException {
338                    return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
339            }
340    
341            /**
342             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
343             */
344            public DLFolderService getWrappedDLFolderService() {
345                    return _dlFolderService;
346            }
347    
348            /**
349             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
350             */
351            public void setWrappedDLFolderService(DLFolderService dlFolderService) {
352                    _dlFolderService = dlFolderService;
353            }
354    
355            @Override
356            public DLFolderService getWrappedService() {
357                    return _dlFolderService;
358            }
359    
360            @Override
361            public void setWrappedService(DLFolderService dlFolderService) {
362                    _dlFolderService = dlFolderService;
363            }
364    
365            private DLFolderService _dlFolderService;
366    }