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 DLFolderLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see DLFolderLocalService
024     * @generated
025     */
026    public class DLFolderLocalServiceWrapper implements DLFolderLocalService,
027            ServiceWrapper<DLFolderLocalService> {
028            public DLFolderLocalServiceWrapper(
029                    DLFolderLocalService dlFolderLocalService) {
030                    _dlFolderLocalService = dlFolderLocalService;
031            }
032    
033            /**
034            * Adds the document library folder to the database. Also notifies the appropriate model listeners.
035            *
036            * @param dlFolder the document library folder
037            * @return the document library folder that was added
038            * @throws SystemException if a system exception occurred
039            */
040            @Override
041            public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
042                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
043                    throws com.liferay.portal.kernel.exception.SystemException {
044                    return _dlFolderLocalService.addDLFolder(dlFolder);
045            }
046    
047            /**
048            * Creates a new document library folder with the primary key. Does not add the document library folder to the database.
049            *
050            * @param folderId the primary key for the new document library folder
051            * @return the new document library folder
052            */
053            @Override
054            public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
055                    long folderId) {
056                    return _dlFolderLocalService.createDLFolder(folderId);
057            }
058    
059            /**
060            * Deletes the document library folder with the primary key from the database. Also notifies the appropriate model listeners.
061            *
062            * @param folderId the primary key of the document library folder
063            * @return the document library folder that was removed
064            * @throws PortalException if a document library folder with the primary key could not be found
065            * @throws SystemException if a system exception occurred
066            */
067            @Override
068            public com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
069                    long folderId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _dlFolderLocalService.deleteDLFolder(folderId);
073            }
074    
075            /**
076            * Deletes the document library folder from the database. Also notifies the appropriate model listeners.
077            *
078            * @param dlFolder the document library folder
079            * @return the document library folder that was removed
080            * @throws SystemException if a system exception occurred
081            */
082            @Override
083            public com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
084                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
085                    throws com.liferay.portal.kernel.exception.SystemException {
086                    return _dlFolderLocalService.deleteDLFolder(dlFolder);
087            }
088    
089            @Override
090            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
091                    return _dlFolderLocalService.dynamicQuery();
092            }
093    
094            /**
095            * Performs a dynamic query on the database and returns the matching rows.
096            *
097            * @param dynamicQuery the dynamic query
098            * @return the matching rows
099            * @throws SystemException if a system exception occurred
100            */
101            @Override
102            @SuppressWarnings("rawtypes")
103            public java.util.List dynamicQuery(
104                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _dlFolderLocalService.dynamicQuery(dynamicQuery);
107            }
108    
109            /**
110            * Performs a dynamic query on the database and returns a range of the matching rows.
111            *
112            * <p>
113            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
114            * </p>
115            *
116            * @param dynamicQuery the dynamic query
117            * @param start the lower bound of the range of model instances
118            * @param end the upper bound of the range of model instances (not inclusive)
119            * @return the range of matching rows
120            * @throws SystemException if a system exception occurred
121            */
122            @Override
123            @SuppressWarnings("rawtypes")
124            public java.util.List dynamicQuery(
125                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126                    int end) throws com.liferay.portal.kernel.exception.SystemException {
127                    return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
128            }
129    
130            /**
131            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
132            *
133            * <p>
134            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
135            * </p>
136            *
137            * @param dynamicQuery the dynamic query
138            * @param start the lower bound of the range of model instances
139            * @param end the upper bound of the range of model instances (not inclusive)
140            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
141            * @return the ordered range of matching rows
142            * @throws SystemException if a system exception occurred
143            */
144            @Override
145            @SuppressWarnings("rawtypes")
146            public java.util.List dynamicQuery(
147                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148                    int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException {
151                    return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
152                            orderByComparator);
153            }
154    
155            /**
156            * Returns the number of rows that match the dynamic query.
157            *
158            * @param dynamicQuery the dynamic query
159            * @return the number of rows that match the dynamic query
160            * @throws SystemException if a system exception occurred
161            */
162            @Override
163            public long dynamicQueryCount(
164                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
167            }
168    
169            /**
170            * Returns the number of rows that match the dynamic query.
171            *
172            * @param dynamicQuery the dynamic query
173            * @param projection the projection to apply to the query
174            * @return the number of rows that match the dynamic query
175            * @throws SystemException if a system exception occurred
176            */
177            @Override
178            public long dynamicQueryCount(
179                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
180                    com.liferay.portal.kernel.dao.orm.Projection projection)
181                    throws com.liferay.portal.kernel.exception.SystemException {
182                    return _dlFolderLocalService.dynamicQueryCount(dynamicQuery, projection);
183            }
184    
185            @Override
186            public com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolder(
187                    long folderId)
188                    throws com.liferay.portal.kernel.exception.SystemException {
189                    return _dlFolderLocalService.fetchDLFolder(folderId);
190            }
191    
192            /**
193            * Returns the document library folder with the matching UUID and company.
194            *
195            * @param uuid the document library folder's UUID
196            * @param companyId the primary key of the company
197            * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found
198            * @throws SystemException if a system exception occurred
199            */
200            @Override
201            public com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolderByUuidAndCompanyId(
202                    java.lang.String uuid, long companyId)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return _dlFolderLocalService.fetchDLFolderByUuidAndCompanyId(uuid,
205                            companyId);
206            }
207    
208            /**
209            * Returns the document library folder matching the UUID and group.
210            *
211            * @param uuid the document library folder's UUID
212            * @param groupId the primary key of the group
213            * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found
214            * @throws SystemException if a system exception occurred
215            */
216            @Override
217            public com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolderByUuidAndGroupId(
218                    java.lang.String uuid, long groupId)
219                    throws com.liferay.portal.kernel.exception.SystemException {
220                    return _dlFolderLocalService.fetchDLFolderByUuidAndGroupId(uuid, groupId);
221            }
222    
223            /**
224            * Returns the document library folder with the primary key.
225            *
226            * @param folderId the primary key of the document library folder
227            * @return the document library folder
228            * @throws PortalException if a document library folder with the primary key could not be found
229            * @throws SystemException if a system exception occurred
230            */
231            @Override
232            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
233                    long folderId)
234                    throws com.liferay.portal.kernel.exception.PortalException,
235                            com.liferay.portal.kernel.exception.SystemException {
236                    return _dlFolderLocalService.getDLFolder(folderId);
237            }
238    
239            @Override
240            public com.liferay.portal.model.PersistedModel getPersistedModel(
241                    java.io.Serializable primaryKeyObj)
242                    throws com.liferay.portal.kernel.exception.PortalException,
243                            com.liferay.portal.kernel.exception.SystemException {
244                    return _dlFolderLocalService.getPersistedModel(primaryKeyObj);
245            }
246    
247            /**
248            * Returns the document library folder with the matching UUID and company.
249            *
250            * @param uuid the document library folder's UUID
251            * @param companyId the primary key of the company
252            * @return the matching document library folder
253            * @throws PortalException if a matching document library folder could not be found
254            * @throws SystemException if a system exception occurred
255            */
256            @Override
257            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndCompanyId(
258                    java.lang.String uuid, long companyId)
259                    throws com.liferay.portal.kernel.exception.PortalException,
260                            com.liferay.portal.kernel.exception.SystemException {
261                    return _dlFolderLocalService.getDLFolderByUuidAndCompanyId(uuid,
262                            companyId);
263            }
264    
265            /**
266            * Returns the document library folder matching the UUID and group.
267            *
268            * @param uuid the document library folder's UUID
269            * @param groupId the primary key of the group
270            * @return the matching document library folder
271            * @throws PortalException if a matching document library folder could not be found
272            * @throws SystemException if a system exception occurred
273            */
274            @Override
275            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
276                    java.lang.String uuid, long groupId)
277                    throws com.liferay.portal.kernel.exception.PortalException,
278                            com.liferay.portal.kernel.exception.SystemException {
279                    return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
280            }
281    
282            /**
283            * Returns a range of all the document library folders.
284            *
285            * <p>
286            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
287            * </p>
288            *
289            * @param start the lower bound of the range of document library folders
290            * @param end the upper bound of the range of document library folders (not inclusive)
291            * @return the range of document library folders
292            * @throws SystemException if a system exception occurred
293            */
294            @Override
295            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
296                    int start, int end)
297                    throws com.liferay.portal.kernel.exception.SystemException {
298                    return _dlFolderLocalService.getDLFolders(start, end);
299            }
300    
301            /**
302            * Returns the number of document library folders.
303            *
304            * @return the number of document library folders
305            * @throws SystemException if a system exception occurred
306            */
307            @Override
308            public int getDLFoldersCount()
309                    throws com.liferay.portal.kernel.exception.SystemException {
310                    return _dlFolderLocalService.getDLFoldersCount();
311            }
312    
313            /**
314            * Updates the document library folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
315            *
316            * @param dlFolder the document library folder
317            * @return the document library folder that was updated
318            * @throws SystemException if a system exception occurred
319            */
320            @Override
321            public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
322                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
323                    throws com.liferay.portal.kernel.exception.SystemException {
324                    return _dlFolderLocalService.updateDLFolder(dlFolder);
325            }
326    
327            /**
328            * @throws SystemException if a system exception occurred
329            */
330            @Override
331            public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
332                    throws com.liferay.portal.kernel.exception.SystemException {
333                    _dlFolderLocalService.addDLFileEntryTypeDLFolder(fileEntryTypeId,
334                            folderId);
335            }
336    
337            /**
338            * @throws SystemException if a system exception occurred
339            */
340            @Override
341            public void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
342                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
343                    throws com.liferay.portal.kernel.exception.SystemException {
344                    _dlFolderLocalService.addDLFileEntryTypeDLFolder(fileEntryTypeId,
345                            dlFolder);
346            }
347    
348            /**
349            * @throws SystemException if a system exception occurred
350            */
351            @Override
352            public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
353                    long[] folderIds)
354                    throws com.liferay.portal.kernel.exception.SystemException {
355                    _dlFolderLocalService.addDLFileEntryTypeDLFolders(fileEntryTypeId,
356                            folderIds);
357            }
358    
359            /**
360            * @throws SystemException if a system exception occurred
361            */
362            @Override
363            public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
364                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders)
365                    throws com.liferay.portal.kernel.exception.SystemException {
366                    _dlFolderLocalService.addDLFileEntryTypeDLFolders(fileEntryTypeId,
367                            DLFolders);
368            }
369    
370            /**
371            * @throws SystemException if a system exception occurred
372            */
373            @Override
374            public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    _dlFolderLocalService.clearDLFileEntryTypeDLFolders(fileEntryTypeId);
377            }
378    
379            /**
380            * @throws SystemException if a system exception occurred
381            */
382            @Override
383            public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
384                    long folderId)
385                    throws com.liferay.portal.kernel.exception.SystemException {
386                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolder(fileEntryTypeId,
387                            folderId);
388            }
389    
390            /**
391            * @throws SystemException if a system exception occurred
392            */
393            @Override
394            public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
395                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
396                    throws com.liferay.portal.kernel.exception.SystemException {
397                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolder(fileEntryTypeId,
398                            dlFolder);
399            }
400    
401            /**
402            * @throws SystemException if a system exception occurred
403            */
404            @Override
405            public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
406                    long[] folderIds)
407                    throws com.liferay.portal.kernel.exception.SystemException {
408                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolders(fileEntryTypeId,
409                            folderIds);
410            }
411    
412            /**
413            * @throws SystemException if a system exception occurred
414            */
415            @Override
416            public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
417                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders)
418                    throws com.liferay.portal.kernel.exception.SystemException {
419                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolders(fileEntryTypeId,
420                            DLFolders);
421            }
422    
423            /**
424            * @throws SystemException if a system exception occurred
425            */
426            @Override
427            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
428                    long fileEntryTypeId)
429                    throws com.liferay.portal.kernel.exception.SystemException {
430                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId);
431            }
432    
433            /**
434            * @throws SystemException if a system exception occurred
435            */
436            @Override
437            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
438                    long fileEntryTypeId, int start, int end)
439                    throws com.liferay.portal.kernel.exception.SystemException {
440                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
441                            start, end);
442            }
443    
444            /**
445            * @throws SystemException if a system exception occurred
446            */
447            @Override
448            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
449                    long fileEntryTypeId, int start, int end,
450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
451                    throws com.liferay.portal.kernel.exception.SystemException {
452                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
453                            start, end, orderByComparator);
454            }
455    
456            /**
457            * @throws SystemException if a system exception occurred
458            */
459            @Override
460            public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
461                    throws com.liferay.portal.kernel.exception.SystemException {
462                    return _dlFolderLocalService.getDLFileEntryTypeDLFoldersCount(fileEntryTypeId);
463            }
464    
465            /**
466            * @throws SystemException if a system exception occurred
467            */
468            @Override
469            public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
470                    long folderId)
471                    throws com.liferay.portal.kernel.exception.SystemException {
472                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolder(fileEntryTypeId,
473                            folderId);
474            }
475    
476            /**
477            * @throws SystemException if a system exception occurred
478            */
479            @Override
480            public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
481                    throws com.liferay.portal.kernel.exception.SystemException {
482                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolders(fileEntryTypeId);
483            }
484    
485            /**
486            * @throws SystemException if a system exception occurred
487            */
488            @Override
489            public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
490                    long[] folderIds)
491                    throws com.liferay.portal.kernel.exception.SystemException {
492                    _dlFolderLocalService.setDLFileEntryTypeDLFolders(fileEntryTypeId,
493                            folderIds);
494            }
495    
496            /**
497            * Returns the Spring bean ID for this bean.
498            *
499            * @return the Spring bean ID for this bean
500            */
501            @Override
502            public java.lang.String getBeanIdentifier() {
503                    return _dlFolderLocalService.getBeanIdentifier();
504            }
505    
506            /**
507            * Sets the Spring bean ID for this bean.
508            *
509            * @param beanIdentifier the Spring bean ID for this bean
510            */
511            @Override
512            public void setBeanIdentifier(java.lang.String beanIdentifier) {
513                    _dlFolderLocalService.setBeanIdentifier(beanIdentifier);
514            }
515    
516            @Override
517            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
518                    long userId, long groupId, long repositoryId, boolean mountPoint,
519                    long parentFolderId, java.lang.String name,
520                    java.lang.String description, boolean hidden,
521                    com.liferay.portal.service.ServiceContext serviceContext)
522                    throws com.liferay.portal.kernel.exception.PortalException,
523                            com.liferay.portal.kernel.exception.SystemException {
524                    return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
525                            mountPoint, parentFolderId, name, description, hidden,
526                            serviceContext);
527            }
528    
529            /**
530            * @deprecated As of 6.2.0, replaced by more general {@link #addFolder(long,
531            long, long, boolean, long, String, String, boolean,
532            ServiceContext)}
533            */
534            @Override
535            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
536                    long userId, long groupId, long repositoryId, boolean mountPoint,
537                    long parentFolderId, java.lang.String name,
538                    java.lang.String description,
539                    com.liferay.portal.service.ServiceContext serviceContext)
540                    throws com.liferay.portal.kernel.exception.PortalException,
541                            com.liferay.portal.kernel.exception.SystemException {
542                    return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
543                            mountPoint, parentFolderId, name, description, serviceContext);
544            }
545    
546            @Override
547            public void deleteAll(long groupId)
548                    throws com.liferay.portal.kernel.exception.PortalException,
549                            com.liferay.portal.kernel.exception.SystemException {
550                    _dlFolderLocalService.deleteAll(groupId);
551            }
552    
553            @Override
554            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
555                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
556                    throws com.liferay.portal.kernel.exception.PortalException,
557                            com.liferay.portal.kernel.exception.SystemException {
558                    return _dlFolderLocalService.deleteFolder(dlFolder);
559            }
560    
561            @Override
562            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
563                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
564                    boolean includeTrashedEntries)
565                    throws com.liferay.portal.kernel.exception.PortalException,
566                            com.liferay.portal.kernel.exception.SystemException {
567                    return _dlFolderLocalService.deleteFolder(dlFolder,
568                            includeTrashedEntries);
569            }
570    
571            @Override
572            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
573                    long folderId)
574                    throws com.liferay.portal.kernel.exception.PortalException,
575                            com.liferay.portal.kernel.exception.SystemException {
576                    return _dlFolderLocalService.deleteFolder(folderId);
577            }
578    
579            @Override
580            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
581                    long folderId, boolean includeTrashedEntries)
582                    throws com.liferay.portal.kernel.exception.PortalException,
583                            com.liferay.portal.kernel.exception.SystemException {
584                    return _dlFolderLocalService.deleteFolder(folderId,
585                            includeTrashedEntries);
586            }
587    
588            @Override
589            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
590                    long userId, long folderId, boolean includeTrashedEntries)
591                    throws com.liferay.portal.kernel.exception.PortalException,
592                            com.liferay.portal.kernel.exception.SystemException {
593                    return _dlFolderLocalService.deleteFolder(userId, folderId,
594                            includeTrashedEntries);
595            }
596    
597            @Override
598            public com.liferay.portlet.documentlibrary.model.DLFolder fetchFolder(
599                    long folderId)
600                    throws com.liferay.portal.kernel.exception.SystemException {
601                    return _dlFolderLocalService.fetchFolder(folderId);
602            }
603    
604            @Override
605            public com.liferay.portlet.documentlibrary.model.DLFolder fetchFolder(
606                    long groupId, long parentFolderId, java.lang.String name)
607                    throws com.liferay.portal.kernel.exception.SystemException {
608                    return _dlFolderLocalService.fetchFolder(groupId, parentFolderId, name);
609            }
610    
611            @Override
612            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
613                    long companyId, int start, int end)
614                    throws com.liferay.portal.kernel.exception.SystemException {
615                    return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
616            }
617    
618            @Override
619            public int getCompanyFoldersCount(long companyId)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    return _dlFolderLocalService.getCompanyFoldersCount(companyId);
622            }
623    
624            /**
625            * @deprecated As of 6.2.0, replaced by {@link
626            #getFileEntriesAndFileShortcuts(long, long, QueryDefinition)}
627            */
628            @Override
629            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
630                    long groupId, long folderId, int status, int start, int end)
631                    throws com.liferay.portal.kernel.exception.SystemException {
632                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
633                            folderId, status, start, end);
634            }
635    
636            @Override
637            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
638                    long groupId, long folderId,
639                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
640                    throws com.liferay.portal.kernel.exception.SystemException {
641                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
642                            folderId, queryDefinition);
643            }
644    
645            /**
646            * @deprecated As of 6.2.0, replaced by {@link
647            #getFileEntriesAndFileShortcutsCount(long, long,
648            QueryDefinition)}
649            */
650            @Override
651            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
652                    int status) throws com.liferay.portal.kernel.exception.SystemException {
653                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
654                            folderId, status);
655            }
656    
657            @Override
658            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
659                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
660                    throws com.liferay.portal.kernel.exception.SystemException {
661                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
662                            folderId, queryDefinition);
663            }
664    
665            @Override
666            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
667                    long folderId)
668                    throws com.liferay.portal.kernel.exception.PortalException,
669                            com.liferay.portal.kernel.exception.SystemException {
670                    return _dlFolderLocalService.getFolder(folderId);
671            }
672    
673            @Override
674            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
675                    long groupId, long parentFolderId, java.lang.String name)
676                    throws com.liferay.portal.kernel.exception.PortalException,
677                            com.liferay.portal.kernel.exception.SystemException {
678                    return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
679            }
680    
681            @Override
682            public long getFolderId(long companyId, long folderId)
683                    throws com.liferay.portal.kernel.exception.SystemException {
684                    return _dlFolderLocalService.getFolderId(companyId, folderId);
685            }
686    
687            @Override
688            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
689                    long groupId, long parentFolderId)
690                    throws com.liferay.portal.kernel.exception.SystemException {
691                    return _dlFolderLocalService.getFolders(groupId, parentFolderId);
692            }
693    
694            @Override
695            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
696                    long groupId, long parentFolderId, boolean includeMountfolders)
697                    throws com.liferay.portal.kernel.exception.SystemException {
698                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
699                            includeMountfolders);
700            }
701    
702            @Override
703            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
704                    long groupId, long parentFolderId, boolean includeMountfolders,
705                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
706                    throws com.liferay.portal.kernel.exception.SystemException {
707                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
708                            includeMountfolders, start, end, obc);
709            }
710    
711            @Override
712            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
713                    long groupId, long parentFolderId, int start, int end,
714                    com.liferay.portal.kernel.util.OrderByComparator obc)
715                    throws com.liferay.portal.kernel.exception.SystemException {
716                    return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
717                            end, obc);
718            }
719    
720            /**
721            * @deprecated As of 6.2.0, replaced by {@link
722            #getFoldersAndFileEntriesAndFileShortcuts(long, long,
723            String[], boolean, QueryDefinition)}
724            */
725            @Override
726            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
727                    long groupId, long folderId, int status, boolean includeMountFolders,
728                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
729                    throws com.liferay.portal.kernel.exception.SystemException {
730                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
731                            folderId, status, includeMountFolders, start, end, obc);
732            }
733    
734            /**
735            * @deprecated As of 6.2.0, replaced by {@link
736            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
737            String[], boolean, QueryDefinition)}
738            */
739            @Override
740            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
741                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
742                    boolean includeMountFolders, int start, int end,
743                    com.liferay.portal.kernel.util.OrderByComparator obc)
744                    throws com.liferay.portal.kernel.exception.SystemException {
745                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
746                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
747            }
748    
749            @Override
750            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
751                    long groupId, long folderId, java.lang.String[] mimeTypes,
752                    boolean includeMountFolders,
753                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
754                    throws com.liferay.portal.kernel.exception.SystemException {
755                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
756                            folderId, mimeTypes, includeMountFolders, queryDefinition);
757            }
758    
759            /**
760            * @deprecated As of 6.2.0, replaced by {@link
761            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
762            String[], boolean, QueryDefinition)}
763            */
764            @Override
765            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
766                    long folderId, int status, boolean includeMountFolders)
767                    throws com.liferay.portal.kernel.exception.SystemException {
768                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
769                            folderId, status, includeMountFolders);
770            }
771    
772            /**
773            * @deprecated As of 6.2.0, replaced by {@link
774            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
775            String[], boolean, QueryDefinition)}
776            */
777            @Override
778            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
779                    long folderId, int status, java.lang.String[] mimeTypes,
780                    boolean includeMountFolders)
781                    throws com.liferay.portal.kernel.exception.SystemException {
782                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
783                            folderId, status, mimeTypes, includeMountFolders);
784            }
785    
786            @Override
787            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
788                    long folderId, java.lang.String[] mimeTypes,
789                    boolean includeMountFolders,
790                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
791                    throws com.liferay.portal.kernel.exception.SystemException {
792                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
793                            folderId, mimeTypes, includeMountFolders, queryDefinition);
794            }
795    
796            @Override
797            public int getFoldersCount(long groupId, long parentFolderId)
798                    throws com.liferay.portal.kernel.exception.SystemException {
799                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
800            }
801    
802            @Override
803            public int getFoldersCount(long groupId, long parentFolderId,
804                    boolean includeMountfolders)
805                    throws com.liferay.portal.kernel.exception.SystemException {
806                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
807                            includeMountfolders);
808            }
809    
810            @Override
811            public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
812                    long repositoryId)
813                    throws com.liferay.portal.kernel.exception.PortalException,
814                            com.liferay.portal.kernel.exception.SystemException {
815                    return _dlFolderLocalService.getMountFolder(repositoryId);
816            }
817    
818            @Override
819            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
820                    long groupId, long parentFolderId, int start, int end,
821                    com.liferay.portal.kernel.util.OrderByComparator obc)
822                    throws com.liferay.portal.kernel.exception.SystemException {
823                    return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
824                            start, end, obc);
825            }
826    
827            @Override
828            public int getMountFoldersCount(long groupId, long parentFolderId)
829                    throws com.liferay.portal.kernel.exception.SystemException {
830                    return _dlFolderLocalService.getMountFoldersCount(groupId,
831                            parentFolderId);
832            }
833    
834            @Override
835            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getNoAssetFolders()
836                    throws com.liferay.portal.kernel.exception.SystemException {
837                    return _dlFolderLocalService.getNoAssetFolders();
838            }
839    
840            @Override
841            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
842                    long groupId, long folderId)
843                    throws com.liferay.portal.kernel.exception.SystemException {
844                    _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
845            }
846    
847            @Override
848            public boolean hasFolderLock(long userId, long folderId)
849                    throws com.liferay.portal.kernel.exception.SystemException {
850                    return _dlFolderLocalService.hasFolderLock(userId, folderId);
851            }
852    
853            @Override
854            public com.liferay.portal.model.Lock lockFolder(long userId, long folderId)
855                    throws com.liferay.portal.kernel.exception.PortalException,
856                            com.liferay.portal.kernel.exception.SystemException {
857                    return _dlFolderLocalService.lockFolder(userId, folderId);
858            }
859    
860            @Override
861            public com.liferay.portal.model.Lock lockFolder(long userId, long folderId,
862                    java.lang.String owner, boolean inheritable, long expirationTime)
863                    throws com.liferay.portal.kernel.exception.PortalException,
864                            com.liferay.portal.kernel.exception.SystemException {
865                    return _dlFolderLocalService.lockFolder(userId, folderId, owner,
866                            inheritable, expirationTime);
867            }
868    
869            @Override
870            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
871                    long userId, long folderId, long parentFolderId,
872                    com.liferay.portal.service.ServiceContext serviceContext)
873                    throws com.liferay.portal.kernel.exception.PortalException,
874                            com.liferay.portal.kernel.exception.SystemException {
875                    return _dlFolderLocalService.moveFolder(userId, folderId,
876                            parentFolderId, serviceContext);
877            }
878    
879            @Override
880            public void unlockFolder(long groupId, long parentFolderId,
881                    java.lang.String name, java.lang.String lockUuid)
882                    throws com.liferay.portal.kernel.exception.PortalException,
883                            com.liferay.portal.kernel.exception.SystemException {
884                    _dlFolderLocalService.unlockFolder(groupId, parentFolderId, name,
885                            lockUuid);
886            }
887    
888            @Override
889            public void unlockFolder(long folderId, java.lang.String lockUuid)
890                    throws com.liferay.portal.kernel.exception.PortalException,
891                            com.liferay.portal.kernel.exception.SystemException {
892                    _dlFolderLocalService.unlockFolder(folderId, lockUuid);
893            }
894    
895            @Override
896            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
897                    long folderId, long parentFolderId, java.lang.String name,
898                    java.lang.String description, long defaultFileEntryTypeId,
899                    java.util.List<java.lang.Long> fileEntryTypeIds,
900                    boolean overrideFileEntryTypes,
901                    com.liferay.portal.service.ServiceContext serviceContext)
902                    throws com.liferay.portal.kernel.exception.PortalException,
903                            com.liferay.portal.kernel.exception.SystemException {
904                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
905                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
906                            overrideFileEntryTypes, serviceContext);
907            }
908    
909            @Override
910            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
911                    long folderId, java.lang.String name, java.lang.String description,
912                    long defaultFileEntryTypeId,
913                    java.util.List<java.lang.Long> fileEntryTypeIds,
914                    boolean overrideFileEntryTypes,
915                    com.liferay.portal.service.ServiceContext serviceContext)
916                    throws com.liferay.portal.kernel.exception.PortalException,
917                            com.liferay.portal.kernel.exception.SystemException {
918                    return _dlFolderLocalService.updateFolder(folderId, name, description,
919                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
920                            serviceContext);
921            }
922    
923            @Override
924            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
925                    long userId, long folderId, long parentFolderId, java.lang.String name,
926                    java.lang.String description, long defaultFileEntryTypeId,
927                    java.util.List<java.lang.Long> fileEntryTypeIds,
928                    boolean overrideFileEntryTypes,
929                    com.liferay.portal.service.ServiceContext serviceContext)
930                    throws com.liferay.portal.kernel.exception.PortalException,
931                            com.liferay.portal.kernel.exception.SystemException {
932                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
933                            folderId, parentFolderId, name, description,
934                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
935                            serviceContext);
936            }
937    
938            /**
939            * @deprecated As of 6.2.0
940            */
941            @Override
942            public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
943                    throws com.liferay.portal.kernel.exception.PortalException,
944                            com.liferay.portal.kernel.exception.SystemException {
945                    _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
946            }
947    
948            @Override
949            public com.liferay.portlet.documentlibrary.model.DLFolder updateStatus(
950                    long userId, long folderId, int status,
951                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
952                    com.liferay.portal.service.ServiceContext serviceContext)
953                    throws com.liferay.portal.kernel.exception.PortalException,
954                            com.liferay.portal.kernel.exception.SystemException {
955                    return _dlFolderLocalService.updateStatus(userId, folderId, status,
956                            workflowContext, serviceContext);
957            }
958    
959            /**
960             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
961             */
962            public DLFolderLocalService getWrappedDLFolderLocalService() {
963                    return _dlFolderLocalService;
964            }
965    
966            /**
967             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
968             */
969            public void setWrappedDLFolderLocalService(
970                    DLFolderLocalService dlFolderLocalService) {
971                    _dlFolderLocalService = dlFolderLocalService;
972            }
973    
974            @Override
975            public DLFolderLocalService getWrappedService() {
976                    return _dlFolderLocalService;
977            }
978    
979            @Override
980            public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
981                    _dlFolderLocalService = dlFolderLocalService;
982            }
983    
984            private DLFolderLocalService _dlFolderLocalService;
985    }