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