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.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
725                    return _dlFolderLocalService.getIndexableActionableDynamicQuery();
726            }
727    
728            @Override
729            public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
730                    long repositoryId)
731                    throws com.liferay.portal.kernel.exception.PortalException {
732                    return _dlFolderLocalService.getMountFolder(repositoryId);
733            }
734    
735            @Override
736            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
737                    long groupId, long parentFolderId, int start, int end,
738                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> obc) {
739                    return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
740                            start, end, obc);
741            }
742    
743            @Override
744            public int getMountFoldersCount(long groupId, long parentFolderId) {
745                    return _dlFolderLocalService.getMountFoldersCount(groupId,
746                            parentFolderId);
747            }
748    
749            @Override
750            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getNoAssetFolders() {
751                    return _dlFolderLocalService.getNoAssetFolders();
752            }
753    
754            /**
755            * Returns the OSGi service identifier.
756            *
757            * @return the OSGi service identifier
758            */
759            @Override
760            public java.lang.String getOSGiServiceIdentifier() {
761                    return _dlFolderLocalService.getOSGiServiceIdentifier();
762            }
763    
764            @Override
765            public com.liferay.portal.model.PersistedModel getPersistedModel(
766                    java.io.Serializable primaryKeyObj)
767                    throws com.liferay.portal.kernel.exception.PortalException {
768                    return _dlFolderLocalService.getPersistedModel(primaryKeyObj);
769            }
770    
771            @Override
772            public java.util.List<java.lang.Long> getRepositoryFolderIds(
773                    long repositoryId, long parentFolderId) {
774                    return _dlFolderLocalService.getRepositoryFolderIds(repositoryId,
775                            parentFolderId);
776            }
777    
778            @Override
779            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getRepositoryFolders(
780                    long repositoryId, int start, int end) {
781                    return _dlFolderLocalService.getRepositoryFolders(repositoryId, start,
782                            end);
783            }
784    
785            @Override
786            public int getRepositoryFoldersCount(long repositoryId) {
787                    return _dlFolderLocalService.getRepositoryFoldersCount(repositoryId);
788            }
789    
790            @Override
791            public void getRepositorySubfolderIds(
792                    java.util.List<java.lang.Long> folderIds, long repositoryId,
793                    long folderId) {
794                    _dlFolderLocalService.getRepositorySubfolderIds(folderIds,
795                            repositoryId, folderId);
796            }
797    
798            /**
799            * @deprecated As of 7.0.0, replaced by {@link #getGroupSubfolderIds(List,
800            long, long)}
801            */
802            @Deprecated
803            @Override
804            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
805                    long groupId, long folderId) {
806                    _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
807            }
808    
809            @Override
810            public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
811                    long folderId) {
812                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolder(fileEntryTypeId,
813                            folderId);
814            }
815    
816            @Override
817            public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId) {
818                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolders(fileEntryTypeId);
819            }
820    
821            @Override
822            public boolean hasFolderLock(long userId, long folderId) {
823                    return _dlFolderLocalService.hasFolderLock(userId, folderId);
824            }
825    
826            @Override
827            public boolean hasInheritableLock(long folderId)
828                    throws com.liferay.portal.kernel.exception.PortalException {
829                    return _dlFolderLocalService.hasInheritableLock(folderId);
830            }
831    
832            @Override
833            public com.liferay.portal.kernel.lock.Lock lockFolder(long userId,
834                    long folderId)
835                    throws com.liferay.portal.kernel.exception.PortalException {
836                    return _dlFolderLocalService.lockFolder(userId, folderId);
837            }
838    
839            @Override
840            public com.liferay.portal.kernel.lock.Lock lockFolder(long userId,
841                    long folderId, java.lang.String owner, boolean inheritable,
842                    long expirationTime)
843                    throws com.liferay.portal.kernel.exception.PortalException {
844                    return _dlFolderLocalService.lockFolder(userId, folderId, owner,
845                            inheritable, expirationTime);
846            }
847    
848            @Override
849            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
850                    long userId, long folderId, long parentFolderId,
851                    com.liferay.portal.service.ServiceContext serviceContext)
852                    throws com.liferay.portal.kernel.exception.PortalException {
853                    return _dlFolderLocalService.moveFolder(userId, folderId,
854                            parentFolderId, serviceContext);
855            }
856    
857            @Override
858            public void rebuildTree(long companyId)
859                    throws com.liferay.portal.kernel.exception.PortalException {
860                    _dlFolderLocalService.rebuildTree(companyId);
861            }
862    
863            @Override
864            public void rebuildTree(long companyId, long parentFolderId,
865                    java.lang.String parentTreePath, boolean reindex)
866                    throws com.liferay.portal.kernel.exception.PortalException {
867                    _dlFolderLocalService.rebuildTree(companyId, parentFolderId,
868                            parentTreePath, reindex);
869            }
870    
871            @Override
872            public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
873                    long[] folderIds) {
874                    _dlFolderLocalService.setDLFileEntryTypeDLFolders(fileEntryTypeId,
875                            folderIds);
876            }
877    
878            @Override
879            public void unlockFolder(long folderId, java.lang.String lockUuid)
880                    throws com.liferay.portal.kernel.exception.PortalException {
881                    _dlFolderLocalService.unlockFolder(folderId, lockUuid);
882            }
883    
884            @Override
885            public void unlockFolder(long groupId, long parentFolderId,
886                    java.lang.String name, java.lang.String lockUuid)
887                    throws com.liferay.portal.kernel.exception.PortalException {
888                    _dlFolderLocalService.unlockFolder(groupId, parentFolderId, name,
889                            lockUuid);
890            }
891    
892            /**
893            * Updates the document library folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
894            *
895            * @param dlFolder the document library folder
896            * @return the document library folder that was updated
897            */
898            @Override
899            public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
900                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) {
901                    return _dlFolderLocalService.updateDLFolder(dlFolder);
902            }
903    
904            /**
905            * @deprecated As of 7.0.0, replaced {@link #updateFolder(long, long,
906            String, String, long, List, int, ServiceContext)}
907            */
908            @Deprecated
909            @Override
910            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
911                    long folderId, java.lang.String name, java.lang.String description,
912                    long defaultFileEntryTypeId,
913                    java.util.List<java.lang.Long> fileEntryTypeIds,
914                    boolean overrideFileEntryTypes,
915                    com.liferay.portal.service.ServiceContext serviceContext)
916                    throws com.liferay.portal.kernel.exception.PortalException {
917                    return _dlFolderLocalService.updateFolder(folderId, name, description,
918                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
919                            serviceContext);
920            }
921    
922            @Override
923            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
924                    long folderId, java.lang.String name, java.lang.String description,
925                    long defaultFileEntryTypeId,
926                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
927                    com.liferay.portal.service.ServiceContext serviceContext)
928                    throws com.liferay.portal.kernel.exception.PortalException {
929                    return _dlFolderLocalService.updateFolder(folderId, name, description,
930                            defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
931                            serviceContext);
932            }
933    
934            /**
935            * @deprecated As of 7.0.0, replaced by {@link #updateFolder(long, long,
936            String, String, long, List, int, ServiceContext)}
937            */
938            @Deprecated
939            @Override
940            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
941                    long folderId, long parentFolderId, java.lang.String name,
942                    java.lang.String description, long defaultFileEntryTypeId,
943                    java.util.List<java.lang.Long> fileEntryTypeIds,
944                    boolean overrideFileEntryTypes,
945                    com.liferay.portal.service.ServiceContext serviceContext)
946                    throws com.liferay.portal.kernel.exception.PortalException {
947                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
948                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
949                            overrideFileEntryTypes, serviceContext);
950            }
951    
952            @Override
953            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
954                    long folderId, long parentFolderId, java.lang.String name,
955                    java.lang.String description, long defaultFileEntryTypeId,
956                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
957                    com.liferay.portal.service.ServiceContext serviceContext)
958                    throws com.liferay.portal.kernel.exception.PortalException {
959                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
960                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
961                            restrictionType, serviceContext);
962            }
963    
964            /**
965            * @deprecated As of 7.0.0, replaced by {@link #
966            updateFolderAndFileEntryTypes(long, long, long, String,
967            String, long, List, int, ServiceContext)}
968            */
969            @Deprecated
970            @Override
971            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
972                    long userId, long folderId, long parentFolderId, java.lang.String name,
973                    java.lang.String description, long defaultFileEntryTypeId,
974                    java.util.List<java.lang.Long> fileEntryTypeIds,
975                    boolean overrideFileEntryTypes,
976                    com.liferay.portal.service.ServiceContext serviceContext)
977                    throws com.liferay.portal.kernel.exception.PortalException {
978                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
979                            folderId, parentFolderId, name, description,
980                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
981                            serviceContext);
982            }
983    
984            @Override
985            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
986                    long userId, long folderId, long parentFolderId, java.lang.String name,
987                    java.lang.String description, long defaultFileEntryTypeId,
988                    java.util.List<java.lang.Long> fileEntryTypeIds, int restrictionType,
989                    com.liferay.portal.service.ServiceContext serviceContext)
990                    throws com.liferay.portal.kernel.exception.PortalException {
991                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
992                            folderId, parentFolderId, name, description,
993                            defaultFileEntryTypeId, fileEntryTypeIds, restrictionType,
994                            serviceContext);
995            }
996    
997            @Override
998            public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
999                    throws com.liferay.portal.kernel.exception.PortalException {
1000                    _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
1001            }
1002    
1003            @Override
1004            public com.liferay.portlet.documentlibrary.model.DLFolder updateStatus(
1005                    long userId, long folderId, int status,
1006                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
1007                    com.liferay.portal.service.ServiceContext serviceContext)
1008                    throws com.liferay.portal.kernel.exception.PortalException {
1009                    return _dlFolderLocalService.updateStatus(userId, folderId, status,
1010                            workflowContext, serviceContext);
1011            }
1012    
1013            @Override
1014            public boolean verifyInheritableLock(long folderId,
1015                    java.lang.String lockUuid)
1016                    throws com.liferay.portal.kernel.exception.PortalException {
1017                    return _dlFolderLocalService.verifyInheritableLock(folderId, lockUuid);
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    }