001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
035                    long groupId, long repositoryId, boolean mountPoint,
036                    long parentFolderId, java.lang.String name,
037                    java.lang.String description,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    return _dlFolderService.addFolder(groupId, repositoryId, mountPoint,
042                            parentFolderId, name, description, serviceContext);
043            }
044    
045            public void deleteFolder(long folderId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _dlFolderService.deleteFolder(folderId);
049            }
050    
051            public void deleteFolder(long groupId, long parentFolderId,
052                    java.lang.String name)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    _dlFolderService.deleteFolder(groupId, parentFolderId, name);
056            }
057    
058            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
059                    long groupId, long folderId, int status, int start, int end)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
062                            folderId, status, start, end);
063            }
064    
065            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
066                    int status) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
068                            folderId, status);
069            }
070    
071            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
072                    long folderId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _dlFolderService.getFolder(folderId);
076            }
077    
078            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
079                    long groupId, long parentFolderId, java.lang.String name)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    return _dlFolderService.getFolder(groupId, parentFolderId, name);
083            }
084    
085            public long[] getFolderIds(long groupId, long folderId)
086                    throws com.liferay.portal.kernel.exception.SystemException {
087                    return _dlFolderService.getFolderIds(groupId, folderId);
088            }
089    
090            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
091                    long groupId, long parentFolderId, boolean includeMountfolders,
092                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
093                    throws com.liferay.portal.kernel.exception.SystemException {
094                    return _dlFolderService.getFolders(groupId, parentFolderId,
095                            includeMountfolders, start, end, obc);
096            }
097    
098            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
099                    long groupId, long parentFolderId, int start, int end,
100                    com.liferay.portal.kernel.util.OrderByComparator obc)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _dlFolderService.getFolders(groupId, parentFolderId, start, end,
103                            obc);
104            }
105    
106            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
107                    long groupId, long folderId, int status, boolean includeMountFolders,
108                    int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
111                            folderId, status, includeMountFolders, start, end, obc);
112            }
113    
114            public int getFoldersAndFileEntriesAndFileShortcuts(long groupId,
115                    long folderId, int status, java.lang.String[] mimeTypes,
116                    boolean includeMountFolders)
117                    throws com.liferay.portal.kernel.exception.SystemException {
118                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
119                            folderId, status, mimeTypes, includeMountFolders);
120            }
121    
122            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
123                    long groupId, long folderId, int status, java.lang.String[] mimeTypes,
124                    boolean includeMountFolders, int start, int end,
125                    com.liferay.portal.kernel.util.OrderByComparator obc)
126                    throws com.liferay.portal.kernel.exception.SystemException {
127                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
128                            folderId, status, mimeTypes, includeMountFolders, start, end, obc);
129            }
130    
131            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
132                    long folderId, int status, boolean includeMountFolders)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
135                            folderId, status, includeMountFolders);
136            }
137    
138            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
139                    long folderId, int status, java.lang.String[] mimeTypes,
140                    boolean includeMountFolders)
141                    throws com.liferay.portal.kernel.exception.SystemException {
142                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
143                            folderId, status, mimeTypes, includeMountFolders);
144            }
145    
146            public int getFoldersCount(long groupId, long parentFolderId)
147                    throws com.liferay.portal.kernel.exception.SystemException {
148                    return _dlFolderService.getFoldersCount(groupId, parentFolderId);
149            }
150    
151            public int getFoldersCount(long groupId, long parentFolderId,
152                    boolean includeMountfolders)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    return _dlFolderService.getFoldersCount(groupId, parentFolderId,
155                            includeMountfolders);
156            }
157    
158            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
159                    long groupId, long parentFolderId, int start, int end,
160                    com.liferay.portal.kernel.util.OrderByComparator obc)
161                    throws com.liferay.portal.kernel.exception.SystemException {
162                    return _dlFolderService.getMountFolders(groupId, parentFolderId, start,
163                            end, obc);
164            }
165    
166            public int getMountFoldersCount(long groupId, long parentFolderId)
167                    throws com.liferay.portal.kernel.exception.SystemException {
168                    return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
169            }
170    
171            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
172                    long groupId, long folderId)
173                    throws com.liferay.portal.kernel.exception.SystemException {
174                    _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
175            }
176    
177            public java.util.List<java.lang.Long> getSubfolderIds(long groupId,
178                    long folderId, boolean recurse)
179                    throws com.liferay.portal.kernel.exception.SystemException {
180                    return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
181            }
182    
183            public boolean hasFolderLock(long folderId)
184                    throws com.liferay.portal.kernel.exception.PortalException,
185                            com.liferay.portal.kernel.exception.SystemException {
186                    return _dlFolderService.hasFolderLock(folderId);
187            }
188    
189            public boolean hasInheritableLock(long folderId)
190                    throws com.liferay.portal.kernel.exception.PortalException,
191                            com.liferay.portal.kernel.exception.SystemException {
192                    return _dlFolderService.hasInheritableLock(folderId);
193            }
194    
195            public boolean isFolderLocked(long folderId)
196                    throws com.liferay.portal.kernel.exception.SystemException {
197                    return _dlFolderService.isFolderLocked(folderId);
198            }
199    
200            public com.liferay.portal.model.Lock lockFolder(long folderId)
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException {
203                    return _dlFolderService.lockFolder(folderId);
204            }
205    
206            public com.liferay.portal.model.Lock lockFolder(long folderId,
207                    java.lang.String owner, boolean inheritable, long expirationTime)
208                    throws com.liferay.portal.kernel.exception.PortalException,
209                            com.liferay.portal.kernel.exception.SystemException {
210                    return _dlFolderService.lockFolder(folderId, owner, inheritable,
211                            expirationTime);
212            }
213    
214            public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
215                    long folderId, long parentFolderId,
216                    com.liferay.portal.service.ServiceContext serviceContext)
217                    throws com.liferay.portal.kernel.exception.PortalException,
218                            com.liferay.portal.kernel.exception.SystemException {
219                    return _dlFolderService.moveFolder(folderId, parentFolderId,
220                            serviceContext);
221            }
222    
223            public com.liferay.portal.model.Lock refreshFolderLock(
224                    java.lang.String lockUuid, long expirationTime)
225                    throws com.liferay.portal.kernel.exception.PortalException,
226                            com.liferay.portal.kernel.exception.SystemException {
227                    return _dlFolderService.refreshFolderLock(lockUuid, expirationTime);
228            }
229    
230            public void unlockFolder(long groupId, long folderId,
231                    java.lang.String lockUuid)
232                    throws com.liferay.portal.kernel.exception.PortalException,
233                            com.liferay.portal.kernel.exception.SystemException {
234                    _dlFolderService.unlockFolder(groupId, folderId, lockUuid);
235            }
236    
237            public void unlockFolder(long groupId, long parentFolderId,
238                    java.lang.String name, java.lang.String lockUuid)
239                    throws com.liferay.portal.kernel.exception.PortalException,
240                            com.liferay.portal.kernel.exception.SystemException {
241                    _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
242            }
243    
244            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
245                    long folderId, java.lang.String name, java.lang.String description,
246                    long defaultFileEntryTypeId,
247                    java.util.List<java.lang.Long> fileEntryTypeIds,
248                    boolean overrideFileEntryTypes,
249                    com.liferay.portal.service.ServiceContext serviceContext)
250                    throws com.liferay.portal.kernel.exception.PortalException,
251                            com.liferay.portal.kernel.exception.SystemException {
252                    return _dlFolderService.updateFolder(folderId, name, description,
253                            defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
254                            serviceContext);
255            }
256    
257            public boolean verifyInheritableLock(long folderId,
258                    java.lang.String lockUuid)
259                    throws com.liferay.portal.kernel.exception.PortalException,
260                            com.liferay.portal.kernel.exception.SystemException {
261                    return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
262            }
263    
264            /**
265             * @deprecated Renamed to {@link #getWrappedService}
266             */
267            public DLFolderService getWrappedDLFolderService() {
268                    return _dlFolderService;
269            }
270    
271            /**
272             * @deprecated Renamed to {@link #setWrappedService}
273             */
274            public void setWrappedDLFolderService(DLFolderService dlFolderService) {
275                    _dlFolderService = dlFolderService;
276            }
277    
278            public DLFolderService getWrappedService() {
279                    return _dlFolderService;
280            }
281    
282            public void setWrappedService(DLFolderService dlFolderService) {
283                    _dlFolderService = dlFolderService;
284            }
285    
286            private DLFolderService _dlFolderService;
287    }