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            @Override
367            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
368                    long companyId, int start, int end) {
369                    return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
370            }
371    
372            @Override
373            public int getCompanyFoldersCount(long companyId) {
374                    return _dlFolderLocalService.getCompanyFoldersCount(companyId);
375            }
376    
377            @Override
378            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
379                    long fileEntryTypeId) {
380                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId);
381            }
382    
383            @Override
384            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
385                    long fileEntryTypeId, int start, int end) {
386                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
387                            start, end);
388            }
389    
390            @Override
391            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
392                    long fileEntryTypeId, int start, int end,
393                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) {
394                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
395                            start, end, orderByComparator);
396            }
397    
398            @Override
399            public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId) {
400                    return _dlFolderLocalService.getDLFileEntryTypeDLFoldersCount(fileEntryTypeId);
401            }
402    
403            /**
404            * Returns the fileEntryTypeIds of the document library file entry types associated with the document library folder.
405            *
406            * @param folderId the folderId of the document library folder
407            * @return long[] the fileEntryTypeIds of document library file entry types associated with the document library folder
408            */
409            @Override
410            public long[] getDLFileEntryTypePrimaryKeys(long folderId) {
411                    return _dlFolderLocalService.getDLFileEntryTypePrimaryKeys(folderId);
412            }
413    
414            /**
415            * Returns the document library folder with the primary key.
416            *
417            * @param folderId the primary key of the document library folder
418            * @return the document library folder
419            * @throws PortalException if a document library folder with the primary key could not be found
420            */
421            @Override
422            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
423                    long folderId)
424                    throws com.liferay.portal.kernel.exception.PortalException {
425                    return _dlFolderLocalService.getDLFolder(folderId);
426            }
427    
428            /**
429            * Returns the document library folder matching the UUID and group.
430            *
431            * @param uuid the document library folder's UUID
432            * @param groupId the primary key of the group
433            * @return the matching document library folder
434            * @throws PortalException if a matching document library folder could not be found
435            */
436            @Override
437            public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
438                    java.lang.String uuid, long groupId)
439                    throws com.liferay.portal.kernel.exception.PortalException {
440                    return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
441            }
442    
443            /**
444            * Returns a range of all the document library folders.
445            *
446            * <p>
447            * 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.
448            * </p>
449            *
450            * @param start the lower bound of the range of document library folders
451            * @param end the upper bound of the range of document library folders (not inclusive)
452            * @return the range of document library folders
453            */
454            @Override
455            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
456                    int start, int end) {
457                    return _dlFolderLocalService.getDLFolders(start, end);
458            }
459    
460            /**
461            * Returns all the document library folders matching the UUID and company.
462            *
463            * @param uuid the UUID of the document library folders
464            * @param companyId the primary key of the company
465            * @return the matching document library folders, or an empty list if no matches were found
466            */
467            @Override
468            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFoldersByUuidAndCompanyId(
469                    java.lang.String uuid, long companyId) {
470                    return _dlFolderLocalService.getDLFoldersByUuidAndCompanyId(uuid,
471                            companyId);
472            }
473    
474            /**
475            * Returns a range of document library folders matching the UUID and company.
476            *
477            * @param uuid the UUID of the document library folders
478            * @param companyId the primary key of the company
479            * @param start the lower bound of the range of document library folders
480            * @param end the upper bound of the range of document library folders (not inclusive)
481            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
482            * @return the range of matching document library folders, or an empty list if no matches were found
483            */
484            @Override
485            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFoldersByUuidAndCompanyId(
486                    java.lang.String uuid, long companyId, int start, int end,
487                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator) {
488                    return _dlFolderLocalService.getDLFoldersByUuidAndCompanyId(uuid,
489                            companyId, start, end, orderByComparator);
490            }
491    
492            /**
493            * Returns the number of document library folders.
494            *
495            * @return the number of document library folders
496            */
497            @Override
498            public int getDLFoldersCount() {
499                    return _dlFolderLocalService.getDLFoldersCount();
500            }
501    
502            @Override
503            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
504                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
505                    return _dlFolderLocalService.getExportActionableDynamicQuery(portletDataContext);
506            }
507    
508            @Override
509            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
510                    long groupId, long folderId,
511                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
512                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
513                            folderId, queryDefinition);
514            }
515    
516            /**
517            * @deprecated As of 6.2.0, replaced by {@link
518            #getFileEntriesAndFileShortcuts(long, long, QueryDefinition)}
519            */
520            @Deprecated
521            @Override
522            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
523                    long groupId, long folderId, int status, int start, int end) {
524                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
525                            folderId, status, start, end);
526            }
527    
528            @Override
529            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
530                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
531                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
532                            folderId, queryDefinition);
533            }
534    
535            /**
536            * @deprecated As of 6.2.0, replaced by {@link
537            #getFileEntriesAndFileShortcutsCount(long, long,
538            QueryDefinition)}
539            */
540            @Deprecated
541            @Override
542            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
543                    int status) {
544                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
545                            folderId, status);
546            }
547    
548            @Override
549            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
550                    long folderId)
551                    throws com.liferay.portal.kernel.exception.PortalException {
552                    return _dlFolderLocalService.getFolder(folderId);
553            }
554    
555            @Override
556            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
557                    long groupId, long parentFolderId, java.lang.String name)
558                    throws com.liferay.portal.kernel.exception.PortalException {
559                    return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
560            }
561    
562            @Override
563            public long getFolderId(long companyId, long folderId) {
564                    return _dlFolderLocalService.getFolderId(companyId, folderId);
565            }
566    
567            /**
568            * @deprecated As of 7.0.0, replaced by {@link #getGroupFolderIds(long,
569            long)}
570            */
571            @Deprecated
572            @Override
573            public java.util.List<java.lang.Long> getFolderIds(long groupId,
574                    long parentFolderId) {
575                    return _dlFolderLocalService.getFolderIds(groupId, parentFolderId);
576            }
577    
578            @Override
579            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
580                    long groupId, long parentFolderId) {
581                    return _dlFolderLocalService.getFolders(groupId, parentFolderId);
582            }
583    
584            @Override
585            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
586                    long groupId, long parentFolderId, boolean includeMountfolders) {
587                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
588                            includeMountfolders);
589            }
590    
591            @Override
592            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
593                    long groupId, long parentFolderId, boolean includeMountfolders,
594                    int start, int end,
595                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
596                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
597                            includeMountfolders, start, end, obc);
598            }
599    
600            @Override
601            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
602                    long groupId, long parentFolderId, int start, int end,
603                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
604                    return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
605                            end, obc);
606            }
607    
608            @Override
609            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
610                    long groupId, long parentFolderId, int status,
611                    boolean includeMountfolders, int start, int end,
612                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
613                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
614                            status, includeMountfolders, start, end, obc);
615            }
616    
617            @Override
618            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
619                    long groupId, long folderId, java.lang.String[] mimeTypes,
620                    boolean includeMountFolders,
621                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
622                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
623                            folderId, mimeTypes, includeMountFolders, queryDefinition);
624            }
625    
626            /**
627            * @deprecated As of 6.2.0, replaced by {@link
628            #getFoldersAndFileEntriesAndFileShortcuts(long, long,
629            String[], boolean, QueryDefinition)}
630            */
631            @Deprecated
632            @Override
633            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
634                    long groupId, long folderId, int status, boolean includeMountFolders,
635                    int start, int end,
636                    com.liferay.portal.kernel.util.OrderByComparator<?> obc) {
637                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
638                            folderId, status, includeMountFolders, start, end, obc);
639            }
640    
641            /**
642            * @deprecated As of 6.2.0, replaced by {@link
643            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
644            String[], boolean, QueryDefinition)}
645            */
646            @Deprecated
647            @Override
648            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
649                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
650                    boolean includeMountFolders, int start, int end,
651                    com.liferay.portal.kernel.util.OrderByComparator<?> obc) {
652                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
653                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
654            }
655    
656            @Override
657            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
658                    long folderId, java.lang.String[] mimeTypes,
659                    boolean includeMountFolders,
660                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
661                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
662                            folderId, mimeTypes, includeMountFolders, queryDefinition);
663            }
664    
665            /**
666            * @deprecated As of 6.2.0, replaced by {@link
667            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
668            String[], boolean, QueryDefinition)}
669            */
670            @Deprecated
671            @Override
672            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
673                    long folderId, int status, boolean includeMountFolders) {
674                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
675                            folderId, status, includeMountFolders);
676            }
677    
678            /**
679            * @deprecated As of 6.2.0, replaced by {@link
680            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
681            String[], boolean, QueryDefinition)}
682            */
683            @Deprecated
684            @Override
685            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
686                    long folderId, int status, java.lang.String[] mimeTypes,
687                    boolean includeMountFolders) {
688                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
689                            folderId, status, mimeTypes, includeMountFolders);
690            }
691    
692            @Override
693            public int getFoldersCount(long groupId, long parentFolderId) {
694                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
695            }
696    
697            @Override
698            public int getFoldersCount(long groupId, long parentFolderId,
699                    boolean includeMountfolders) {
700                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
701                            includeMountfolders);
702            }
703    
704            @Override
705            public int getFoldersCount(long groupId, long parentFolderId, int status,
706                    boolean includeMountfolders) {
707                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
708                            status, includeMountfolders);
709            }
710    
711            @Override
712            public java.util.List<java.lang.Long> getGroupFolderIds(long groupId,
713                    long parentFolderId) {
714                    return _dlFolderLocalService.getGroupFolderIds(groupId, parentFolderId);
715            }
716    
717            @Override
718            public void getGroupSubfolderIds(java.util.List<java.lang.Long> folderIds,
719                    long groupId, long folderId) {
720                    _dlFolderLocalService.getGroupSubfolderIds(folderIds, groupId, folderId);
721            }
722    
723            @Override
724            public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
725                    long repositoryId)
726                    throws com.liferay.portal.kernel.exception.PortalException {
727                    return _dlFolderLocalService.getMountFolder(repositoryId);
728            }
729    
730            @Override
731            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
732                    long groupId, long parentFolderId, int start, int end,
733                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
734                    return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
735                            start, end, obc);
736            }
737    
738            @Override
739            public int getMountFoldersCount(long groupId, long parentFolderId) {
740                    return _dlFolderLocalService.getMountFoldersCount(groupId,
741                            parentFolderId);
742            }
743    
744            @Override
745            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getNoAssetFolders() {
746                    return _dlFolderLocalService.getNoAssetFolders();
747            }
748    
749            /**
750            * Returns the OSGi service identifier.
751            *
752            * @return the OSGi service identifier
753            */
754            @Override
755            public java.lang.String getOSGiServiceIdentifier() {
756                    return _dlFolderLocalService.getOSGiServiceIdentifier();
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            @Override
861            public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
862                    long[] folderIds) {
863                    _dlFolderLocalService.setDLFileEntryTypeDLFolders(fileEntryTypeId,
864                            folderIds);
865            }
866    
867            @Override
868            public void unlockFolder(long folderId, java.lang.String lockUuid)
869                    throws com.liferay.portal.kernel.exception.PortalException {
870                    _dlFolderLocalService.unlockFolder(folderId, lockUuid);
871            }
872    
873            @Override
874            public void unlockFolder(long groupId, long parentFolderId,
875                    java.lang.String name, java.lang.String lockUuid)
876                    throws com.liferay.portal.kernel.exception.PortalException {
877                    _dlFolderLocalService.unlockFolder(groupId, parentFolderId, name,
878                            lockUuid);
879            }
880    
881            /**
882            * Updates the document library folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
883            *
884            * @param dlFolder the document library folder
885            * @return the document library folder that was updated
886            */
887            @Override
888            public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
889                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
890                    return _dlFolderLocalService.updateDLFolder(dlFolder);
891            }
892    
893            /**
894            * @deprecated As of 7.0.0, replaced {@link #updateFolder(long, long,
895            String, String, long, List, int, ServiceContext)}
896            */
897            @Deprecated
898            @Override
899            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
900                    long folderId, java.lang.String name, java.lang.String description,
901                    long defaultFileEntryTypeId,
902                    java.util.List<java.lang.Long> fileEntryTypeIds,
903                    boolean overrideFileEntryTypes,
904                    com.liferay.portal.service.ServiceContext serviceContext)
905                    throws com.liferay.portal.kernel.exception.PortalException {
906                    return _dlFolderLocalService.updateFolder(folderId, name, description,
907                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
908                            serviceContext);
909            }
910    
911            @Override
912            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
913                    long folderId, java.lang.String name, java.lang.String description,
914                    long defaultFileEntryTypeId,
915                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
916                    com.liferay.portal.service.ServiceContext serviceContext)
917                    throws com.liferay.portal.kernel.exception.PortalException {
918                    return _dlFolderLocalService.updateFolder(folderId, name, description,
919                            defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
920                            serviceContext);
921            }
922    
923            /**
924            * @deprecated As of 7.0.0, replaced by {@link #updateFolder(long, long,
925            String, String, long, List, int, ServiceContext)}
926            */
927            @Deprecated
928            @Override
929            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
930                    long folderId, long parentFolderId, java.lang.String name,
931                    java.lang.String description, long defaultFileEntryTypeId,
932                    java.util.List<java.lang.Long> fileEntryTypeIds,
933                    boolean overrideFileEntryTypes,
934                    com.liferay.portal.service.ServiceContext serviceContext)
935                    throws com.liferay.portal.kernel.exception.PortalException {
936                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
937                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
938                            overrideFileEntryTypes, serviceContext);
939            }
940    
941            @Override
942            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
943                    long folderId, long parentFolderId, java.lang.String name,
944                    java.lang.String description, long defaultFileEntryTypeId,
945                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
946                    com.liferay.portal.service.ServiceContext serviceContext)
947                    throws com.liferay.portal.kernel.exception.PortalException {
948                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
949                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
950                            restrictionType, serviceContext);
951            }
952    
953            /**
954            * @deprecated As of 7.0.0, replaced by {@link #
955            updateFolderAndFileEntryTypes(long, long, long, String,
956            String, long, List, int, ServiceContext)}
957            */
958            @Deprecated
959            @Override
960            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
961                    long userId, long folderId, long parentFolderId, java.lang.String name,
962                    java.lang.String description, long defaultFileEntryTypeId,
963                    java.util.List<java.lang.Long> fileEntryTypeIds,
964                    boolean overrideFileEntryTypes,
965                    com.liferay.portal.service.ServiceContext serviceContext)
966                    throws com.liferay.portal.kernel.exception.PortalException {
967                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
968                            folderId, parentFolderId, name, description,
969                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
970                            serviceContext);
971            }
972    
973            @Override
974            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
975                    long userId, long folderId, long parentFolderId, java.lang.String name,
976                    java.lang.String description, long defaultFileEntryTypeId,
977                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
978                    com.liferay.portal.service.ServiceContext serviceContext)
979                    throws com.liferay.portal.kernel.exception.PortalException {
980                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
981                            folderId, parentFolderId, name, description,
982                            defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
983                            serviceContext);
984            }
985    
986            @Override
987            public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
988                    throws com.liferay.portal.kernel.exception.PortalException {
989                    _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
990            }
991    
992            @Override
993            public com.liferay.portlet.documentlibrary.model.DLFolder updateStatus(
994                    long userId, long folderId, int status,
995                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
996                    com.liferay.portal.service.ServiceContext serviceContext)
997                    throws com.liferay.portal.kernel.exception.PortalException {
998                    return _dlFolderLocalService.updateStatus(userId, folderId, status,
999                            workflowContext, serviceContext);
1000            }
1001    
1002            /**
1003             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
1004             */
1005            @Deprecated
1006            public DLFolderLocalService getWrappedDLFolderLocalService() {
1007                    return _dlFolderLocalService;
1008            }
1009    
1010            /**
1011             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
1012             */
1013            @Deprecated
1014            public void setWrappedDLFolderLocalService(
1015                    DLFolderLocalService dlFolderLocalService) {
1016                    _dlFolderLocalService = dlFolderLocalService;
1017            }
1018    
1019            @Override
1020            public DLFolderLocalService getWrappedService() {
1021                    return _dlFolderLocalService;
1022            }
1023    
1024            @Override
1025            public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
1026                    _dlFolderLocalService = dlFolderLocalService;
1027            }
1028    
1029            private DLFolderLocalService _dlFolderLocalService;
1030    }