001    /**
002     * Copyright (c) 2000-2012 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 with the UUID in the group.
192            *
193            * @param uuid the UUID of document library folder
194            * @param groupId the group id of the document library folder
195            * @return the document library folder
196            * @throws PortalException if a document library folder with the UUID in the group 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            * Returns the Spring bean ID for this bean.
250            *
251            * @return the Spring bean ID for this bean
252            */
253            public java.lang.String getBeanIdentifier() {
254                    return _dlFolderLocalService.getBeanIdentifier();
255            }
256    
257            /**
258            * Sets the Spring bean ID for this bean.
259            *
260            * @param beanIdentifier the Spring bean ID for this bean
261            */
262            public void setBeanIdentifier(java.lang.String beanIdentifier) {
263                    _dlFolderLocalService.setBeanIdentifier(beanIdentifier);
264            }
265    
266            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
267                    long userId, long groupId, long repositoryId, boolean mountPoint,
268                    long parentFolderId, java.lang.String name,
269                    java.lang.String description, boolean hidden,
270                    com.liferay.portal.service.ServiceContext serviceContext)
271                    throws com.liferay.portal.kernel.exception.PortalException,
272                            com.liferay.portal.kernel.exception.SystemException {
273                    return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
274                            mountPoint, parentFolderId, name, description, hidden,
275                            serviceContext);
276            }
277    
278            /**
279            * @deprecated As of 6.2, replaced by more general {@link #addFolder(long,
280            long, long, boolean, long, String, String, boolean,
281            ServiceContext)}
282            */
283            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
284                    long userId, long groupId, long repositoryId, boolean mountPoint,
285                    long parentFolderId, java.lang.String name,
286                    java.lang.String description,
287                    com.liferay.portal.service.ServiceContext serviceContext)
288                    throws com.liferay.portal.kernel.exception.PortalException,
289                            com.liferay.portal.kernel.exception.SystemException {
290                    return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
291                            mountPoint, parentFolderId, name, description, serviceContext);
292            }
293    
294            public void deleteAll(long groupId)
295                    throws com.liferay.portal.kernel.exception.PortalException,
296                            com.liferay.portal.kernel.exception.SystemException {
297                    _dlFolderLocalService.deleteAll(groupId);
298            }
299    
300            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
301                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
302                    throws com.liferay.portal.kernel.exception.PortalException,
303                            com.liferay.portal.kernel.exception.SystemException {
304                    return _dlFolderLocalService.deleteFolder(dlFolder);
305            }
306    
307            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
308                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
309                    boolean includeTrashedEntries)
310                    throws com.liferay.portal.kernel.exception.PortalException,
311                            com.liferay.portal.kernel.exception.SystemException {
312                    return _dlFolderLocalService.deleteFolder(dlFolder,
313                            includeTrashedEntries);
314            }
315    
316            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
317                    long folderId)
318                    throws com.liferay.portal.kernel.exception.PortalException,
319                            com.liferay.portal.kernel.exception.SystemException {
320                    return _dlFolderLocalService.deleteFolder(folderId);
321            }
322    
323            public com.liferay.portlet.documentlibrary.model.DLFolder deleteFolder(
324                    long folderId, boolean includeTrashedEntries)
325                    throws com.liferay.portal.kernel.exception.PortalException,
326                            com.liferay.portal.kernel.exception.SystemException {
327                    return _dlFolderLocalService.deleteFolder(folderId,
328                            includeTrashedEntries);
329            }
330    
331            public com.liferay.portlet.documentlibrary.model.DLFolder fetchFolder(
332                    long groupId, long parentFolderId, java.lang.String name)
333                    throws com.liferay.portal.kernel.exception.SystemException {
334                    return _dlFolderLocalService.fetchFolder(groupId, parentFolderId, name);
335            }
336    
337            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
338                    long companyId, int start, int end)
339                    throws com.liferay.portal.kernel.exception.SystemException {
340                    return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
341            }
342    
343            public int getCompanyFoldersCount(long companyId)
344                    throws com.liferay.portal.kernel.exception.SystemException {
345                    return _dlFolderLocalService.getCompanyFoldersCount(companyId);
346            }
347    
348            /**
349            * @deprecated Replaced by {@link #getFileEntriesAndFileShortcuts(long,
350            long, QueryDefinition)}
351            */
352            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
353                    long groupId, long folderId, int status, int start, int end)
354                    throws com.liferay.portal.kernel.exception.SystemException {
355                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
356                            folderId, status, start, end);
357            }
358    
359            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
360                    long groupId, long folderId,
361                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
362                    throws com.liferay.portal.kernel.exception.SystemException {
363                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
364                            folderId, queryDefinition);
365            }
366    
367            /**
368            * @deprecated Replaced by {@link #getFileEntriesAndFileShortcutsCount(long,
369            long, QueryDefinition)}
370            */
371            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
372                    int status) throws com.liferay.portal.kernel.exception.SystemException {
373                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
374                            folderId, status);
375            }
376    
377            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
378                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
379                    throws com.liferay.portal.kernel.exception.SystemException {
380                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
381                            folderId, queryDefinition);
382            }
383    
384            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
385                    long folderId)
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException {
388                    return _dlFolderLocalService.getFolder(folderId);
389            }
390    
391            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
392                    long groupId, long parentFolderId, java.lang.String name)
393                    throws com.liferay.portal.kernel.exception.PortalException,
394                            com.liferay.portal.kernel.exception.SystemException {
395                    return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
396            }
397    
398            public long getFolderId(long companyId, long folderId)
399                    throws com.liferay.portal.kernel.exception.SystemException {
400                    return _dlFolderLocalService.getFolderId(companyId, folderId);
401            }
402    
403            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
404                    long groupId, long parentFolderId)
405                    throws com.liferay.portal.kernel.exception.SystemException {
406                    return _dlFolderLocalService.getFolders(groupId, parentFolderId);
407            }
408    
409            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
410                    long groupId, long parentFolderId, boolean includeMountfolders)
411                    throws com.liferay.portal.kernel.exception.SystemException {
412                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
413                            includeMountfolders);
414            }
415    
416            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
417                    long groupId, long parentFolderId, boolean includeMountfolders,
418                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
419                    throws com.liferay.portal.kernel.exception.SystemException {
420                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
421                            includeMountfolders, start, end, obc);
422            }
423    
424            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
425                    long groupId, long parentFolderId, int start, int end,
426                    com.liferay.portal.kernel.util.OrderByComparator obc)
427                    throws com.liferay.portal.kernel.exception.SystemException {
428                    return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
429                            end, obc);
430            }
431    
432            /**
433            * @deprecated Replaced by {@link
434            #getFoldersAndFileEntriesAndFileShortcuts(long, long,
435            String[], boolean, QueryDefinition)}
436            */
437            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
438                    long groupId, long folderId, int status, boolean includeMountFolders,
439                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
440                    throws com.liferay.portal.kernel.exception.SystemException {
441                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
442                            folderId, status, includeMountFolders, start, end, obc);
443            }
444    
445            /**
446            * @deprecated Replaced by {@link
447            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
448            String[], boolean, QueryDefinition)}
449            */
450            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
451                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
452                    boolean includeMountFolders, int start, int end,
453                    com.liferay.portal.kernel.util.OrderByComparator obc)
454                    throws com.liferay.portal.kernel.exception.SystemException {
455                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
456                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
457            }
458    
459            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
460                    long groupId, long folderId, java.lang.String[] mimeTypes,
461                    boolean includeMountFolders,
462                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
463                    throws com.liferay.portal.kernel.exception.SystemException {
464                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
465                            folderId, mimeTypes, includeMountFolders, queryDefinition);
466            }
467    
468            /**
469            * @deprecated Replaced by {@link
470            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
471            String[], boolean, QueryDefinition)}
472            */
473            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
474                    long folderId, int status, boolean includeMountFolders)
475                    throws com.liferay.portal.kernel.exception.SystemException {
476                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
477                            folderId, status, includeMountFolders);
478            }
479    
480            /**
481            * @deprecated Replaced by {@link
482            #getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
483            String[], boolean, QueryDefinition)}
484            */
485            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
486                    long folderId, int status, java.lang.String[] mimeTypes,
487                    boolean includeMountFolders)
488                    throws com.liferay.portal.kernel.exception.SystemException {
489                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
490                            folderId, status, mimeTypes, includeMountFolders);
491            }
492    
493            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
494                    long folderId, java.lang.String[] mimeTypes,
495                    boolean includeMountFolders,
496                    com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
497                    throws com.liferay.portal.kernel.exception.SystemException {
498                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
499                            folderId, mimeTypes, includeMountFolders, queryDefinition);
500            }
501    
502            public int getFoldersCount(long groupId, long parentFolderId)
503                    throws com.liferay.portal.kernel.exception.SystemException {
504                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
505            }
506    
507            public int getFoldersCount(long groupId, long parentFolderId,
508                    boolean includeMountfolders)
509                    throws com.liferay.portal.kernel.exception.SystemException {
510                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
511                            includeMountfolders);
512            }
513    
514            public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
515                    long repositoryId)
516                    throws com.liferay.portal.kernel.exception.PortalException,
517                            com.liferay.portal.kernel.exception.SystemException {
518                    return _dlFolderLocalService.getMountFolder(repositoryId);
519            }
520    
521            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
522                    long groupId, long parentFolderId, int start, int end,
523                    com.liferay.portal.kernel.util.OrderByComparator obc)
524                    throws com.liferay.portal.kernel.exception.SystemException {
525                    return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
526                            start, end, obc);
527            }
528    
529            public int getMountFoldersCount(long groupId, long parentFolderId)
530                    throws com.liferay.portal.kernel.exception.SystemException {
531                    return _dlFolderLocalService.getMountFoldersCount(groupId,
532                            parentFolderId);
533            }
534    
535            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getNoAssetFolders()
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    return _dlFolderLocalService.getNoAssetFolders();
538            }
539    
540            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
541                    long groupId, long folderId)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
544            }
545    
546            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
547                    long folderId, long parentFolderId,
548                    com.liferay.portal.service.ServiceContext serviceContext)
549                    throws com.liferay.portal.kernel.exception.PortalException,
550                            com.liferay.portal.kernel.exception.SystemException {
551                    return _dlFolderLocalService.moveFolder(folderId, parentFolderId,
552                            serviceContext);
553            }
554    
555            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
556                    long folderId, long parentFolderId, java.lang.String name,
557                    java.lang.String description, long defaultFileEntryTypeId,
558                    java.util.List<java.lang.Long> fileEntryTypeIds,
559                    boolean overrideFileEntryTypes,
560                    com.liferay.portal.service.ServiceContext serviceContext)
561                    throws com.liferay.portal.kernel.exception.PortalException,
562                            com.liferay.portal.kernel.exception.SystemException {
563                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
564                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
565                            overrideFileEntryTypes, serviceContext);
566            }
567    
568            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
569                    long folderId, java.lang.String name, java.lang.String description,
570                    long defaultFileEntryTypeId,
571                    java.util.List<java.lang.Long> fileEntryTypeIds,
572                    boolean overrideFileEntryTypes,
573                    com.liferay.portal.service.ServiceContext serviceContext)
574                    throws com.liferay.portal.kernel.exception.PortalException,
575                            com.liferay.portal.kernel.exception.SystemException {
576                    return _dlFolderLocalService.updateFolder(folderId, name, description,
577                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
578                            serviceContext);
579            }
580    
581            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
582                    long userId, long folderId, long parentFolderId, java.lang.String name,
583                    java.lang.String description, long defaultFileEntryTypeId,
584                    java.util.List<java.lang.Long> fileEntryTypeIds,
585                    boolean overrideFileEntryTypes,
586                    com.liferay.portal.service.ServiceContext serviceContext)
587                    throws com.liferay.portal.kernel.exception.PortalException,
588                            com.liferay.portal.kernel.exception.SystemException {
589                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(userId,
590                            folderId, parentFolderId, name, description,
591                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
592                            serviceContext);
593            }
594    
595            /**
596            * @deprecated
597            */
598            public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
599                    throws com.liferay.portal.kernel.exception.PortalException,
600                            com.liferay.portal.kernel.exception.SystemException {
601                    _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
602            }
603    
604            public com.liferay.portlet.documentlibrary.model.DLFolder updateStatus(
605                    long userId, long folderId, int status,
606                    java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
607                    com.liferay.portal.service.ServiceContext serviceContext)
608                    throws com.liferay.portal.kernel.exception.PortalException,
609                            com.liferay.portal.kernel.exception.SystemException {
610                    return _dlFolderLocalService.updateStatus(userId, folderId, status,
611                            workflowContext, serviceContext);
612            }
613    
614            /**
615             * @deprecated Renamed to {@link #getWrappedService}
616             */
617            public DLFolderLocalService getWrappedDLFolderLocalService() {
618                    return _dlFolderLocalService;
619            }
620    
621            /**
622             * @deprecated Renamed to {@link #setWrappedService}
623             */
624            public void setWrappedDLFolderLocalService(
625                    DLFolderLocalService dlFolderLocalService) {
626                    _dlFolderLocalService = dlFolderLocalService;
627            }
628    
629            public DLFolderLocalService getWrappedService() {
630                    return _dlFolderLocalService;
631            }
632    
633            public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
634                    _dlFolderLocalService = dlFolderLocalService;
635            }
636    
637            private DLFolderLocalService _dlFolderLocalService;
638    }