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