001    /**
002     * Copyright (c) 2000-2010 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 parentFolderId, java.lang.String name,
033                    java.lang.String description,
034                    com.liferay.portal.service.ServiceContext serviceContext)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _dlFolderService.addFolder(groupId, parentFolderId, name,
038                            description, serviceContext);
039            }
040    
041            public com.liferay.portlet.documentlibrary.model.DLFolder copyFolder(
042                    long groupId, long sourceFolderId, long parentFolderId,
043                    java.lang.String name, java.lang.String description,
044                    com.liferay.portal.service.ServiceContext serviceContext)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException,
047                            java.rmi.RemoteException {
048                    return _dlFolderService.copyFolder(groupId, sourceFolderId,
049                            parentFolderId, name, description, serviceContext);
050            }
051    
052            public void deleteFolder(long folderId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException,
055                            java.rmi.RemoteException {
056                    _dlFolderService.deleteFolder(folderId);
057            }
058    
059            public void deleteFolder(long groupId, long parentFolderId,
060                    java.lang.String name)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException,
063                            java.rmi.RemoteException {
064                    _dlFolderService.deleteFolder(groupId, parentFolderId, name);
065            }
066    
067            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
068                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
069                    int start, int end)
070                    throws com.liferay.portal.kernel.exception.SystemException {
071                    return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
072                            folderIds, status, start, end);
073            }
074    
075            public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
076                    long groupId, long folderId, int status, int start, int end)
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
079                            folderId, status, start, end);
080            }
081    
082            public int getFileEntriesAndFileShortcutsCount(long groupId,
083                    java.util.List<java.lang.Long> folderIds, int status)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
086                            folderIds, status);
087            }
088    
089            public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
090                    int status) throws com.liferay.portal.kernel.exception.SystemException {
091                    return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
092                            folderId, status);
093            }
094    
095            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
096                    long folderId)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    return _dlFolderService.getFolder(folderId);
100            }
101    
102            public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
103                    long groupId, long parentFolderId, java.lang.String name)
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException {
106                    return _dlFolderService.getFolder(groupId, parentFolderId, name);
107            }
108    
109            public long getFolderId(long groupId, long parentFolderId,
110                    java.lang.String name)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    return _dlFolderService.getFolderId(groupId, parentFolderId, name);
114            }
115    
116            public long[] getFolderIds(long groupId, long folderId)
117                    throws com.liferay.portal.kernel.exception.SystemException {
118                    return _dlFolderService.getFolderIds(groupId, folderId);
119            }
120    
121            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
122                    long groupId, long parentFolderId)
123                    throws com.liferay.portal.kernel.exception.SystemException {
124                    return _dlFolderService.getFolders(groupId, parentFolderId);
125            }
126    
127            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
128                    long groupId, long parentFolderId, int start, int end)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _dlFolderService.getFolders(groupId, parentFolderId, start, end);
131            }
132    
133            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
134                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
135                    int start, int end)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
138                            folderIds, status, start, end);
139            }
140    
141            public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
142                    long groupId, long folderId, int status, int start, int end)
143                    throws com.liferay.portal.kernel.exception.PortalException,
144                            com.liferay.portal.kernel.exception.SystemException {
145                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
146                            folderId, status, start, end);
147            }
148    
149            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
150                    java.util.List<java.lang.Long> folderIds, int status)
151                    throws com.liferay.portal.kernel.exception.SystemException {
152                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
153                            folderIds, status);
154            }
155    
156            public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
157                    long folderId, int status)
158                    throws com.liferay.portal.kernel.exception.PortalException,
159                            com.liferay.portal.kernel.exception.SystemException {
160                    return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
161                            folderId, status);
162            }
163    
164            public int getFoldersCount(long groupId, long parentFolderId)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return _dlFolderService.getFoldersCount(groupId, parentFolderId);
167            }
168    
169            public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
170                    long groupId, long folderId)
171                    throws com.liferay.portal.kernel.exception.SystemException {
172                    _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
173            }
174    
175            public boolean hasInheritableLock(long folderId)
176                    throws com.liferay.portal.kernel.exception.PortalException,
177                            com.liferay.portal.kernel.exception.SystemException {
178                    return _dlFolderService.hasInheritableLock(folderId);
179            }
180    
181            public com.liferay.portal.model.Lock lockFolder(long folderId)
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException,
184                            java.rmi.RemoteException {
185                    return _dlFolderService.lockFolder(folderId);
186            }
187    
188            public com.liferay.portal.model.Lock lockFolder(long folderId,
189                    java.lang.String owner, boolean inheritable, long expirationTime)
190                    throws com.liferay.portal.kernel.exception.PortalException,
191                            com.liferay.portal.kernel.exception.SystemException,
192                            java.rmi.RemoteException {
193                    return _dlFolderService.lockFolder(folderId, owner, inheritable,
194                            expirationTime);
195            }
196    
197            public com.liferay.portal.model.Lock refreshFolderLock(
198                    java.lang.String lockUuid, long expirationTime)
199                    throws com.liferay.portal.kernel.exception.PortalException,
200                            com.liferay.portal.kernel.exception.SystemException {
201                    return _dlFolderService.refreshFolderLock(lockUuid, expirationTime);
202            }
203    
204            public void unlockFolder(long groupId, long folderId,
205                    java.lang.String lockUuid)
206                    throws com.liferay.portal.kernel.exception.PortalException,
207                            com.liferay.portal.kernel.exception.SystemException {
208                    _dlFolderService.unlockFolder(groupId, folderId, lockUuid);
209            }
210    
211            public void unlockFolder(long groupId, long parentFolderId,
212                    java.lang.String name, java.lang.String lockUuid)
213                    throws com.liferay.portal.kernel.exception.PortalException,
214                            com.liferay.portal.kernel.exception.SystemException {
215                    _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
216            }
217    
218            public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
219                    long folderId, long parentFolderId, java.lang.String name,
220                    java.lang.String description,
221                    com.liferay.portal.service.ServiceContext serviceContext)
222                    throws com.liferay.portal.kernel.exception.PortalException,
223                            com.liferay.portal.kernel.exception.SystemException,
224                            java.rmi.RemoteException {
225                    return _dlFolderService.updateFolder(folderId, parentFolderId, name,
226                            description, serviceContext);
227            }
228    
229            public boolean verifyInheritableLock(long folderId,
230                    java.lang.String lockUuid)
231                    throws com.liferay.portal.kernel.exception.PortalException,
232                            com.liferay.portal.kernel.exception.SystemException {
233                    return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
234            }
235    
236            public DLFolderService getWrappedDLFolderService() {
237                    return _dlFolderService;
238            }
239    
240            private DLFolderService _dlFolderService;
241    }