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 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 void deleteFileEntry(long groupId, long folderId,
055                    java.lang.String name)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    _dlFileEntryService.deleteFileEntry(groupId, folderId, name);
059            }
060    
061            public void deleteFileEntry(long groupId, long folderId,
062                    java.lang.String name, java.lang.String version)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    _dlFileEntryService.deleteFileEntry(groupId, folderId, name, version);
066            }
067    
068            public void deleteFileEntryByTitle(long groupId, long folderId,
069                    java.lang.String titleWithExtension)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    _dlFileEntryService.deleteFileEntryByTitle(groupId, folderId,
073                            titleWithExtension);
074            }
075    
076            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
077                    long groupId, long folderId)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    return _dlFileEntryService.getFileEntries(groupId, folderId);
081            }
082    
083            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
084                    long groupId, long folderId, int start, int end)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _dlFileEntryService.getFileEntries(groupId, folderId, start, end);
088            }
089    
090            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
091                    long groupId, long folderId, int start, int end,
092                    com.liferay.portal.kernel.util.OrderByComparator obc)
093                    throws com.liferay.portal.kernel.exception.PortalException,
094                            com.liferay.portal.kernel.exception.SystemException {
095                    return _dlFileEntryService.getFileEntries(groupId, folderId, start,
096                            end, obc);
097            }
098    
099            public int getFileEntriesCount(long groupId, long folderId)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    return _dlFileEntryService.getFileEntriesCount(groupId, folderId);
103            }
104    
105            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
106                    long groupId, long folderId, java.lang.String name)
107                    throws com.liferay.portal.kernel.exception.PortalException,
108                            com.liferay.portal.kernel.exception.SystemException {
109                    return _dlFileEntryService.getFileEntry(groupId, folderId, name);
110            }
111    
112            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByTitle(
113                    long groupId, long folderId, java.lang.String titleWithExtension)
114                    throws com.liferay.portal.kernel.exception.PortalException,
115                            com.liferay.portal.kernel.exception.SystemException {
116                    return _dlFileEntryService.getFileEntryByTitle(groupId, folderId,
117                            titleWithExtension);
118            }
119    
120            public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
121                    java.lang.String uuid, long groupId)
122                    throws com.liferay.portal.kernel.exception.PortalException,
123                            com.liferay.portal.kernel.exception.SystemException {
124                    return _dlFileEntryService.getFileEntryByUuidAndGroupId(uuid, groupId);
125            }
126    
127            public int getFoldersFileEntriesCount(long groupId,
128                    java.util.List<java.lang.Long> folderIds, int status)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    return _dlFileEntryService.getFoldersFileEntriesCount(groupId,
131                            folderIds, status);
132            }
133    
134            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
135                    long groupId, long userId, int start, int end)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _dlFileEntryService.getGroupFileEntries(groupId, userId, start,
138                            end);
139            }
140    
141            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
142                    long groupId, long userId, int start, int end,
143                    com.liferay.portal.kernel.util.OrderByComparator obc)
144                    throws com.liferay.portal.kernel.exception.SystemException {
145                    return _dlFileEntryService.getGroupFileEntries(groupId, userId, start,
146                            end, obc);
147            }
148    
149            public int getGroupFileEntriesCount(long groupId, long userId)
150                    throws com.liferay.portal.kernel.exception.SystemException {
151                    return _dlFileEntryService.getGroupFileEntriesCount(groupId, userId);
152            }
153    
154            public boolean hasFileEntryLock(long groupId, long folderId,
155                    java.lang.String name)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    return _dlFileEntryService.hasFileEntryLock(groupId, folderId, name);
159            }
160    
161            public com.liferay.portal.model.Lock lockFileEntry(long groupId,
162                    long folderId, java.lang.String name)
163                    throws com.liferay.portal.kernel.exception.PortalException,
164                            com.liferay.portal.kernel.exception.SystemException {
165                    return _dlFileEntryService.lockFileEntry(groupId, folderId, name);
166            }
167    
168            public com.liferay.portal.model.Lock lockFileEntry(long groupId,
169                    long folderId, java.lang.String name, java.lang.String owner,
170                    long expirationTime)
171                    throws com.liferay.portal.kernel.exception.PortalException,
172                            com.liferay.portal.kernel.exception.SystemException {
173                    return _dlFileEntryService.lockFileEntry(groupId, folderId, name,
174                            owner, expirationTime);
175            }
176    
177            public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
178                    long groupId, long folderId, long newFolderId, java.lang.String name,
179                    com.liferay.portal.service.ServiceContext serviceContext)
180                    throws com.liferay.portal.kernel.exception.PortalException,
181                            com.liferay.portal.kernel.exception.SystemException {
182                    return _dlFileEntryService.moveFileEntry(groupId, folderId,
183                            newFolderId, name, serviceContext);
184            }
185    
186            public com.liferay.portal.model.Lock refreshFileEntryLock(
187                    java.lang.String lockUuid, long expirationTime)
188                    throws com.liferay.portal.kernel.exception.PortalException,
189                            com.liferay.portal.kernel.exception.SystemException {
190                    return _dlFileEntryService.refreshFileEntryLock(lockUuid, expirationTime);
191            }
192    
193            public void unlockFileEntry(long groupId, long folderId,
194                    java.lang.String name)
195                    throws com.liferay.portal.kernel.exception.SystemException {
196                    _dlFileEntryService.unlockFileEntry(groupId, folderId, name);
197            }
198    
199            public void unlockFileEntry(long groupId, long folderId,
200                    java.lang.String name, java.lang.String lockUuid)
201                    throws com.liferay.portal.kernel.exception.PortalException,
202                            com.liferay.portal.kernel.exception.SystemException {
203                    _dlFileEntryService.unlockFileEntry(groupId, folderId, name, lockUuid);
204            }
205    
206            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
207                    long groupId, long folderId, java.lang.String name,
208                    java.lang.String sourceFileName, java.lang.String title,
209                    java.lang.String description, java.lang.String changeLog,
210                    boolean majorVersion, java.lang.String extraSettings, byte[] bytes,
211                    com.liferay.portal.service.ServiceContext serviceContext)
212                    throws com.liferay.portal.kernel.exception.PortalException,
213                            com.liferay.portal.kernel.exception.SystemException {
214                    return _dlFileEntryService.updateFileEntry(groupId, folderId, name,
215                            sourceFileName, title, description, changeLog, majorVersion,
216                            extraSettings, bytes, serviceContext);
217            }
218    
219            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
220                    long groupId, long folderId, java.lang.String name,
221                    java.lang.String sourceFileName, java.lang.String title,
222                    java.lang.String description, java.lang.String changeLog,
223                    boolean majorVersion, java.lang.String extraSettings,
224                    java.io.File file,
225                    com.liferay.portal.service.ServiceContext serviceContext)
226                    throws com.liferay.portal.kernel.exception.PortalException,
227                            com.liferay.portal.kernel.exception.SystemException {
228                    return _dlFileEntryService.updateFileEntry(groupId, folderId, name,
229                            sourceFileName, title, description, changeLog, majorVersion,
230                            extraSettings, file, serviceContext);
231            }
232    
233            public boolean verifyFileEntryLock(long groupId, long folderId,
234                    java.lang.String name, java.lang.String lockUuid)
235                    throws com.liferay.portal.kernel.exception.PortalException,
236                            com.liferay.portal.kernel.exception.SystemException {
237                    return _dlFileEntryService.verifyFileEntryLock(groupId, folderId, name,
238                            lockUuid);
239            }
240    
241            public DLFileEntryService getWrappedDLFileEntryService() {
242                    return _dlFileEntryService;
243            }
244    
245            private DLFileEntryService _dlFileEntryService;
246    }