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