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.
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.
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.
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            * Updates the document library folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
250            *
251            * @param dlFolder the document library folder
252            * @param merge whether to merge the document library folder with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
253            * @return the document library folder that was updated
254            * @throws SystemException if a system exception occurred
255            */
256            public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
257                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
258                    boolean merge)
259                    throws com.liferay.portal.kernel.exception.SystemException {
260                    return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
261            }
262    
263            /**
264            * @throws SystemException if a system exception occurred
265            */
266            public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    _dlFolderLocalService.addDLFileEntryTypeDLFolder(fileEntryTypeId,
269                            folderId);
270            }
271    
272            /**
273            * @throws SystemException if a system exception occurred
274            */
275            public void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
276                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
277                    throws com.liferay.portal.kernel.exception.SystemException {
278                    _dlFolderLocalService.addDLFileEntryTypeDLFolder(fileEntryTypeId,
279                            dlFolder);
280            }
281    
282            /**
283            * @throws SystemException if a system exception occurred
284            */
285            public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
286                    long[] folderIds)
287                    throws com.liferay.portal.kernel.exception.SystemException {
288                    _dlFolderLocalService.addDLFileEntryTypeDLFolders(fileEntryTypeId,
289                            folderIds);
290            }
291    
292            /**
293            * @throws SystemException if a system exception occurred
294            */
295            public void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
296                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders)
297                    throws com.liferay.portal.kernel.exception.SystemException {
298                    _dlFolderLocalService.addDLFileEntryTypeDLFolders(fileEntryTypeId,
299                            DLFolders);
300            }
301    
302            /**
303            * @throws SystemException if a system exception occurred
304            */
305            public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
306                    throws com.liferay.portal.kernel.exception.SystemException {
307                    _dlFolderLocalService.clearDLFileEntryTypeDLFolders(fileEntryTypeId);
308            }
309    
310            /**
311            * @throws SystemException if a system exception occurred
312            */
313            public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
314                    long folderId)
315                    throws com.liferay.portal.kernel.exception.SystemException {
316                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolder(fileEntryTypeId,
317                            folderId);
318            }
319    
320            /**
321            * @throws SystemException if a system exception occurred
322            */
323            public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
324                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
325                    throws com.liferay.portal.kernel.exception.SystemException {
326                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolder(fileEntryTypeId,
327                            dlFolder);
328            }
329    
330            /**
331            * @throws SystemException if a system exception occurred
332            */
333            public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
334                    long[] folderIds)
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolders(fileEntryTypeId,
337                            folderIds);
338            }
339    
340            /**
341            * @throws SystemException if a system exception occurred
342            */
343            public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
344                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> DLFolders)
345                    throws com.liferay.portal.kernel.exception.SystemException {
346                    _dlFolderLocalService.deleteDLFileEntryTypeDLFolders(fileEntryTypeId,
347                            DLFolders);
348            }
349    
350            /**
351            * @throws SystemException if a system exception occurred
352            */
353            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
354                    long fileEntryTypeId)
355                    throws com.liferay.portal.kernel.exception.SystemException {
356                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId);
357            }
358    
359            /**
360            * @throws SystemException if a system exception occurred
361            */
362            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
363                    long fileEntryTypeId, int start, int end)
364                    throws com.liferay.portal.kernel.exception.SystemException {
365                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
366                            start, end);
367            }
368    
369            /**
370            * @throws SystemException if a system exception occurred
371            */
372            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFileEntryTypeDLFolders(
373                    long fileEntryTypeId, int start, int end,
374                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    return _dlFolderLocalService.getDLFileEntryTypeDLFolders(fileEntryTypeId,
377                            start, end, orderByComparator);
378            }
379    
380            /**
381            * @throws SystemException if a system exception occurred
382            */
383            public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
384                    throws com.liferay.portal.kernel.exception.SystemException {
385                    return _dlFolderLocalService.getDLFileEntryTypeDLFoldersCount(fileEntryTypeId);
386            }
387    
388            /**
389            * @throws SystemException if a system exception occurred
390            */
391            public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
392                    long folderId)
393                    throws com.liferay.portal.kernel.exception.SystemException {
394                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolder(fileEntryTypeId,
395                            folderId);
396            }
397    
398            /**
399            * @throws SystemException if a system exception occurred
400            */
401            public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
402                    throws com.liferay.portal.kernel.exception.SystemException {
403                    return _dlFolderLocalService.hasDLFileEntryTypeDLFolders(fileEntryTypeId);
404            }
405    
406            /**
407            * @throws SystemException if a system exception occurred
408            */
409            public void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
410                    long[] folderIds)
411                    throws com.liferay.portal.kernel.exception.SystemException {
412                    _dlFolderLocalService.setDLFileEntryTypeDLFolders(fileEntryTypeId,
413                            folderIds);
414            }
415    
416            /**
417            * Returns the Spring bean ID for this bean.
418            *
419            * @return the Spring bean ID for this bean
420            */
421            public java.lang.String getBeanIdentifier() {
422                    return _dlFolderLocalService.getBeanIdentifier();
423            }
424    
425            /**
426            * Sets the Spring bean ID for this bean.
427            *
428            * @param beanIdentifier the Spring bean ID for this bean
429            */
430            public void setBeanIdentifier(java.lang.String beanIdentifier) {
431                    _dlFolderLocalService.setBeanIdentifier(beanIdentifier);
432            }
433    
434            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
435                    long userId, long groupId, long repositoryId, boolean mountPoint,
436                    long parentFolderId, java.lang.String name,
437                    java.lang.String description,
438                    com.liferay.portal.service.ServiceContext serviceContext)
439                    throws com.liferay.portal.kernel.exception.PortalException,
440                            com.liferay.portal.kernel.exception.SystemException {
441                    return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
442                            mountPoint, parentFolderId, name, description, serviceContext);
443            }
444    
445            public void deleteAll(long groupId)
446                    throws com.liferay.portal.kernel.exception.PortalException,
447                            com.liferay.portal.kernel.exception.SystemException {
448                    _dlFolderLocalService.deleteAll(groupId);
449            }
450    
451            public void deleteFolder(long folderId)
452                    throws com.liferay.portal.kernel.exception.PortalException,
453                            com.liferay.portal.kernel.exception.SystemException {
454                    _dlFolderLocalService.deleteFolder(folderId);
455            }
456    
457            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
458                    long companyId, int start, int end)
459                    throws com.liferay.portal.kernel.exception.SystemException {
460                    return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
461            }
462    
463            public int getCompanyFoldersCount(long companyId)
464                    throws com.liferay.portal.kernel.exception.SystemException {
465                    return _dlFolderLocalService.getCompanyFoldersCount(companyId);
466            }
467    
468            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
469                    long groupId, long folderId, int status, int start, int end)
470                    throws com.liferay.portal.kernel.exception.SystemException {
471                    return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
472                            folderId, status, start, end);
473            }
474    
475            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
476                    int status) throws com.liferay.portal.kernel.exception.SystemException {
477                    return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
478                            folderId, status);
479            }
480    
481            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
482                    long folderId)
483                    throws com.liferay.portal.kernel.exception.PortalException,
484                            com.liferay.portal.kernel.exception.SystemException {
485                    return _dlFolderLocalService.getFolder(folderId);
486            }
487    
488            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
489                    long groupId, long parentFolderId, java.lang.String name)
490                    throws com.liferay.portal.kernel.exception.PortalException,
491                            com.liferay.portal.kernel.exception.SystemException {
492                    return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
493            }
494    
495            public long getFolderId(long companyId, long folderId)
496                    throws com.liferay.portal.kernel.exception.SystemException {
497                    return _dlFolderLocalService.getFolderId(companyId, folderId);
498            }
499    
500            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
501                    long groupId, long parentFolderId)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return _dlFolderLocalService.getFolders(groupId, parentFolderId);
504            }
505    
506            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
507                    long groupId, long parentFolderId, boolean includeMountfolders)
508                    throws com.liferay.portal.kernel.exception.SystemException {
509                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
510                            includeMountfolders);
511            }
512    
513            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
514                    long groupId, long parentFolderId, boolean includeMountfolders,
515                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
516                    throws com.liferay.portal.kernel.exception.SystemException {
517                    return _dlFolderLocalService.getFolders(groupId, parentFolderId,
518                            includeMountfolders, start, end, obc);
519            }
520    
521            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
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.getFolders(groupId, parentFolderId, start,
526                            end, obc);
527            }
528    
529            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
530                    long groupId, long folderId, int status, boolean includeMountFolders,
531                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
532                    throws com.liferay.portal.kernel.exception.SystemException {
533                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
534                            folderId, status, includeMountFolders, start, end, obc);
535            }
536    
537            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
538                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
539                    boolean includeMountFolders, int start, int end,
540                    com.liferay.portal.kernel.util.OrderByComparator obc)
541                    throws com.liferay.portal.kernel.exception.SystemException {
542                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
543                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
544            }
545    
546            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
547                    long folderId, int status, boolean includeMountFolders)
548                    throws com.liferay.portal.kernel.exception.SystemException {
549                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
550                            folderId, status, includeMountFolders);
551            }
552    
553            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
554                    long folderId, int status, java.lang.String[] mimeTypes,
555                    boolean includeMountFolders)
556                    throws com.liferay.portal.kernel.exception.SystemException {
557                    return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
558                            folderId, status, mimeTypes, includeMountFolders);
559            }
560    
561            public int getFoldersCount(long groupId, long parentFolderId)
562                    throws com.liferay.portal.kernel.exception.SystemException {
563                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
564            }
565    
566            public int getFoldersCount(long groupId, long parentFolderId,
567                    boolean includeMountfolders)
568                    throws com.liferay.portal.kernel.exception.SystemException {
569                    return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
570                            includeMountfolders);
571            }
572    
573            public int getFoldersFileEntriesCount(long groupId,
574                    java.util.List<java.lang.Long> folderIds, int status)
575                    throws com.liferay.portal.kernel.exception.SystemException {
576                    return _dlFolderLocalService.getFoldersFileEntriesCount(groupId,
577                            folderIds, status);
578            }
579    
580            public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
581                    long repositoryId)
582                    throws com.liferay.portal.kernel.exception.PortalException,
583                            com.liferay.portal.kernel.exception.SystemException {
584                    return _dlFolderLocalService.getMountFolder(repositoryId);
585            }
586    
587            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
588                    long groupId, long parentFolderId, int start, int end,
589                    com.liferay.portal.kernel.util.OrderByComparator obc)
590                    throws com.liferay.portal.kernel.exception.SystemException {
591                    return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
592                            start, end, obc);
593            }
594    
595            public int getMountFoldersCount(long groupId, long parentFolderId)
596                    throws com.liferay.portal.kernel.exception.SystemException {
597                    return _dlFolderLocalService.getMountFoldersCount(groupId,
598                            parentFolderId);
599            }
600    
601            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
602                    long groupId, long folderId)
603                    throws com.liferay.portal.kernel.exception.SystemException {
604                    _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
605            }
606    
607            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
608                    long folderId, long parentFolderId,
609                    com.liferay.portal.service.ServiceContext serviceContext)
610                    throws com.liferay.portal.kernel.exception.PortalException,
611                            com.liferay.portal.kernel.exception.SystemException {
612                    return _dlFolderLocalService.moveFolder(folderId, parentFolderId,
613                            serviceContext);
614            }
615    
616            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
617                    long folderId, long parentFolderId, java.lang.String name,
618                    java.lang.String description, long defaultFileEntryTypeId,
619                    java.util.List<java.lang.Long> fileEntryTypeIds,
620                    boolean overrideFileEntryTypes,
621                    com.liferay.portal.service.ServiceContext serviceContext)
622                    throws com.liferay.portal.kernel.exception.PortalException,
623                            com.liferay.portal.kernel.exception.SystemException {
624                    return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
625                            name, description, defaultFileEntryTypeId, fileEntryTypeIds,
626                            overrideFileEntryTypes, serviceContext);
627            }
628    
629            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
630                    long folderId, java.lang.String name, java.lang.String description,
631                    long defaultFileEntryTypeId,
632                    java.util.List<java.lang.Long> fileEntryTypeIds,
633                    boolean overrideFileEntryTypes,
634                    com.liferay.portal.service.ServiceContext serviceContext)
635                    throws com.liferay.portal.kernel.exception.PortalException,
636                            com.liferay.portal.kernel.exception.SystemException {
637                    return _dlFolderLocalService.updateFolder(folderId, name, description,
638                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
639                            serviceContext);
640            }
641    
642            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
643                    long folderId, long parentFolderId, java.lang.String name,
644                    java.lang.String description, long defaultFileEntryTypeId,
645                    java.util.List<java.lang.Long> fileEntryTypeIds,
646                    boolean overrideFileEntryTypes,
647                    com.liferay.portal.service.ServiceContext serviceContext)
648                    throws com.liferay.portal.kernel.exception.PortalException,
649                            com.liferay.portal.kernel.exception.SystemException {
650                    return _dlFolderLocalService.updateFolderAndFileEntryTypes(folderId,
651                            parentFolderId, name, description, defaultFileEntryTypeId,
652                            fileEntryTypeIds, overrideFileEntryTypes, serviceContext);
653            }
654    
655            /**
656            * @deprecated
657            */
658            public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
659                    throws com.liferay.portal.kernel.exception.PortalException,
660                            com.liferay.portal.kernel.exception.SystemException {
661                    _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
662            }
663    
664            /**
665             * @deprecated Renamed to {@link #getWrappedService}
666             */
667            public DLFolderLocalService getWrappedDLFolderLocalService() {
668                    return _dlFolderLocalService;
669            }
670    
671            /**
672             * @deprecated Renamed to {@link #setWrappedService}
673             */
674            public void setWrappedDLFolderLocalService(
675                    DLFolderLocalService dlFolderLocalService) {
676                    _dlFolderLocalService = dlFolderLocalService;
677            }
678    
679            public DLFolderLocalService getWrappedService() {
680                    return _dlFolderLocalService;
681            }
682    
683            public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
684                    _dlFolderLocalService = dlFolderLocalService;
685            }
686    
687            private DLFolderLocalService _dlFolderLocalService;
688    }