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 DLFolderService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFolderService
026     * @generated
027     */
028    public class DLFolderServiceWrapper implements DLFolderService,
029            ServiceWrapper<DLFolderService> {
030            public DLFolderServiceWrapper(DLFolderService dlFolderService) {
031                    _dlFolderService = dlFolderService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _dlFolderService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _dlFolderService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
053                    long groupId, long repositoryId, boolean mountPoint,
054                    long parentFolderId, java.lang.String name,
055                    java.lang.String description,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _dlFolderService.addFolder(groupId, repositoryId, mountPoint,
060                            parentFolderId, name, description, serviceContext);
061            }
062    
063            public void deleteFolder(long folderId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _dlFolderService.deleteFolder(folderId);
067            }
068    
069            public void deleteFolder(long groupId, long parentFolderId,
070                    java.lang.String name)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    _dlFolderService.deleteFolder(groupId, parentFolderId, name);
074            }
075    
076            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
077                    long groupId, long folderId, int status, int start, int end)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
080                            folderId, status, start, end);
081            }
082    
083            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
084                    int status) throws com.liferay.portal.kernel.exception.SystemException {
085                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
086                            folderId, status);
087            }
088    
089            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
090                    int status, java.lang.String[] mimeTypes)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
093                            folderId, status, mimeTypes);
094            }
095    
096            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
097                    long folderId)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _dlFolderService.getFolder(folderId);
101            }
102    
103            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
104                    long groupId, long parentFolderId, java.lang.String name)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    return _dlFolderService.getFolder(groupId, parentFolderId, name);
108            }
109    
110            public long[] getFolderIds(long groupId, long folderId)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _dlFolderService.getFolderIds(groupId, folderId);
113            }
114    
115            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
116                    long groupId, long parentFolderId, boolean includeMountfolders,
117                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
118                    throws com.liferay.portal.kernel.exception.SystemException {
119                    return _dlFolderService.getFolders(groupId, parentFolderId,
120                            includeMountfolders, start, end, obc);
121            }
122    
123            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
124                    long groupId, long parentFolderId, int start, int end,
125                    com.liferay.portal.kernel.util.OrderByComparator obc)
126                    throws com.liferay.portal.kernel.exception.SystemException {
127                    return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
128                            obc);
129            }
130    
131            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
132                    long groupId, long folderId, int status, boolean includeMountFolders,
133                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
134                    throws com.liferay.portal.kernel.exception.SystemException {
135                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
136                            folderId, status, includeMountFolders, start, end, obc);
137            }
138    
139            public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
140                    long folderId, int status, java.lang.String[] mimeTypes,
141                    boolean includeMountFolders)
142                    throws com.liferay.portal.kernel.exception.SystemException {
143                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
144                            folderId, status, mimeTypes, includeMountFolders);
145            }
146    
147            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
148                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
149                    boolean includeMountFolders, int start, int end,
150                    com.liferay.portal.kernel.util.OrderByComparator obc)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
153                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
154            }
155    
156            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
157                    long folderId, int status, boolean includeMountFolders)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
160                            folderId, status, includeMountFolders);
161            }
162    
163            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
164                    long folderId, int status, java.lang.String[] mimeTypes,
165                    boolean includeMountFolders)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
168                            folderId, status, mimeTypes, includeMountFolders);
169            }
170    
171            public int getFoldersCount(long groupId, long parentFolderId)
172                    throws com.liferay.portal.kernel.exception.SystemException {
173                    return _dlFolderService.getFoldersCount(groupId, parentFolderId);
174            }
175    
176            public int getFoldersCount(long groupId, long parentFolderId,
177                    boolean includeMountfolders)
178                    throws com.liferay.portal.kernel.exception.SystemException {
179                    return _dlFolderService.getFoldersCount(groupId, parentFolderId,
180                            includeMountfolders);
181            }
182    
183            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
184                    long groupId, long parentFolderId, int start, int end,
185                    com.liferay.portal.kernel.util.OrderByComparator obc)
186                    throws com.liferay.portal.kernel.exception.SystemException {
187                    return _dlFolderService.getMountFolders(groupId, parentFolderId, start,
188                            end, obc);
189            }
190    
191            public int getMountFoldersCount(long groupId, long parentFolderId)
192                    throws com.liferay.portal.kernel.exception.SystemException {
193                    return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
194            }
195    
196            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
197                    long groupId, long folderId)
198                    throws com.liferay.portal.kernel.exception.SystemException {
199                    _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
200            }
201    
202            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
203                    long folderId, boolean recurse)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
206            }
207    
208            public boolean hasFolderLock(long folderId)
209                    throws com.liferay.portal.kernel.exception.PortalException,
210                            com.liferay.portal.kernel.exception.SystemException {
211                    return _dlFolderService.hasFolderLock(folderId);
212            }
213    
214            public boolean hasInheritableLock(long folderId)
215                    throws com.liferay.portal.kernel.exception.PortalException,
216                            com.liferay.portal.kernel.exception.SystemException {
217                    return _dlFolderService.hasInheritableLock(folderId);
218            }
219    
220            public boolean isFolderLocked(long folderId)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return _dlFolderService.isFolderLocked(folderId);
223            }
224    
225            public com.liferay.portal.model.Lock lockFolder(long folderId)
226                    throws com.liferay.portal.kernel.exception.PortalException,
227                            com.liferay.portal.kernel.exception.SystemException {
228                    return _dlFolderService.lockFolder(folderId);
229            }
230    
231            public com.liferay.portal.model.Lock lockFolder(long folderId,
232                    java.lang.String owner, boolean inheritable, long expirationTime)
233                    throws com.liferay.portal.kernel.exception.PortalException,
234                            com.liferay.portal.kernel.exception.SystemException {
235                    return _dlFolderService.lockFolder(folderId, owner, inheritable,
236                            expirationTime);
237            }
238    
239            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
240                    long folderId, long parentFolderId,
241                    com.liferay.portal.service.ServiceContext serviceContext)
242                    throws com.liferay.portal.kernel.exception.PortalException,
243                            com.liferay.portal.kernel.exception.SystemException {
244                    return _dlFolderService.moveFolder(folderId, parentFolderId,
245                            serviceContext);
246            }
247    
248            public com.liferay.portal.model.Lock refreshFolderLock(
249                    java.lang.String lockUuid, long expirationTime)
250                    throws com.liferay.portal.kernel.exception.PortalException,
251                            com.liferay.portal.kernel.exception.SystemException {
252                    return _dlFolderService.refreshFolderLock(lockUuid, expirationTime);
253            }
254    
255            public void unlockFolder(long groupId, long folderId,
256                    java.lang.String lockUuid)
257                    throws com.liferay.portal.kernel.exception.PortalException,
258                            com.liferay.portal.kernel.exception.SystemException {
259                    _dlFolderService.unlockFolder(groupId, folderId, lockUuid);
260            }
261    
262            public void unlockFolder(long groupId, long parentFolderId,
263                    java.lang.String name, java.lang.String lockUuid)
264                    throws com.liferay.portal.kernel.exception.PortalException,
265                            com.liferay.portal.kernel.exception.SystemException {
266                    _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
267            }
268    
269            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
270                    long folderId, java.lang.String name, java.lang.String description,
271                    long defaultFileEntryTypeId,
272                    java.util.List<java.lang.Long> fileEntryTypeIds,
273                    boolean overrideFileEntryTypes,
274                    com.liferay.portal.service.ServiceContext serviceContext)
275                    throws com.liferay.portal.kernel.exception.PortalException,
276                            com.liferay.portal.kernel.exception.SystemException {
277                    return _dlFolderService.updateFolder(folderId, name, description,
278                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
279                            serviceContext);
280            }
281    
282            public boolean verifyInheritableLock(long folderId,
283                    java.lang.String lockUuid)
284                    throws com.liferay.portal.kernel.exception.PortalException,
285                            com.liferay.portal.kernel.exception.SystemException {
286                    return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
287            }
288    
289            /**
290             * @deprecated Renamed to {@link #getWrappedService}
291             */
292            public DLFolderService getWrappedDLFolderService() {
293                    return _dlFolderService;
294            }
295    
296            /**
297             * @deprecated Renamed to {@link #setWrappedService}
298             */
299            public void setWrappedDLFolderService(DLFolderService dlFolderService) {
300                    _dlFolderService = dlFolderService;
301            }
302    
303            public DLFolderService getWrappedService() {
304                    return _dlFolderService;
305            }
306    
307            public void setWrappedService(DLFolderService dlFolderService) {
308                    _dlFolderService = dlFolderService;
309            }
310    
311            private DLFolderService _dlFolderService;
312    }