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
067 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
068 long fileEntryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _dlFileEntryLocalService.deleteDLFileEntry(fileEntryId);
072 }
073
074
081 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
082 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _dlFileEntryLocalService.deleteDLFileEntry(dlFileEntry);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _dlFileEntryLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _dlFileEntryLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _dlFileEntryLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
163 long fileEntryId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _dlFileEntryLocalService.fetchDLFileEntry(fileEntryId);
166 }
167
168
176 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
177 long fileEntryId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlFileEntryLocalService.getDLFileEntry(fileEntryId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _dlFileEntryLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _dlFileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid,
204 groupId);
205 }
206
207
219 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
220 int start, int end)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _dlFileEntryLocalService.getDLFileEntries(start, end);
223 }
224
225
231 public int getDLFileEntriesCount()
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _dlFileEntryLocalService.getDLFileEntriesCount();
234 }
235
236
243 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
244 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _dlFileEntryLocalService.updateDLFileEntry(dlFileEntry);
247 }
248
249
254 public java.lang.String getBeanIdentifier() {
255 return _dlFileEntryLocalService.getBeanIdentifier();
256 }
257
258
263 public void setBeanIdentifier(java.lang.String beanIdentifier) {
264 _dlFileEntryLocalService.setBeanIdentifier(beanIdentifier);
265 }
266
267 public com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
268 long userId, long groupId, long repositoryId, long folderId,
269 java.lang.String sourceFileName, java.lang.String mimeType,
270 java.lang.String title, java.lang.String description,
271 java.lang.String changeLog, long fileEntryTypeId,
272 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
273 java.io.File file, java.io.InputStream is, long size,
274 com.liferay.portal.service.ServiceContext serviceContext)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException {
277 return _dlFileEntryLocalService.addFileEntry(userId, groupId,
278 repositoryId, folderId, sourceFileName, mimeType, title,
279 description, changeLog, fileEntryTypeId, fieldsMap, file, is, size,
280 serviceContext);
281 }
282
283 public com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
284 long userId, long fileEntryId)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException {
287 return _dlFileEntryLocalService.cancelCheckOut(userId, fileEntryId);
288 }
289
290 public void checkInFileEntry(long userId, long fileEntryId,
291 boolean majorVersion, java.lang.String changeLog,
292 com.liferay.portal.service.ServiceContext serviceContext)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
296 majorVersion, changeLog, serviceContext);
297 }
298
299
303 public void checkInFileEntry(long userId, long fileEntryId,
304 java.lang.String lockUuid)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException {
307 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
308 }
309
310 public void checkInFileEntry(long userId, long fileEntryId,
311 java.lang.String lockUuid,
312 com.liferay.portal.service.ServiceContext serviceContext)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
316 lockUuid, serviceContext);
317 }
318
319
323 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
324 long userId, long fileEntryId)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
328 }
329
330 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
331 long userId, long fileEntryId,
332 com.liferay.portal.service.ServiceContext serviceContext)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
336 serviceContext);
337 }
338
339
343 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
344 long userId, long fileEntryId, java.lang.String owner,
345 long expirationTime)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
349 owner, expirationTime);
350 }
351
352 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
353 long userId, long fileEntryId, java.lang.String owner,
354 long expirationTime,
355 com.liferay.portal.service.ServiceContext serviceContext)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
359 owner, expirationTime, serviceContext);
360 }
361
362 public void convertExtraSettings(java.lang.String[] keys)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 _dlFileEntryLocalService.convertExtraSettings(keys);
366 }
367
368 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
369 long fileEntryId, long fromFileVersionId, long toFileVersionId,
370 com.liferay.portal.service.ServiceContext serviceContext)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
374 fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
375 serviceContext);
376 }
377
378 public void deleteFileEntries(long groupId, long folderId)
379 throws com.liferay.portal.kernel.exception.PortalException,
380 com.liferay.portal.kernel.exception.SystemException {
381 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
382 }
383
384 public void deleteFileEntries(long groupId, long folderId,
385 boolean includeTrashedEntries)
386 throws com.liferay.portal.kernel.exception.PortalException,
387 com.liferay.portal.kernel.exception.SystemException {
388 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId,
389 includeTrashedEntries);
390 }
391
392 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
393 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException {
396 return _dlFileEntryLocalService.deleteFileEntry(dlFileEntry);
397 }
398
399 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
400 long fileEntryId)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException {
403 return _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
404 }
405
406 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
407 long userId, long fileEntryId)
408 throws com.liferay.portal.kernel.exception.PortalException,
409 com.liferay.portal.kernel.exception.SystemException {
410 return _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
411 }
412
413 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileVersion(
414 long userId, long fileEntryId, java.lang.String version)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException {
417 return _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId,
418 version);
419 }
420
421 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
422 long groupId, long folderId, java.lang.String title)
423 throws com.liferay.portal.kernel.exception.SystemException {
424 return _dlFileEntryLocalService.fetchFileEntry(groupId, folderId, title);
425 }
426
427 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
428 long imageId)
429 throws com.liferay.portal.kernel.exception.SystemException {
430 return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
431 }
432
433 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
434 long groupId, long folderId, java.lang.String name)
435 throws com.liferay.portal.kernel.exception.SystemException {
436 return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
437 name);
438 }
439
440 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDDMStructureFileEntries(
441 long[] ddmStructureIds)
442 throws com.liferay.portal.kernel.exception.SystemException {
443 return _dlFileEntryLocalService.getDDMStructureFileEntries(ddmStructureIds);
444 }
445
446 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
447 int start, int end)
448 throws com.liferay.portal.kernel.exception.SystemException {
449 return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
450 }
451
452 public java.io.File getFile(long userId, long fileEntryId,
453 java.lang.String version, boolean incrementCounter)
454 throws com.liferay.portal.kernel.exception.PortalException,
455 com.liferay.portal.kernel.exception.SystemException {
456 return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
457 incrementCounter);
458 }
459
460 public java.io.File getFile(long userId, long fileEntryId,
461 java.lang.String version, boolean incrementCounter, int increment)
462 throws com.liferay.portal.kernel.exception.PortalException,
463 com.liferay.portal.kernel.exception.SystemException {
464 return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
465 incrementCounter, increment);
466 }
467
468 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
469 java.lang.String version)
470 throws com.liferay.portal.kernel.exception.PortalException,
471 com.liferay.portal.kernel.exception.SystemException {
472 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
473 version);
474 }
475
476 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
477 java.lang.String version, boolean incrementCounter)
478 throws com.liferay.portal.kernel.exception.PortalException,
479 com.liferay.portal.kernel.exception.SystemException {
480 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
481 version, incrementCounter);
482 }
483
484 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
485 java.lang.String version, boolean incrementCounter, int increment)
486 throws com.liferay.portal.kernel.exception.PortalException,
487 com.liferay.portal.kernel.exception.SystemException {
488 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
489 version, incrementCounter, increment);
490 }
491
492 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
493 int start, int end)
494 throws com.liferay.portal.kernel.exception.SystemException {
495 return _dlFileEntryLocalService.getFileEntries(start, end);
496 }
497
498 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
499 long groupId, long folderId)
500 throws com.liferay.portal.kernel.exception.SystemException {
501 return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
502 }
503
504 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
505 long groupId, long folderId, int status, int start, int end,
506 com.liferay.portal.kernel.util.OrderByComparator obc)
507 throws com.liferay.portal.kernel.exception.SystemException {
508 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
509 status, start, end, obc);
510 }
511
512 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
513 long groupId, long folderId, int start, int end,
514 com.liferay.portal.kernel.util.OrderByComparator obc)
515 throws com.liferay.portal.kernel.exception.SystemException {
516 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
517 start, end, obc);
518 }
519
520 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
521 long folderId, java.lang.String name)
522 throws com.liferay.portal.kernel.exception.SystemException {
523 return _dlFileEntryLocalService.getFileEntries(folderId, name);
524 }
525
526 public int getFileEntriesCount()
527 throws com.liferay.portal.kernel.exception.SystemException {
528 return _dlFileEntryLocalService.getFileEntriesCount();
529 }
530
531 public int getFileEntriesCount(long groupId, long folderId)
532 throws com.liferay.portal.kernel.exception.SystemException {
533 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
534 }
535
536 public int getFileEntriesCount(long groupId, long folderId, int status)
537 throws com.liferay.portal.kernel.exception.SystemException {
538 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
539 status);
540 }
541
542 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
543 long fileEntryId)
544 throws com.liferay.portal.kernel.exception.PortalException,
545 com.liferay.portal.kernel.exception.SystemException {
546 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
547 }
548
549 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
550 long groupId, long folderId, java.lang.String title)
551 throws com.liferay.portal.kernel.exception.PortalException,
552 com.liferay.portal.kernel.exception.SystemException {
553 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
554 }
555
556 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
557 long groupId, long folderId, java.lang.String name)
558 throws com.liferay.portal.kernel.exception.PortalException,
559 com.liferay.portal.kernel.exception.SystemException {
560 return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
561 name);
562 }
563
564 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
565 java.lang.String uuid, long groupId)
566 throws com.liferay.portal.kernel.exception.PortalException,
567 com.liferay.portal.kernel.exception.SystemException {
568 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
569 groupId);
570 }
571
572 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
573 long groupId, int start, int end)
574 throws com.liferay.portal.kernel.exception.SystemException {
575 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
576 }
577
578 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
579 long groupId, int start, int end,
580 com.liferay.portal.kernel.util.OrderByComparator obc)
581 throws com.liferay.portal.kernel.exception.SystemException {
582 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
583 end, obc);
584 }
585
586 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
587 long groupId, long userId, int start, int end)
588 throws com.liferay.portal.kernel.exception.SystemException {
589 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
590 start, end);
591 }
592
593 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
594 long groupId, long userId, int start, int end,
595 com.liferay.portal.kernel.util.OrderByComparator obc)
596 throws com.liferay.portal.kernel.exception.SystemException {
597 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
598 start, end, obc);
599 }
600
601 public int getGroupFileEntriesCount(long groupId)
602 throws com.liferay.portal.kernel.exception.SystemException {
603 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
604 }
605
606 public int getGroupFileEntriesCount(long groupId, long userId)
607 throws com.liferay.portal.kernel.exception.SystemException {
608 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
609 }
610
611 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
612 throws com.liferay.portal.kernel.exception.SystemException {
613 return _dlFileEntryLocalService.getMisversionedFileEntries();
614 }
615
616 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
617 throws com.liferay.portal.kernel.exception.SystemException {
618 return _dlFileEntryLocalService.getNoAssetFileEntries();
619 }
620
621 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
622 throws com.liferay.portal.kernel.exception.SystemException {
623 return _dlFileEntryLocalService.getOrphanedFileEntries();
624 }
625
626 public boolean hasExtraSettings()
627 throws com.liferay.portal.kernel.exception.SystemException {
628 return _dlFileEntryLocalService.hasExtraSettings();
629 }
630
631 public boolean hasFileEntryLock(long userId, long fileEntryId)
632 throws com.liferay.portal.kernel.exception.PortalException,
633 com.liferay.portal.kernel.exception.SystemException {
634 return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
635 }
636
637 public void incrementViewCounter(
638 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
639 int increment)
640 throws com.liferay.portal.kernel.exception.SystemException {
641 _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
642 }
643
644 public boolean isFileEntryCheckedOut(long fileEntryId)
645 throws com.liferay.portal.kernel.exception.PortalException,
646 com.liferay.portal.kernel.exception.SystemException {
647 return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
648 }
649
650 public com.liferay.portal.model.Lock lockFileEntry(long userId,
651 long fileEntryId)
652 throws com.liferay.portal.kernel.exception.PortalException,
653 com.liferay.portal.kernel.exception.SystemException {
654 return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
655 }
656
657 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
658 long userId, long fileEntryId, long newFolderId,
659 com.liferay.portal.service.ServiceContext serviceContext)
660 throws com.liferay.portal.kernel.exception.PortalException,
661 com.liferay.portal.kernel.exception.SystemException {
662 return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
663 newFolderId, serviceContext);
664 }
665
666 public void revertFileEntry(long userId, long fileEntryId,
667 java.lang.String version,
668 com.liferay.portal.service.ServiceContext serviceContext)
669 throws com.liferay.portal.kernel.exception.PortalException,
670 com.liferay.portal.kernel.exception.SystemException {
671 _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
672 serviceContext);
673 }
674
675 public void unlockFileEntry(long fileEntryId)
676 throws com.liferay.portal.kernel.exception.SystemException {
677 _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
678 }
679
680 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
681 long userId, long fileEntryId, java.lang.String sourceFileName,
682 java.lang.String mimeType, java.lang.String title,
683 java.lang.String description, java.lang.String changeLog,
684 boolean majorVersion, long fileEntryTypeId,
685 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
686 java.io.File file, java.io.InputStream is, long size,
687 com.liferay.portal.service.ServiceContext serviceContext)
688 throws com.liferay.portal.kernel.exception.PortalException,
689 com.liferay.portal.kernel.exception.SystemException {
690 return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
691 sourceFileName, mimeType, title, description, changeLog,
692 majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
693 serviceContext);
694 }
695
696 public void updateSmallImage(long smallImageId, long largeImageId)
697 throws com.liferay.portal.kernel.exception.PortalException,
698 com.liferay.portal.kernel.exception.SystemException {
699 _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
700 }
701
702 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
703 long userId, long fileVersionId, int status,
704 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
705 com.liferay.portal.service.ServiceContext serviceContext)
706 throws com.liferay.portal.kernel.exception.PortalException,
707 com.liferay.portal.kernel.exception.SystemException {
708 return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
709 status, workflowContext, serviceContext);
710 }
711
712 public boolean verifyFileEntryCheckOut(long fileEntryId,
713 java.lang.String lockUuid)
714 throws com.liferay.portal.kernel.exception.PortalException,
715 com.liferay.portal.kernel.exception.SystemException {
716 return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
717 lockUuid);
718 }
719
720 public boolean verifyFileEntryLock(long fileEntryId,
721 java.lang.String lockUuid)
722 throws com.liferay.portal.kernel.exception.PortalException,
723 com.liferay.portal.kernel.exception.SystemException {
724 return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
725 lockUuid);
726 }
727
728
731 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
732 return _dlFileEntryLocalService;
733 }
734
735
738 public void setWrappedDLFileEntryLocalService(
739 DLFileEntryLocalService dlFileEntryLocalService) {
740 _dlFileEntryLocalService = dlFileEntryLocalService;
741 }
742
743 public DLFileEntryLocalService getWrappedService() {
744 return _dlFileEntryLocalService;
745 }
746
747 public void setWrappedService(
748 DLFileEntryLocalService dlFileEntryLocalService) {
749 _dlFileEntryLocalService = dlFileEntryLocalService;
750 }
751
752 private DLFileEntryLocalService _dlFileEntryLocalService;
753 }