001
014
015 package com.liferay.document.library.kernel.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class DLFileEntryServiceWrapper implements DLFileEntryService,
030 ServiceWrapper<DLFileEntryService> {
031 public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService) {
032 _dlFileEntryService = dlFileEntryService;
033 }
034
035 @Override
036 public com.liferay.document.library.kernel.model.DLFileEntry addFileEntry(
037 long groupId, long repositoryId, long folderId,
038 java.lang.String sourceFileName, java.lang.String mimeType,
039 java.lang.String title, java.lang.String description,
040 java.lang.String changeLog, long fileEntryTypeId,
041 java.util.Map<java.lang.String, com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap,
042 java.io.File file, java.io.InputStream is, long size,
043 com.liferay.portal.kernel.service.ServiceContext serviceContext)
044 throws com.liferay.portal.kernel.exception.PortalException {
045 return _dlFileEntryService.addFileEntry(groupId, repositoryId,
046 folderId, sourceFileName, mimeType, title, description, changeLog,
047 fileEntryTypeId, ddmFormValuesMap, file, is, size, serviceContext);
048 }
049
050 @Override
051 public com.liferay.document.library.kernel.model.DLFileVersion cancelCheckOut(
052 long fileEntryId)
053 throws com.liferay.portal.kernel.exception.PortalException {
054 return _dlFileEntryService.cancelCheckOut(fileEntryId);
055 }
056
057 @Override
058 public void checkInFileEntry(long fileEntryId, java.lang.String lockUuid,
059 com.liferay.portal.kernel.service.ServiceContext serviceContext)
060 throws com.liferay.portal.kernel.exception.PortalException {
061 _dlFileEntryService.checkInFileEntry(fileEntryId, lockUuid,
062 serviceContext);
063 }
064
065 @Override
066 public void checkInFileEntry(long fileEntryId, boolean major,
067 java.lang.String changeLog,
068 com.liferay.portal.kernel.service.ServiceContext serviceContext)
069 throws com.liferay.portal.kernel.exception.PortalException {
070 _dlFileEntryService.checkInFileEntry(fileEntryId, major, changeLog,
071 serviceContext);
072 }
073
074 @Override
075 public com.liferay.document.library.kernel.model.DLFileEntry checkOutFileEntry(
076 long fileEntryId, java.lang.String owner, long expirationTime,
077 com.liferay.portal.kernel.service.ServiceContext serviceContext)
078 throws com.liferay.portal.kernel.exception.PortalException {
079 return _dlFileEntryService.checkOutFileEntry(fileEntryId, owner,
080 expirationTime, serviceContext);
081 }
082
083 @Override
084 public com.liferay.document.library.kernel.model.DLFileEntry checkOutFileEntry(
085 long fileEntryId,
086 com.liferay.portal.kernel.service.ServiceContext serviceContext)
087 throws com.liferay.portal.kernel.exception.PortalException {
088 return _dlFileEntryService.checkOutFileEntry(fileEntryId, serviceContext);
089 }
090
091 @Override
092 public com.liferay.document.library.kernel.model.DLFileEntry copyFileEntry(
093 long groupId, long repositoryId, long fileEntryId, long destFolderId,
094 com.liferay.portal.kernel.service.ServiceContext serviceContext)
095 throws com.liferay.portal.kernel.exception.PortalException {
096 return _dlFileEntryService.copyFileEntry(groupId, repositoryId,
097 fileEntryId, destFolderId, serviceContext);
098 }
099
100 @Override
101 public void deleteFileEntry(long fileEntryId)
102 throws com.liferay.portal.kernel.exception.PortalException {
103 _dlFileEntryService.deleteFileEntry(fileEntryId);
104 }
105
106 @Override
107 public void deleteFileEntry(long groupId, long folderId,
108 java.lang.String title)
109 throws com.liferay.portal.kernel.exception.PortalException {
110 _dlFileEntryService.deleteFileEntry(groupId, folderId, title);
111 }
112
113 @Override
114 public void deleteFileVersion(long fileEntryId, java.lang.String version)
115 throws com.liferay.portal.kernel.exception.PortalException {
116 _dlFileEntryService.deleteFileVersion(fileEntryId, version);
117 }
118
119 @Override
120 public com.liferay.document.library.kernel.model.DLFileEntry fetchFileEntryByImageId(
121 long imageId)
122 throws com.liferay.portal.kernel.exception.PortalException {
123 return _dlFileEntryService.fetchFileEntryByImageId(imageId);
124 }
125
126 @Override
127 public java.io.InputStream getFileAsStream(long fileEntryId,
128 java.lang.String version)
129 throws com.liferay.portal.kernel.exception.PortalException {
130 return _dlFileEntryService.getFileAsStream(fileEntryId, version);
131 }
132
133 @Override
134 public java.io.InputStream getFileAsStream(long fileEntryId,
135 java.lang.String version, boolean incrementCounter)
136 throws com.liferay.portal.kernel.exception.PortalException {
137 return _dlFileEntryService.getFileAsStream(fileEntryId, version,
138 incrementCounter);
139 }
140
141 @Override
142 public java.util.List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(
143 long groupId, long folderId, long fileEntryTypeId, int start, int end,
144 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc)
145 throws com.liferay.portal.kernel.exception.PortalException {
146 return _dlFileEntryService.getFileEntries(groupId, folderId,
147 fileEntryTypeId, start, end, obc);
148 }
149
150 @Override
151 public java.util.List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(
152 long groupId, long folderId, java.lang.String[] mimeTypes, int start,
153 int end,
154 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc)
155 throws com.liferay.portal.kernel.exception.PortalException {
156 return _dlFileEntryService.getFileEntries(groupId, folderId, mimeTypes,
157 start, end, obc);
158 }
159
160 @Override
161 public java.util.List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(
162 long groupId, long folderId, int start, int end,
163 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc)
164 throws com.liferay.portal.kernel.exception.PortalException {
165 return _dlFileEntryService.getFileEntries(groupId, folderId, start,
166 end, obc);
167 }
168
169 @Override
170 public java.util.List<com.liferay.document.library.kernel.model.DLFileEntry> getFileEntries(
171 long groupId, long folderId, int status, int start, int end,
172 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc)
173 throws com.liferay.portal.kernel.exception.PortalException {
174 return _dlFileEntryService.getFileEntries(groupId, folderId, status,
175 start, end, obc);
176 }
177
178 @Override
179 public int getFileEntriesCount(long groupId, long folderId) {
180 return _dlFileEntryService.getFileEntriesCount(groupId, folderId);
181 }
182
183 @Override
184 public int getFileEntriesCount(long groupId, long folderId,
185 long fileEntryTypeId) {
186 return _dlFileEntryService.getFileEntriesCount(groupId, folderId,
187 fileEntryTypeId);
188 }
189
190 @Override
191 public int getFileEntriesCount(long groupId, long folderId,
192 java.lang.String[] mimeTypes) {
193 return _dlFileEntryService.getFileEntriesCount(groupId, folderId,
194 mimeTypes);
195 }
196
197 @Override
198 public int getFileEntriesCount(long groupId, long folderId, int status) {
199 return _dlFileEntryService.getFileEntriesCount(groupId, folderId, status);
200 }
201
202 @Override
203 public com.liferay.document.library.kernel.model.DLFileEntry getFileEntry(
204 long fileEntryId)
205 throws com.liferay.portal.kernel.exception.PortalException {
206 return _dlFileEntryService.getFileEntry(fileEntryId);
207 }
208
209 @Override
210 public com.liferay.document.library.kernel.model.DLFileEntry getFileEntry(
211 long groupId, long folderId, java.lang.String title)
212 throws com.liferay.portal.kernel.exception.PortalException {
213 return _dlFileEntryService.getFileEntry(groupId, folderId, title);
214 }
215
216 @Override
217 public com.liferay.document.library.kernel.model.DLFileEntry getFileEntryByUuidAndGroupId(
218 java.lang.String uuid, long groupId)
219 throws com.liferay.portal.kernel.exception.PortalException {
220 return _dlFileEntryService.getFileEntryByUuidAndGroupId(uuid, groupId);
221 }
222
223 @Override
224 public com.liferay.portal.kernel.lock.Lock getFileEntryLock(
225 long fileEntryId) {
226 return _dlFileEntryService.getFileEntryLock(fileEntryId);
227 }
228
229 @Override
230 public int getFoldersFileEntriesCount(long groupId,
231 java.util.List<java.lang.Long> folderIds, int status) {
232 return _dlFileEntryService.getFoldersFileEntriesCount(groupId,
233 folderIds, status);
234 }
235
236 @Override
237 public java.util.List<com.liferay.document.library.kernel.model.DLFileEntry> getGroupFileEntries(
238 long groupId, long userId, long repositoryId, long rootFolderId,
239 java.lang.String[] mimeTypes, int status, int start, int end,
240 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc)
241 throws com.liferay.portal.kernel.exception.PortalException {
242 return _dlFileEntryService.getGroupFileEntries(groupId, userId,
243 repositoryId, rootFolderId, mimeTypes, status, start, end, obc);
244 }
245
246 @Override
247 public java.util.List<com.liferay.document.library.kernel.model.DLFileEntry> getGroupFileEntries(
248 long groupId, long userId, long rootFolderId,
249 java.lang.String[] mimeTypes, int status, int start, int end,
250 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc)
251 throws com.liferay.portal.kernel.exception.PortalException {
252 return _dlFileEntryService.getGroupFileEntries(groupId, userId,
253 rootFolderId, mimeTypes, status, start, end, obc);
254 }
255
256 @Override
257 public java.util.List<com.liferay.document.library.kernel.model.DLFileEntry> getGroupFileEntries(
258 long groupId, long userId, long rootFolderId, int start, int end,
259 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> obc)
260 throws com.liferay.portal.kernel.exception.PortalException {
261 return _dlFileEntryService.getGroupFileEntries(groupId, userId,
262 rootFolderId, start, end, obc);
263 }
264
265 @Override
266 public int getGroupFileEntriesCount(long groupId, long userId,
267 long repositoryId, long rootFolderId, java.lang.String[] mimeTypes,
268 int status) throws com.liferay.portal.kernel.exception.PortalException {
269 return _dlFileEntryService.getGroupFileEntriesCount(groupId, userId,
270 repositoryId, rootFolderId, mimeTypes, status);
271 }
272
273 @Override
274 public int getGroupFileEntriesCount(long groupId, long userId,
275 long rootFolderId)
276 throws com.liferay.portal.kernel.exception.PortalException {
277 return _dlFileEntryService.getGroupFileEntriesCount(groupId, userId,
278 rootFolderId);
279 }
280
281 @Override
282 public int getGroupFileEntriesCount(long groupId, long userId,
283 long rootFolderId, java.lang.String[] mimeTypes, int status)
284 throws com.liferay.portal.kernel.exception.PortalException {
285 return _dlFileEntryService.getGroupFileEntriesCount(groupId, userId,
286 rootFolderId, mimeTypes, status);
287 }
288
289
294 @Override
295 public java.lang.String getOSGiServiceIdentifier() {
296 return _dlFileEntryService.getOSGiServiceIdentifier();
297 }
298
299 @Override
300 public boolean hasFileEntryLock(long fileEntryId)
301 throws com.liferay.portal.kernel.exception.PortalException {
302 return _dlFileEntryService.hasFileEntryLock(fileEntryId);
303 }
304
305 @Override
306 public boolean isFileEntryCheckedOut(long fileEntryId)
307 throws com.liferay.portal.kernel.exception.PortalException {
308 return _dlFileEntryService.isFileEntryCheckedOut(fileEntryId);
309 }
310
311 @Override
312 public boolean isKeepFileVersionLabel(long fileEntryId,
313 com.liferay.portal.kernel.service.ServiceContext serviceContext)
314 throws com.liferay.portal.kernel.exception.PortalException {
315 return _dlFileEntryService.isKeepFileVersionLabel(fileEntryId,
316 serviceContext);
317 }
318
319 @Override
320 public com.liferay.document.library.kernel.model.DLFileEntry moveFileEntry(
321 long fileEntryId, long newFolderId,
322 com.liferay.portal.kernel.service.ServiceContext serviceContext)
323 throws com.liferay.portal.kernel.exception.PortalException {
324 return _dlFileEntryService.moveFileEntry(fileEntryId, newFolderId,
325 serviceContext);
326 }
327
328 @Override
329 public com.liferay.portal.kernel.lock.Lock refreshFileEntryLock(
330 java.lang.String lockUuid, long companyId, long expirationTime)
331 throws com.liferay.portal.kernel.exception.PortalException {
332 return _dlFileEntryService.refreshFileEntryLock(lockUuid, companyId,
333 expirationTime);
334 }
335
336 @Override
337 public void revertFileEntry(long fileEntryId, java.lang.String version,
338 com.liferay.portal.kernel.service.ServiceContext serviceContext)
339 throws com.liferay.portal.kernel.exception.PortalException {
340 _dlFileEntryService.revertFileEntry(fileEntryId, version, serviceContext);
341 }
342
343 @Override
344 public com.liferay.portal.kernel.search.Hits search(long groupId,
345 long creatorUserId, long folderId, java.lang.String[] mimeTypes,
346 int status, int start, int end)
347 throws com.liferay.portal.kernel.exception.PortalException {
348 return _dlFileEntryService.search(groupId, creatorUserId, folderId,
349 mimeTypes, status, start, end);
350 }
351
352 @Override
353 public com.liferay.portal.kernel.search.Hits search(long groupId,
354 long creatorUserId, int status, int start, int end)
355 throws com.liferay.portal.kernel.exception.PortalException {
356 return _dlFileEntryService.search(groupId, creatorUserId, status,
357 start, end);
358 }
359
360 @Override
361 public com.liferay.document.library.kernel.model.DLFileEntry updateFileEntry(
362 long fileEntryId, java.lang.String sourceFileName,
363 java.lang.String mimeType, java.lang.String title,
364 java.lang.String description, java.lang.String changeLog,
365 boolean majorVersion, long fileEntryTypeId,
366 java.util.Map<java.lang.String, com.liferay.dynamic.data.mapping.kernel.DDMFormValues> ddmFormValuesMap,
367 java.io.File file, java.io.InputStream is, long size,
368 com.liferay.portal.kernel.service.ServiceContext serviceContext)
369 throws com.liferay.portal.kernel.exception.PortalException {
370 return _dlFileEntryService.updateFileEntry(fileEntryId, sourceFileName,
371 mimeType, title, description, changeLog, majorVersion,
372 fileEntryTypeId, ddmFormValuesMap, file, is, size, serviceContext);
373 }
374
375 @Override
376 public com.liferay.document.library.kernel.model.DLFileEntry updateStatus(
377 long userId, long fileVersionId, int status,
378 com.liferay.portal.kernel.service.ServiceContext serviceContext,
379 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
380 throws com.liferay.portal.kernel.exception.PortalException {
381 return _dlFileEntryService.updateStatus(userId, fileVersionId, status,
382 serviceContext, workflowContext);
383 }
384
385 @Override
386 public boolean verifyFileEntryCheckOut(long fileEntryId,
387 java.lang.String lockUuid)
388 throws com.liferay.portal.kernel.exception.PortalException {
389 return _dlFileEntryService.verifyFileEntryCheckOut(fileEntryId, lockUuid);
390 }
391
392 @Override
393 public boolean verifyFileEntryLock(long fileEntryId,
394 java.lang.String lockUuid)
395 throws com.liferay.portal.kernel.exception.PortalException {
396 return _dlFileEntryService.verifyFileEntryLock(fileEntryId, lockUuid);
397 }
398
399 @Override
400 public DLFileEntryService getWrappedService() {
401 return _dlFileEntryService;
402 }
403
404 @Override
405 public void setWrappedService(DLFileEntryService dlFileEntryService) {
406 _dlFileEntryService = dlFileEntryService;
407 }
408
409 private DLFileEntryService _dlFileEntryService;
410 }