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            /**
550            * @deprecated As of 7.0.0, replaced by {@link #deleteAllByGroup(long)}
551            */
552            @Override
553            public void deleteAll(long groupId)
554                    throws com.liferay.portal.kernel.exception.PortalException,
555                            com.liferay.portal.kernel.exception.SystemException {
556                    _dlFolderLocalService.deleteAll(groupId);
557            }
558    
559            @Override
560            public void deleteAllByGroup(long groupId)
561                    throws com.liferay.portal.kernel.exception.PortalException,
562                            com.liferay.portal.kernel.exception.SystemException {
563                    _dlFolderLocalService.deleteAllByGroup(groupId);
564            }
565    
566            @Override
567            public void deleteAllByRepository(long repositoryId)
568                    throws com.liferay.portal.kernel.exception.PortalException,
569                            com.liferay.portal.kernel.exception.SystemException {
570                    _dlFolderLocalService.deleteAllByRepository(repositoryId);
571            }
572    
573            @Override
574            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
575                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
576                    throws com.liferay.portal.kernel.exception.PortalException,
577                            com.liferay.portal.kernel.exception.SystemException {
578                    return _dlFolderLocalService.deleteFolder(dlFolder);
579            }
580    
581            @Override
582            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
583                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
584                    boolean includeTrashedEntries)
585                    throws com.liferay.portal.kernel.exception.PortalException,
586                            com.liferay.portal.kernel.exception.SystemException {
587                    return _dlFolderLocalService.deleteFolder(dlFolder,
588                            includeTrashedEntries);
589            }
590    
591            @Override
592            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
593                    long folderId)
594                    throws com.liferay.portal.kernel.exception.PortalException,
595                            com.liferay.portal.kernel.exception.SystemException {
596                    return _dlFolderLocalService.deleteFolder(folderId);
597            }
598    
599            @Override
600            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
601                    long folderId, boolean includeTrashedEntries)
602                    throws com.liferay.portal.kernel.exception.PortalException,
603                            com.liferay.portal.kernel.exception.SystemException {
604                    return _dlFolderLocalService.deleteFolder(folderId,
605                            includeTrashedEntries);
606            }
607    
608            @Override
609            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
610                    long userId, long folderId, boolean includeTrashedEntries)
611                    throws com.liferay.portal.kernel.exception.PortalException,
612                            com.liferay.portal.kernel.exception.SystemException {
613                    return _dlFolderLocalService.deleteFolder(userId, folderId,
614                            includeTrashedEntries);
615            }
616    
617            @Override
618            public com.liferay.portlet.documentlibrary.model.DLFolder fetchFolder(
619                    long folderId)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    return _dlFolderLocalService.fetchFolder(folderId);
622            }
623    
624            @Override
625            public com.liferay.portlet.documentlibrary.model.DLFolder fetchFolder(
626                    long groupId, long parentFolderId, java.lang.String name)
627                    throws com.liferay.portal.kernel.exception.SystemException {
628                    return _dlFolderLocalService.fetchFolder(groupId, parentFolderId, name);
629            }
630    
631            @Override
632            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
633                    long companyId, int start, int end)
634                    throws com.liferay.portal.kernel.exception.SystemException {
635                    return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
636            }
637    
638            @Override
639            public int getCompanyFoldersCount(long companyId)
640                    throws com.liferay.portal.kernel.exception.SystemException {
641                    return _dlFolderLocalService.getCompanyFoldersCount(companyId);
642            }
643    
644            /**
645            * @deprecated As of 6.2.0, replaced by {@link
646            #getFileEntriesAndFileShortcuts(long, long, QueryDefinition)}
647            */
648            @Override
649            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
650                    long groupId, long folderId, int status, int start, int end)
651                    throws com.liferay.portal.kernel.exception.SystemException {
652                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
653                            folderId, status, start, end);
654            }
655    
656            @Override
657            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
658                    long groupId, long folderId,
659                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
660                    throws com.liferay.portal.kernel.exception.SystemException {
661                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
662                            folderId, queryDefinition);
663            }
664    
665            /**
666            * @deprecated As of 6.2.0, replaced by {@link
667            #getFileEntriesAndFileShortcutsCount(long, long,
668            QueryDefinition)}
669            */
670            @Override
671            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
672                    int status) throws com.liferay.portal.kernel.exception.SystemException {
673                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
674                            folderId, status);
675            }
676    
677            @Override
678            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
679                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
680                    throws com.liferay.portal.kernel.exception.SystemException {
681                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
682                            folderId, queryDefinition);
683            }
684    
685            @Override
686            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
687                    long folderId)
688                    throws com.liferay.portal.kernel.exception.PortalException,
689                            com.liferay.portal.kernel.exception.SystemException {
690                    return _dlFolderLocalService.getFolder(folderId);
691            }
692    
693            @Override
694            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
695                    long groupId, long parentFolderId, java.lang.String name)
696                    throws com.liferay.portal.kernel.exception.PortalException,
697                            com.liferay.portal.kernel.exception.SystemException {
698                    return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
699            }
700    
701            @Override
702            public long getFolderId(long companyId, long folderId)
703                    throws com.liferay.portal.kernel.exception.SystemException {
704                    return _dlFolderLocalService.getFolderId(companyId, folderId);
705            }
706    
707            @Override
708            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
709                    long groupId, long parentFolderId)
710                    throws com.liferay.portal.kernel.exception.SystemException {
711                    return _dlFolderLocalService.getFolders(groupId, parentFolderId);
712            }
713    
714            @Override
715            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
716                    long groupId, long parentFolderId, boolean includeMountfolders)
717                    throws com.liferay.portal.kernel.exception.SystemException {
718                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
719                            includeMountfolders);
720            }
721    
722            @Override
723            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
724                    long groupId, long parentFolderId, boolean includeMountfolders,
725                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
726                    throws com.liferay.portal.kernel.exception.SystemException {
727                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
728                            includeMountfolders, start, end, obc);
729            }
730    
731            @Override
732            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
733                    long groupId, long parentFolderId, int start, int end,
734                    com.liferay.portal.kernel.util.OrderByComparator obc)
735                    throws com.liferay.portal.kernel.exception.SystemException {
736                    return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
737                            end, obc);
738            }
739    
740            /**
741            * @deprecated As of 6.2.0, replaced by {@link
742            #getFoldersAndFileEntriesAndFileShortcuts(long, long,
743            String[], boolean, QueryDefinition)}
744            */
745            @Override
746            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
747                    long groupId, long folderId, int status, boolean includeMountFolders,
748                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
749                    throws com.liferay.portal.kernel.exception.SystemException {
750                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
751                            folderId, status, includeMountFolders, start, end, obc);
752            }
753    
754            /**
755            * @deprecated As of 6.2.0, replaced by {@link
756            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
757            String[], boolean, QueryDefinition)}
758            */
759            @Override
760            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
761                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
762                    boolean includeMountFolders, int start, int end,
763                    com.liferay.portal.kernel.util.OrderByComparator obc)
764                    throws com.liferay.portal.kernel.exception.SystemException {
765                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
766                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
767            }
768    
769            @Override
770            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
771                    long groupId, long folderId, java.lang.String[] mimeTypes,
772                    boolean includeMountFolders,
773                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
774                    throws com.liferay.portal.kernel.exception.SystemException {
775                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
776                            folderId, mimeTypes, includeMountFolders, queryDefinition);
777            }
778    
779            /**
780            * @deprecated As of 6.2.0, replaced by {@link
781            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
782            String[], boolean, QueryDefinition)}
783            */
784            @Override
785            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
786                    long folderId, int status, boolean includeMountFolders)
787                    throws com.liferay.portal.kernel.exception.SystemException {
788                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
789                            folderId, status, includeMountFolders);
790            }
791    
792            /**
793            * @deprecated As of 6.2.0, replaced by {@link
794            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
795            String[], boolean, QueryDefinition)}
796            */
797            @Override
798            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
799                    long folderId, int status, java.lang.String[] mimeTypes,
800                    boolean includeMountFolders)
801                    throws com.liferay.portal.kernel.exception.SystemException {
802                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
803                            folderId, status, mimeTypes, includeMountFolders);
804            }
805    
806            @Override
807            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
808                    long folderId, java.lang.String[] mimeTypes,
809                    boolean includeMountFolders,
810                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
811                    throws com.liferay.portal.kernel.exception.SystemException {
812                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
813                            folderId, mimeTypes, includeMountFolders, queryDefinition);
814            }
815    
816            @Override
817            public int getFoldersCount(long groupId, long parentFolderId)
818                    throws com.liferay.portal.kernel.exception.SystemException {
819                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
820            }
821    
822            @Override
823            public int getFoldersCount(long groupId, long parentFolderId,
824                    boolean includeMountfolders)
825                    throws com.liferay.portal.kernel.exception.SystemException {
826                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
827                            includeMountfolders);
828            }
829    
830            @Override
831            public int getFoldersCount(long groupId, long parentFolderId, int status,
832                    boolean includeMountfolders)
833                    throws com.liferay.portal.kernel.exception.SystemException {
834                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
835                            status, includeMountfolders);
836            }
837    
838            @Override
839            public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
840                    long repositoryId)
841                    throws com.liferay.portal.kernel.exception.PortalException,
842                            com.liferay.portal.kernel.exception.SystemException {
843                    return _dlFolderLocalService.getMountFolder(repositoryId);
844            }
845    
846            @Override
847            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
848                    long groupId, long parentFolderId, int start, int end,
849                    com.liferay.portal.kernel.util.OrderByComparator obc)
850                    throws com.liferay.portal.kernel.exception.SystemException {
851                    return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
852                            start, end, obc);
853            }
854    
855            @Override
856            public int getMountFoldersCount(long groupId, long parentFolderId)
857                    throws com.liferay.portal.kernel.exception.SystemException {
858                    return _dlFolderLocalService.getMountFoldersCount(groupId,
859                            parentFolderId);
860            }
861    
862            @Override
863            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getNoAssetFolders()
864                    throws com.liferay.portal.kernel.exception.SystemException {
865                    return _dlFolderLocalService.getNoAssetFolders();
866            }
867    
868            @Override
869            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
870                    long groupId, long folderId)
871                    throws com.liferay.portal.kernel.exception.SystemException {
872                    _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
873            }
874    
875            @Override
876            public boolean hasFolderLock(long userId, long folderId)
877                    throws com.liferay.portal.kernel.exception.SystemException {
878                    return _dlFolderLocalService.hasFolderLock(userId, folderId);
879            }
880    
881            @Override
882            public com.liferay.portal.model.Lock lockFolder(long userId, long folderId)
883                    throws com.liferay.portal.kernel.exception.PortalException,
884                            com.liferay.portal.kernel.exception.SystemException {
885                    return _dlFolderLocalService.lockFolder(userId, folderId);
886            }
887    
888            @Override
889            public com.liferay.portal.model.Lock lockFolder(long userId, long folderId,
890                    java.lang.String owner, boolean inheritable, long expirationTime)
891                    throws com.liferay.portal.kernel.exception.PortalException,
892                            com.liferay.portal.kernel.exception.SystemException {
893                    return _dlFolderLocalService.lockFolder(userId, folderId, owner,
894                            inheritable, expirationTime);
895            }
896    
897            @Override
898            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
899                    long userId, long folderId, long parentFolderId,
900                    com.liferay.portal.service.ServiceContext serviceContext)
901                    throws com.liferay.portal.kernel.exception.PortalException,
902                            com.liferay.portal.kernel.exception.SystemException {
903                    return _dlFolderLocalService.moveFolder(userId, folderId,
904                            parentFolderId, serviceContext);
905            }
906    
907            @Override
908            public void rebuildTree(long companyId)
909                    throws com.liferay.portal.kernel.exception.PortalException,
910                            com.liferay.portal.kernel.exception.SystemException {
911                    _dlFolderLocalService.rebuildTree(companyId);
912            }
913    
914            @Override
915            public void rebuildTree(long companyId, long parentFolderId,
916                    java.lang.String parentTreePath, boolean reindex)
917                    throws com.liferay.portal.kernel.exception.PortalException,
918                            com.liferay.portal.kernel.exception.SystemException {
919                    _dlFolderLocalService.rebuildTree(companyId, parentFolderId,
920                            parentTreePath, reindex);
921            }
922    
923            @Override
924            public void unlockFolder(long groupId, long parentFolderId,
925                    java.lang.String name, java.lang.String lockUuid)
926                    throws com.liferay.portal.kernel.exception.PortalException,
927                            com.liferay.portal.kernel.exception.SystemException {
928                    _dlFolderLocalService.unlockFolder(groupId, parentFolderId, name,
929                            lockUuid);
930            }
931    
932            @Override
933            public void unlockFolder(long folderId, java.lang.String lockUuid)
934                    throws com.liferay.portal.kernel.exception.PortalException,
935                            com.liferay.portal.kernel.exception.SystemException {
936                    _dlFolderLocalService.unlockFolder(folderId, lockUuid);
937            }
938    
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                            com.liferay.portal.kernel.exception.SystemException {
948                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
949                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
950                            overrideFileEntryTypes, serviceContext);
951            }
952    
953            @Override
954            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
955                    long folderId, java.lang.String name, java.lang.String description,
956                    long defaultFileEntryTypeId,
957                    java.util.List<java.lang.Long> fileEntryTypeIds,
958                    boolean overrideFileEntryTypes,
959                    com.liferay.portal.service.ServiceContext serviceContext)
960                    throws com.liferay.portal.kernel.exception.PortalException,
961                            com.liferay.portal.kernel.exception.SystemException {
962                    return _dlFolderLocalService.updateFolder(folderId, name, description,
963                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
964                            serviceContext);
965            }
966    
967            @Override
968            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
969                    long userId, long folderId, long parentFolderId, java.lang.String name,
970                    java.lang.String description, long defaultFileEntryTypeId,
971                    java.util.List<java.lang.Long> fileEntryTypeIds,
972                    boolean overrideFileEntryTypes,
973                    com.liferay.portal.service.ServiceContext serviceContext)
974                    throws com.liferay.portal.kernel.exception.PortalException,
975                            com.liferay.portal.kernel.exception.SystemException {
976                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
977                            folderId, parentFolderId, name, description,
978                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
979                            serviceContext);
980            }
981    
982            @Override
983            public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
984                    throws com.liferay.portal.kernel.exception.PortalException,
985                            com.liferay.portal.kernel.exception.SystemException {
986                    _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
987            }
988    
989            @Override
990            public com.liferay.portlet.documentlibrary.model.DLFolder updateStatus(
991                    long userId, long folderId, int status,
992                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
993                    com.liferay.portal.service.ServiceContext serviceContext)
994                    throws com.liferay.portal.kernel.exception.PortalException,
995                            com.liferay.portal.kernel.exception.SystemException {
996                    return _dlFolderLocalService.updateStatus(userId, folderId, status,
997                            workflowContext, serviceContext);
998            }
999    
1000            /**
1001             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
1002             */
1003            public DLFolderLocalService getWrappedDLFolderLocalService() {
1004                    return _dlFolderLocalService;
1005            }
1006    
1007            /**
1008             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
1009             */
1010            public void setWrappedDLFolderLocalService(
1011                    DLFolderLocalService dlFolderLocalService) {
1012                    _dlFolderLocalService = dlFolderLocalService;
1013            }
1014    
1015            @Override
1016            public DLFolderLocalService getWrappedService() {
1017                    return _dlFolderLocalService;
1018            }
1019    
1020            @Override
1021            public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
1022                    _dlFolderLocalService = dlFolderLocalService;
1023            }
1024    
1025            private DLFolderLocalService _dlFolderLocalService;
1026    }