001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLFileEntryLocalServiceWrapper implements DLFileEntryLocalService,
029 ServiceWrapper<DLFileEntryLocalService> {
030 public DLFileEntryLocalServiceWrapper(
031 DLFileEntryLocalService dlFileEntryLocalService) {
032 _dlFileEntryLocalService = dlFileEntryLocalService;
033 }
034
035
042 public com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
043 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _dlFileEntryLocalService.addDLFileEntry(dlFileEntry);
046 }
047
048
054 public com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
055 long fileEntryId) {
056 return _dlFileEntryLocalService.createDLFileEntry(fileEntryId);
057 }
058
059
066 public void deleteDLFileEntry(long fileEntryId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
070 }
071
072
078 public void deleteDLFileEntry(
079 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
156 long fileEntryId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _dlFileEntryLocalService.fetchDLFileEntry(fileEntryId);
159 }
160
161
169 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
170 long fileEntryId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
192 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
193 java.lang.String uuid, long groupId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
197 groupId);
198 }
199
200
212 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
213 int start, int end)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _dlFileEntryLocalService.getDLFileEntries(start, end);
216 }
217
218
224 public int getDLFileEntriesCount()
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _dlFileEntryLocalService.getDLFileEntriesCount();
227 }
228
229
236 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
237 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
238 throws com.liferay.portal.kernel.exception.SystemException {
239 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
240 }
241
242
250 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
251 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
252 boolean merge)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry, merge);
255 }
256
257
262 public java.lang.String getBeanIdentifier() {
263 return _dlFileEntryLocalService.getBeanIdentifier();
264 }
265
266
271 public void setBeanIdentifier(java.lang.String beanIdentifier) {
272 _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
273 }
274
275 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
276 long userId, long groupId, long repositoryId, long folderId,
277 java.lang.String sourceFileName, java.lang.String mimeType,
278 java.lang.String title, java.lang.String description,
279 java.lang.String changeLog, long fileEntryTypeId,
280 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
281 java.io.File file, java.io.InputStream is, long size,
282 com.liferay.portal.service.ServiceContext serviceContext)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return _dlFileEntryLocalService.addFileEntry(userId, groupId,
286 repositoryId, folderId, sourceFileName, mimeType, title,
287 description, changeLog, fileEntryTypeId, fieldsMap, file, is, size,
288 serviceContext);
289 }
290
291 public void addFileEntryResources(
292 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
293 boolean addGroupPermissions, boolean addGuestPermissions)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 _dlFileEntryLocalService.addFileEntryResources(dlFileEntry,
297 addGroupPermissions, addGuestPermissions);
298 }
299
300 public void addFileEntryResources(
301 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
302 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _dlFileEntryLocalService.addFileEntryResources(dlFileEntry,
306 groupPermissions, guestPermissions);
307 }
308
309 public void cancelCheckOut(long userId, long fileEntryId)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
313 }
314
315 public void checkInFileEntry(long userId, long fileEntryId,
316 boolean majorVersion, java.lang.String changeLog,
317 com.liferay.portal.service.ServiceContext serviceContext)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
321 majorVersion, changeLog, serviceContext);
322 }
323
324 public void checkInFileEntry(long userId, long fileEntryId,
325 java.lang.String lockUuid)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
329 }
330
331 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
332 long userId, long fileEntryId)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
336 }
337
338 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
339 long userId, long fileEntryId, java.lang.String owner,
340 long expirationTime)
341 throws com.liferay.portal.kernel.exception.PortalException,
342 com.liferay.portal.kernel.exception.SystemException {
343 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
344 owner, expirationTime);
345 }
346
347 public void convertExtraSettings(java.lang.String[] keys)
348 throws com.liferay.portal.kernel.exception.PortalException,
349 com.liferay.portal.kernel.exception.SystemException {
350 _dlFileEntryLocalService.convertExtraSettings(keys);
351 }
352
353 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
354 long fileEntryId, long fromFileVersionId, long toFileVersionId,
355 com.liferay.portal.service.ServiceContext serviceContext)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
359 fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
360 serviceContext);
361 }
362
363 public void deleteFileEntries(long groupId, long folderId)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
367 }
368
369 public void deleteFileEntry(long fileEntryId)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException {
372 _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
373 }
374
375 public void deleteFileEntry(long userId, long fileEntryId)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
379 }
380
381 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
382 long imageId)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
385 }
386
387 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
388 int start, int end)
389 throws com.liferay.portal.kernel.exception.SystemException {
390 return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
391 }
392
393 public java.io.File getFile(long userId, long fileEntryId,
394 java.lang.String version, boolean incrementCounter)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
398 incrementCounter);
399 }
400
401 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
402 java.lang.String version)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
406 version);
407 }
408
409 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
410 java.lang.String version, boolean incrementCounter)
411 throws com.liferay.portal.kernel.exception.PortalException,
412 com.liferay.portal.kernel.exception.SystemException {
413 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
414 version, incrementCounter);
415 }
416
417 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
418 int start, int end)
419 throws com.liferay.portal.kernel.exception.SystemException {
420 return _dlFileEntryLocalService.getFileEntries(start, end);
421 }
422
423 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
424 long groupId, long folderId, int start, int end,
425 com.liferay.portal.kernel.util.OrderByComparator obc)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
428 start, end, obc);
429 }
430
431 public int getFileEntriesCount()
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _dlFileEntryLocalService.getFileEntriesCount();
434 }
435
436 public int getFileEntriesCount(long groupId, long folderId)
437 throws com.liferay.portal.kernel.exception.SystemException {
438 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
439 }
440
441 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
442 long fileEntryId)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
446 }
447
448 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
449 long groupId, long folderId, java.lang.String title)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
453 }
454
455 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
456 long groupId, long folderId, java.lang.String name)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
460 name);
461 }
462
463 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
464 java.lang.String uuid, long groupId)
465 throws com.liferay.portal.kernel.exception.PortalException,
466 com.liferay.portal.kernel.exception.SystemException {
467 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
468 groupId);
469 }
470
471 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
472 long groupId, int start, int end)
473 throws com.liferay.portal.kernel.exception.SystemException {
474 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
475 }
476
477 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
478 long groupId, int start, int end,
479 com.liferay.portal.kernel.util.OrderByComparator obc)
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
482 end, obc);
483 }
484
485 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
486 long groupId, long userId, int start, int end)
487 throws com.liferay.portal.kernel.exception.SystemException {
488 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
489 start, end);
490 }
491
492 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
493 long groupId, long userId, int start, int end,
494 com.liferay.portal.kernel.util.OrderByComparator obc)
495 throws com.liferay.portal.kernel.exception.SystemException {
496 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
497 start, end, obc);
498 }
499
500 public int getGroupFileEntriesCount(long groupId)
501 throws com.liferay.portal.kernel.exception.SystemException {
502 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
503 }
504
505 public int getGroupFileEntriesCount(long groupId, long userId)
506 throws com.liferay.portal.kernel.exception.SystemException {
507 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
508 }
509
510 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
511 throws com.liferay.portal.kernel.exception.SystemException {
512 return _dlFileEntryLocalService.getNoAssetFileEntries();
513 }
514
515 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
516 throws com.liferay.portal.kernel.exception.SystemException {
517 return _dlFileEntryLocalService.getOrphanedFileEntries();
518 }
519
520 public boolean hasExtraSettings()
521 throws com.liferay.portal.kernel.exception.SystemException {
522 return _dlFileEntryLocalService.hasExtraSettings();
523 }
524
525 public boolean hasFileEntryLock(long userId, long fileEntryId)
526 throws com.liferay.portal.kernel.exception.PortalException,
527 com.liferay.portal.kernel.exception.SystemException {
528 return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
529 }
530
531 public boolean isFileEntryCheckedOut(long fileEntryId)
532 throws com.liferay.portal.kernel.exception.PortalException,
533 com.liferay.portal.kernel.exception.SystemException {
534 return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
535 }
536
537 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
538 long userId, long fileEntryId, long newFolderId,
539 com.liferay.portal.service.ServiceContext serviceContext)
540 throws com.liferay.portal.kernel.exception.PortalException,
541 com.liferay.portal.kernel.exception.SystemException {
542 return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
543 newFolderId, serviceContext);
544 }
545
546 public void revertFileEntry(long userId, long fileEntryId,
547 java.lang.String version,
548 com.liferay.portal.service.ServiceContext serviceContext)
549 throws com.liferay.portal.kernel.exception.PortalException,
550 com.liferay.portal.kernel.exception.SystemException {
551 _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
552 serviceContext);
553 }
554
555 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
556 long userId, long fileEntryId, java.lang.String sourceFileName,
557 java.lang.String mimeType, java.lang.String title,
558 java.lang.String description, java.lang.String changeLog,
559 boolean majorVersion, long fileEntryTypeId,
560 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
561 java.io.File file, java.io.InputStream is, long size,
562 com.liferay.portal.service.ServiceContext serviceContext)
563 throws com.liferay.portal.kernel.exception.PortalException,
564 com.liferay.portal.kernel.exception.SystemException {
565 return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
566 sourceFileName, mimeType, title, description, changeLog,
567 majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
568 serviceContext);
569 }
570
571 public void updateSmallImage(long smallImageId, long largeImageId)
572 throws com.liferay.portal.kernel.exception.PortalException,
573 com.liferay.portal.kernel.exception.SystemException {
574 _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
575 }
576
577 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
578 long userId, long fileVersionId, int status,
579 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
580 com.liferay.portal.service.ServiceContext serviceContext)
581 throws com.liferay.portal.kernel.exception.PortalException,
582 com.liferay.portal.kernel.exception.SystemException {
583 return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
584 status, workflowContext, serviceContext);
585 }
586
587 public boolean verifyFileEntryCheckOut(long fileEntryId,
588 java.lang.String lockUuid)
589 throws com.liferay.portal.kernel.exception.PortalException,
590 com.liferay.portal.kernel.exception.SystemException {
591 return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
592 lockUuid);
593 }
594
595
598 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
599 return _dlFileEntryLocalService;
600 }
601
602
605 public void setWrappedDLFileEntryLocalService(
606 DLFileEntryLocalService dlFileEntryLocalService) {
607 _dlFileEntryLocalService = dlFileEntryLocalService;
608 }
609
610 public DLFileEntryLocalService getWrappedService() {
611 return _dlFileEntryLocalService;
612 }
613
614 public void setWrappedService(
615 DLFileEntryLocalService dlFileEntryLocalService) {
616 _dlFileEntryLocalService = dlFileEntryLocalService;
617 }
618
619 private DLFileEntryLocalService _dlFileEntryLocalService;
620 }