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