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