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<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
620                    long groupId, long folderId, java.lang.String[] mimeTypes,
621                    boolean includeMountFolders,
622                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
623                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
624                            folderId, mimeTypes, includeMountFolders, queryDefinition);
625            }
626    
627            /**
628            * @deprecated As of 6.2.0, replaced by {@link
629            #getFoldersAndFileEntriesAndFileShortcuts(long, long,
630            String[], boolean, QueryDefinition)}
631            */
632            @Deprecated
633            @Override
634            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
635                    long groupId, long folderId, int status, boolean includeMountFolders,
636                    int start, int end,
637                    com.liferay.portal.kernel.util.OrderByComparator<?> obc) {
638                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
639                            folderId, status, includeMountFolders, start, end, obc);
640            }
641    
642            /**
643            * @deprecated As of 6.2.0, replaced by {@link
644            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
645            String[], boolean, QueryDefinition)}
646            */
647            @Deprecated
648            @Override
649            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
650                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
651                    boolean includeMountFolders, int start, int end,
652                    com.liferay.portal.kernel.util.OrderByComparator<?> obc) {
653                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
654                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
655            }
656    
657            @Override
658            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
659                    long folderId, java.lang.String[] mimeTypes,
660                    boolean includeMountFolders,
661                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
662                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
663                            folderId, mimeTypes, includeMountFolders, queryDefinition);
664            }
665    
666            /**
667            * @deprecated As of 6.2.0, replaced by {@link
668            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
669            String[], boolean, QueryDefinition)}
670            */
671            @Deprecated
672            @Override
673            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
674                    long folderId, int status, boolean includeMountFolders) {
675                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
676                            folderId, status, includeMountFolders);
677            }
678    
679            /**
680            * @deprecated As of 6.2.0, replaced by {@link
681            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
682            String[], boolean, QueryDefinition)}
683            */
684            @Deprecated
685            @Override
686            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
687                    long folderId, int status, java.lang.String[] mimeTypes,
688                    boolean includeMountFolders) {
689                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
690                            folderId, status, mimeTypes, includeMountFolders);
691            }
692    
693            @Override
694            public int getFoldersCount(long groupId, long parentFolderId) {
695                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
696            }
697    
698            @Override
699            public int getFoldersCount(long groupId, long parentFolderId,
700                    boolean includeMountfolders) {
701                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
702                            includeMountfolders);
703            }
704    
705            @Override
706            public int getFoldersCount(long groupId, long parentFolderId, int status,
707                    boolean includeMountfolders) {
708                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
709                            status, includeMountfolders);
710            }
711    
712            @Override
713            public java.util.List<java.lang.Long> getGroupFolderIds(long groupId,
714                    long parentFolderId) {
715                    return _dlFolderLocalService.getGroupFolderIds(groupId, parentFolderId);
716            }
717    
718            @Override
719            public void getGroupSubfolderIds(java.util.List<java.lang.Long> folderIds,
720                    long groupId, long folderId) {
721                    _dlFolderLocalService.getGroupSubfolderIds(folderIds, groupId, folderId);
722            }
723    
724            @Override
725            public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
726                    long repositoryId)
727                    throws com.liferay.portal.kernel.exception.PortalException {
728                    return _dlFolderLocalService.getMountFolder(repositoryId);
729            }
730    
731            @Override
732            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
733                    long groupId, long parentFolderId, int start, int end,
734                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
735                    return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
736                            start, end, obc);
737            }
738    
739            @Override
740            public int getMountFoldersCount(long groupId, long parentFolderId) {
741                    return _dlFolderLocalService.getMountFoldersCount(groupId,
742                            parentFolderId);
743            }
744    
745            @Override
746            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getNoAssetFolders() {
747                    return _dlFolderLocalService.getNoAssetFolders();
748            }
749    
750            @Override
751            public com.liferay.portal.model.PersistedModel getPersistedModel(
752                    java.io.Serializable primaryKeyObj)
753                    throws com.liferay.portal.kernel.exception.PortalException {
754                    return _dlFolderLocalService.getPersistedModel(primaryKeyObj);
755            }
756    
757            @Override
758            public java.util.List<java.lang.Long> getRepositoryFolderIds(
759                    long repositoryId, long parentFolderId) {
760                    return _dlFolderLocalService.getRepositoryFolderIds(repositoryId,
761                            parentFolderId);
762            }
763    
764            @Override
765            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getRepositoryFolders(
766                    long repositoryId, int start, int end) {
767                    return _dlFolderLocalService.getRepositoryFolders(repositoryId, start,
768                            end);
769            }
770    
771            @Override
772            public int getRepositoryFoldersCount(long repositoryId) {
773                    return _dlFolderLocalService.getRepositoryFoldersCount(repositoryId);
774            }
775    
776            @Override
777            public void getRepositorySubfolderIds(
778                    java.util.List<java.lang.Long> folderIds, long repositoryId,
779                    long folderId) {
780                    _dlFolderLocalService.getRepositorySubfolderIds(folderIds,
781                            repositoryId, folderId);
782            }
783    
784            /**
785            * @deprecated As of 7.0.0, replaced by {@link #getGroupSubfolderIds(List,
786            long, long)}
787            */
788            @Deprecated
789            @Override
790            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
791                    long groupId, long folderId) {
792                    _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
793            }
794    
795            @Override
796            public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
797                    long folderId) {
798                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolder(fileEntryTypeId,
799                            folderId);
800            }
801    
802            @Override
803            public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId) {
804                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolders(fileEntryTypeId);
805            }
806    
807            @Override
808            public boolean hasFolderLock(long userId, long folderId) {
809                    return _dlFolderLocalService.hasFolderLock(userId, folderId);
810            }
811    
812            @Override
813            public com.liferay.portal.kernel.lock.Lock lockFolder(long userId,
814                    long folderId)
815                    throws com.liferay.portal.kernel.exception.PortalException {
816                    return _dlFolderLocalService.lockFolder(userId, folderId);
817            }
818    
819            @Override
820            public com.liferay.portal.kernel.lock.Lock lockFolder(long userId,
821                    long folderId, java.lang.String owner, boolean inheritable,
822                    long expirationTime)
823                    throws com.liferay.portal.kernel.exception.PortalException {
824                    return _dlFolderLocalService.lockFolder(userId, folderId, owner,
825                            inheritable, expirationTime);
826            }
827    
828            @Override
829            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
830                    long userId, long folderId, long parentFolderId,
831                    com.liferay.portal.service.ServiceContext serviceContext)
832                    throws com.liferay.portal.kernel.exception.PortalException {
833                    return _dlFolderLocalService.moveFolder(userId, folderId,
834                            parentFolderId, serviceContext);
835            }
836    
837            @Override
838            public void rebuildTree(long companyId)
839                    throws com.liferay.portal.kernel.exception.PortalException {
840                    _dlFolderLocalService.rebuildTree(companyId);
841            }
842    
843            @Override
844            public void rebuildTree(long companyId, long parentFolderId,
845                    java.lang.String parentTreePath, boolean reindex)
846                    throws com.liferay.portal.kernel.exception.PortalException {
847                    _dlFolderLocalService.rebuildTree(companyId, parentFolderId,
848                            parentTreePath, reindex);
849            }
850    
851            /**
852            * Sets the Spring bean ID for this bean.
853            *
854            * @param beanIdentifier the Spring bean ID for this bean
855            */
856            @Override
857            public void setBeanIdentifier(java.lang.String beanIdentifier) {
858                    _dlFolderLocalService.setBeanIdentifier(beanIdentifier);
859            }
860    
861            @Override
862            public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
863                    long[] folderIds) {
864                    _dlFolderLocalService.setDLFileEntryTypeDLFolders(fileEntryTypeId,
865                            folderIds);
866            }
867    
868            @Override
869            public void unlockFolder(long folderId, java.lang.String lockUuid)
870                    throws com.liferay.portal.kernel.exception.PortalException {
871                    _dlFolderLocalService.unlockFolder(folderId, lockUuid);
872            }
873    
874            @Override
875            public void unlockFolder(long groupId, long parentFolderId,
876                    java.lang.String name, java.lang.String lockUuid)
877                    throws com.liferay.portal.kernel.exception.PortalException {
878                    _dlFolderLocalService.unlockFolder(groupId, parentFolderId, name,
879                            lockUuid);
880            }
881    
882            /**
883            * Updates the document library folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
884            *
885            * @param dlFolder the document library folder
886            * @return the document library folder that was updated
887            */
888            @Override
889            public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
890                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
891                    return _dlFolderLocalService.updateDLFolder(dlFolder);
892            }
893    
894            /**
895            * @deprecated As of 7.0.0, replaced {@link #updateFolder(long, long,
896            String, String, long, List, int, ServiceContext)}
897            */
898            @Deprecated
899            @Override
900            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
901                    long folderId, java.lang.String name, java.lang.String description,
902                    long defaultFileEntryTypeId,
903                    java.util.List<java.lang.Long> fileEntryTypeIds,
904                    boolean overrideFileEntryTypes,
905                    com.liferay.portal.service.ServiceContext serviceContext)
906                    throws com.liferay.portal.kernel.exception.PortalException {
907                    return _dlFolderLocalService.updateFolder(folderId, name, description,
908                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
909                            serviceContext);
910            }
911    
912            @Override
913            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
914                    long folderId, java.lang.String name, java.lang.String description,
915                    long defaultFileEntryTypeId,
916                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
917                    com.liferay.portal.service.ServiceContext serviceContext)
918                    throws com.liferay.portal.kernel.exception.PortalException {
919                    return _dlFolderLocalService.updateFolder(folderId, name, description,
920                            defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
921                            serviceContext);
922            }
923    
924            /**
925            * @deprecated As of 7.0.0, replaced by {@link #updateFolder(long, long,
926            String, String, long, List, int, ServiceContext)}
927            */
928            @Deprecated
929            @Override
930            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
931                    long folderId, long parentFolderId, java.lang.String name,
932                    java.lang.String description, long defaultFileEntryTypeId,
933                    java.util.List<java.lang.Long> fileEntryTypeIds,
934                    boolean overrideFileEntryTypes,
935                    com.liferay.portal.service.ServiceContext serviceContext)
936                    throws com.liferay.portal.kernel.exception.PortalException {
937                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
938                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
939                            overrideFileEntryTypes, serviceContext);
940            }
941    
942            @Override
943            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
944                    long folderId, long parentFolderId, java.lang.String name,
945                    java.lang.String description, long defaultFileEntryTypeId,
946                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
947                    com.liferay.portal.service.ServiceContext serviceContext)
948                    throws com.liferay.portal.kernel.exception.PortalException {
949                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
950                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
951                            restrictionType, serviceContext);
952            }
953    
954            /**
955            * @deprecated As of 7.0.0, replaced by {@link #
956            updateFolderAndFileEntryTypes(long, long, long, String,
957            String, long, List, int, ServiceContext)}
958            */
959            @Deprecated
960            @Override
961            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
962                    long userId, long folderId, long parentFolderId, java.lang.String name,
963                    java.lang.String description, long defaultFileEntryTypeId,
964                    java.util.List<java.lang.Long> fileEntryTypeIds,
965                    boolean overrideFileEntryTypes,
966                    com.liferay.portal.service.ServiceContext serviceContext)
967                    throws com.liferay.portal.kernel.exception.PortalException {
968                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
969                            folderId, parentFolderId, name, description,
970                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
971                            serviceContext);
972            }
973    
974            @Override
975            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
976                    long userId, long folderId, long parentFolderId, java.lang.String name,
977                    java.lang.String description, long defaultFileEntryTypeId,
978                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
979                    com.liferay.portal.service.ServiceContext serviceContext)
980                    throws com.liferay.portal.kernel.exception.PortalException {
981                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
982                            folderId, parentFolderId, name, description,
983                            defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
984                            serviceContext);
985            }
986    
987            @Override
988            public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
989                    throws com.liferay.portal.kernel.exception.PortalException {
990                    _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
991            }
992    
993            @Override
994            public com.liferay.portlet.documentlibrary.model.DLFolder updateStatus(
995                    long userId, long folderId, int status,
996                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
997                    com.liferay.portal.service.ServiceContext serviceContext)
998                    throws com.liferay.portal.kernel.exception.PortalException {
999                    return _dlFolderLocalService.updateStatus(userId, folderId, status,
1000                            workflowContext, serviceContext);
1001            }
1002    
1003            /**
1004             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
1005             */
1006            @Deprecated
1007            public DLFolderLocalService getWrappedDLFolderLocalService() {
1008                    return _dlFolderLocalService;
1009            }
1010    
1011            /**
1012             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
1013             */
1014            @Deprecated
1015            public void setWrappedDLFolderLocalService(
1016                    DLFolderLocalService dlFolderLocalService) {
1017                    _dlFolderLocalService = dlFolderLocalService;
1018            }
1019    
1020            @Override
1021            public DLFolderLocalService getWrappedService() {
1022                    return _dlFolderLocalService;
1023            }
1024    
1025            @Override
1026            public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
1027                    _dlFolderLocalService = dlFolderLocalService;
1028            }
1029    
1030            private DLFolderLocalService _dlFolderLocalService;
1031    }