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    /**
018     * <p>
019     * This class is a wrapper for {@link DLFileEntryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileEntryService
024     * @generated
025     */
026    public class DLFileEntryServiceWrapper implements DLFileEntryService {
027            public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService) {
028                    _dlFileEntryService = dlFileEntryService;
029            }
030    
031            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
032                    long groupId, long folderId, java.lang.String name,
033                    java.lang.String title, java.lang.String description,
034                    java.lang.String changeLog, java.lang.String extraSettings,
035                    byte[] bytes, com.liferay.portal.service.ServiceContext serviceContext)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _dlFileEntryService.addFileEntry(groupId, folderId, name, title,
039                            description, changeLog, extraSettings, bytes, serviceContext);
040            }
041    
042            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
043                    long groupId, long folderId, java.lang.String name,
044                    java.lang.String title, java.lang.String description,
045                    java.lang.String changeLog, java.lang.String extraSettings,
046                    java.io.File file,
047                    com.liferay.portal.service.ServiceContext serviceContext)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    return _dlFileEntryService.addFileEntry(groupId, folderId, name, title,
051                            description, changeLog, extraSettings, file, serviceContext);
052            }
053    
054            public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
055                    long groupId, long folderId, java.lang.String name,
056                    java.lang.String title, java.lang.String description,
057                    java.lang.String changeLog, java.lang.String extraSettings,
058                    java.io.InputStream is, long size,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _dlFileEntryService.addFileEntry(groupId, folderId, name, title,
063                            description, changeLog, extraSettings, is, size, serviceContext);
064            }
065    
066            public void deleteFileEntry(long fileEntryId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    _dlFileEntryService.deleteFileEntry(fileEntryId);
070            }
071    
072            public void deleteFileEntry(long groupId, long folderId,
073                    java.lang.String name)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    _dlFileEntryService.deleteFileEntry(groupId, folderId, name);
077            }
078    
079            public void deleteFileEntry(long groupId, long folderId,
080                    java.lang.String name, java.lang.String version)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    _dlFileEntryService.deleteFileEntry(groupId, folderId, name, version);
084            }
085    
086            public void deleteFileEntryByTitle(long groupId, long folderId,
087                    java.lang.String titleWithExtension)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    _dlFileEntryService.deleteFileEntryByTitle(groupId, folderId,
091                            titleWithExtension);
092            }
093    
094            public java.io.InputStream getFileAsStream(long fileEntryId,
095                    java.lang.String version)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _dlFileEntryService.getFileAsStream(fileEntryId, version);
099            }
100    
101            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
102                    long groupId, long folderId)
103                    throws com.liferay.portal.kernel.exception.PortalException,
104                            com.liferay.portal.kernel.exception.SystemException {
105                    return _dlFileEntryService.getFileEntries(groupId, folderId);
106            }
107    
108            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
109                    long groupId, long folderId, int start, int end)
110                    throws com.liferay.portal.kernel.exception.PortalException,
111                            com.liferay.portal.kernel.exception.SystemException {
112                    return _dlFileEntryService.getFileEntries(groupId, folderId, start, end);
113            }
114    
115            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
116                    long groupId, long folderId, int start, int end,
117                    com.liferay.portal.kernel.util.OrderByComparator obc)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    return _dlFileEntryService.getFileEntries(groupId, folderId, start,
121                            end, obc);
122            }
123    
124            public int getFileEntriesCount(long groupId, long folderId)
125                    throws com.liferay.portal.kernel.exception.PortalException,
126                            com.liferay.portal.kernel.exception.SystemException {
127                    return _dlFileEntryService.getFileEntriesCount(groupId, folderId);
128            }
129    
130            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
131                    long fileEntryId)
132                    throws com.liferay.portal.kernel.exception.PortalException,
133                            com.liferay.portal.kernel.exception.SystemException {
134                    return _dlFileEntryService.getFileEntry(fileEntryId);
135            }
136    
137            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
138                    long groupId, long folderId, java.lang.String name)
139                    throws com.liferay.portal.kernel.exception.PortalException,
140                            com.liferay.portal.kernel.exception.SystemException {
141                    return _dlFileEntryService.getFileEntry(groupId, folderId, name);
142            }
143    
144            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
145                    long groupId, long folderId, java.lang.String titleWithExtension)
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException {
148                    return _dlFileEntryService.getFileEntryByTitle(groupId, folderId,
149                            titleWithExtension);
150            }
151    
152            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
153                    java.lang.String uuid, long groupId)
154                    throws com.liferay.portal.kernel.exception.PortalException,
155                            com.liferay.portal.kernel.exception.SystemException {
156                    return _dlFileEntryService.getFileEntryByUuidAndGroupId(uuid, groupId);
157            }
158    
159            public com.liferay.portal.model.Lock getFileEntryLock(long groupId,
160                    long folderId, java.lang.String name)
161                    throws com.liferay.portal.kernel.exception.PortalException,
162                            com.liferay.portal.kernel.exception.SystemException {
163                    return _dlFileEntryService.getFileEntryLock(groupId, folderId, name);
164            }
165    
166            public int getFoldersFileEntriesCount(long groupId,
167                    java.util.List<java.lang.Long> folderIds, int status)
168                    throws com.liferay.portal.kernel.exception.SystemException {
169                    return _dlFileEntryService.getFoldersFileEntriesCount(groupId,
170                            folderIds, status);
171            }
172    
173            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
174                    long groupId, long userId, int start, int end)
175                    throws com.liferay.portal.kernel.exception.SystemException {
176                    return _dlFileEntryService.getGroupFileEntries(groupId, userId, start,
177                            end);
178            }
179    
180            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
181                    long groupId, long userId, int start, int end,
182                    com.liferay.portal.kernel.util.OrderByComparator obc)
183                    throws com.liferay.portal.kernel.exception.SystemException {
184                    return _dlFileEntryService.getGroupFileEntries(groupId, userId, start,
185                            end, obc);
186            }
187    
188            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
189                    long groupId, long userId, long rootFolderId, int start, int end)
190                    throws com.liferay.portal.kernel.exception.SystemException {
191                    return _dlFileEntryService.getGroupFileEntries(groupId, userId,
192                            rootFolderId, start, end);
193            }
194    
195            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
196                    long groupId, long userId, long rootFolderId, int start, int end,
197                    com.liferay.portal.kernel.util.OrderByComparator obc)
198                    throws com.liferay.portal.kernel.exception.SystemException {
199                    return _dlFileEntryService.getGroupFileEntries(groupId, userId,
200                            rootFolderId, start, end, obc);
201            }
202    
203            public int getGroupFileEntriesCount(long groupId, long userId)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return _dlFileEntryService.getGroupFileEntriesCount(groupId, userId);
206            }
207    
208            public int getGroupFileEntriesCount(long groupId, long userId,
209                    long rootFolderId)
210                    throws com.liferay.portal.kernel.exception.SystemException {
211                    return _dlFileEntryService.getGroupFileEntriesCount(groupId, userId,
212                            rootFolderId);
213            }
214    
215            public boolean hasFileEntryLock(long groupId, long folderId,
216                    java.lang.String name)
217                    throws com.liferay.portal.kernel.exception.PortalException,
218                            com.liferay.portal.kernel.exception.SystemException {
219                    return _dlFileEntryService.hasFileEntryLock(groupId, folderId, name);
220            }
221    
222            public com.liferay.portal.model.Lock lockFileEntry(long groupId,
223                    long folderId, java.lang.String name)
224                    throws com.liferay.portal.kernel.exception.PortalException,
225                            com.liferay.portal.kernel.exception.SystemException {
226                    return _dlFileEntryService.lockFileEntry(groupId, folderId, name);
227            }
228    
229            public com.liferay.portal.model.Lock lockFileEntry(long groupId,
230                    long folderId, java.lang.String name, java.lang.String owner,
231                    long expirationTime)
232                    throws com.liferay.portal.kernel.exception.PortalException,
233                            com.liferay.portal.kernel.exception.SystemException {
234                    return _dlFileEntryService.lockFileEntry(groupId, folderId, name,
235                            owner, expirationTime);
236            }
237    
238            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
239                    long groupId, long folderId, long newFolderId, java.lang.String name,
240                    com.liferay.portal.service.ServiceContext serviceContext)
241                    throws com.liferay.portal.kernel.exception.PortalException,
242                            com.liferay.portal.kernel.exception.SystemException {
243                    return _dlFileEntryService.moveFileEntry(groupId, folderId,
244                            newFolderId, name, serviceContext);
245            }
246    
247            public com.liferay.portal.model.Lock refreshFileEntryLock(
248                    java.lang.String lockUuid, long expirationTime)
249                    throws com.liferay.portal.kernel.exception.PortalException,
250                            com.liferay.portal.kernel.exception.SystemException {
251                    return _dlFileEntryService.refreshFileEntryLock(lockUuid, expirationTime);
252            }
253    
254            public void revertFileEntry(long fileEntryId)
255                    throws com.liferay.portal.kernel.exception.PortalException,
256                            com.liferay.portal.kernel.exception.SystemException {
257                    _dlFileEntryService.revertFileEntry(fileEntryId);
258            }
259    
260            public void unlockFileEntry(long groupId, long folderId,
261                    java.lang.String name)
262                    throws com.liferay.portal.kernel.exception.PortalException,
263                            com.liferay.portal.kernel.exception.SystemException {
264                    _dlFileEntryService.unlockFileEntry(groupId, folderId, name);
265            }
266    
267            public void unlockFileEntry(long groupId, long folderId,
268                    java.lang.String name, java.lang.String lockUuid)
269                    throws com.liferay.portal.kernel.exception.PortalException,
270                            com.liferay.portal.kernel.exception.SystemException {
271                    _dlFileEntryService.unlockFileEntry(groupId, folderId, name, lockUuid);
272            }
273    
274            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
275                    long groupId, long folderId, java.lang.String name,
276                    java.lang.String sourceFileName, java.lang.String title,
277                    java.lang.String description, java.lang.String changeLog,
278                    boolean majorVersion, java.lang.String extraSettings, byte[] bytes,
279                    com.liferay.portal.service.ServiceContext serviceContext)
280                    throws com.liferay.portal.kernel.exception.PortalException,
281                            com.liferay.portal.kernel.exception.SystemException {
282                    return _dlFileEntryService.updateFileEntry(groupId, folderId, name,
283                            sourceFileName, title, description, changeLog, majorVersion,
284                            extraSettings, bytes, serviceContext);
285            }
286    
287            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
288                    long groupId, long folderId, java.lang.String name,
289                    java.lang.String sourceFileName, java.lang.String title,
290                    java.lang.String description, java.lang.String changeLog,
291                    boolean majorVersion, java.lang.String extraSettings,
292                    java.io.File file,
293                    com.liferay.portal.service.ServiceContext serviceContext)
294                    throws com.liferay.portal.kernel.exception.PortalException,
295                            com.liferay.portal.kernel.exception.SystemException {
296                    return _dlFileEntryService.updateFileEntry(groupId, folderId, name,
297                            sourceFileName, title, description, changeLog, majorVersion,
298                            extraSettings, file, serviceContext);
299            }
300    
301            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
302                    long groupId, long folderId, java.lang.String name,
303                    java.lang.String sourceFileName, java.lang.String title,
304                    java.lang.String description, java.lang.String changeLog,
305                    boolean majorVersion, java.lang.String extraSettings,
306                    java.io.InputStream is, long size,
307                    com.liferay.portal.service.ServiceContext serviceContext)
308                    throws com.liferay.portal.kernel.exception.PortalException,
309                            com.liferay.portal.kernel.exception.SystemException {
310                    return _dlFileEntryService.updateFileEntry(groupId, folderId, name,
311                            sourceFileName, title, description, changeLog, majorVersion,
312                            extraSettings, is, size, serviceContext);
313            }
314    
315            public boolean verifyFileEntryLock(long groupId, long folderId,
316                    java.lang.String name, java.lang.String lockUuid)
317                    throws com.liferay.portal.kernel.exception.PortalException,
318                            com.liferay.portal.kernel.exception.SystemException {
319                    return _dlFileEntryService.verifyFileEntryLock(groupId, folderId, name,
320                            lockUuid);
321            }
322    
323            public DLFileEntryService getWrappedDLFileEntryService() {
324                    return _dlFileEntryService;
325            }
326    
327            public void setWrappedDLFileEntryService(
328                    DLFileEntryService dlFileEntryService) {
329                    _dlFileEntryService = dlFileEntryService;
330            }
331    
332            private DLFileEntryService _dlFileEntryService;
333    }