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