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