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
302 public void checkInFileEntry(long userId, long fileEntryId,
303 java.lang.String lockUuid)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId, lockUuid);
307 }
308
309 public void checkInFileEntry(long userId, long fileEntryId,
310 java.lang.String lockUuid,
311 com.liferay.portal.service.ServiceContext serviceContext)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _dlFileEntryLocalService.checkInFileEntry(userId, fileEntryId,
315 lockUuid, serviceContext);
316 }
317
318
321 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
322 long userId, long fileEntryId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId);
326 }
327
328 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
329 long userId, long fileEntryId,
330 com.liferay.portal.service.ServiceContext serviceContext)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
334 serviceContext);
335 }
336
337
341 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
342 long userId, long fileEntryId, java.lang.String owner,
343 long expirationTime)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException {
346 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
347 owner, expirationTime);
348 }
349
350 public com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
351 long userId, long fileEntryId, java.lang.String owner,
352 long expirationTime,
353 com.liferay.portal.service.ServiceContext serviceContext)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 return _dlFileEntryLocalService.checkOutFileEntry(userId, fileEntryId,
357 owner, expirationTime, serviceContext);
358 }
359
360 public void convertExtraSettings(java.lang.String[] keys)
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException {
363 _dlFileEntryLocalService.convertExtraSettings(keys);
364 }
365
366 public void copyFileEntryMetadata(long companyId, long fileEntryTypeId,
367 long fileEntryId, long fromFileVersionId, long toFileVersionId,
368 com.liferay.portal.service.ServiceContext serviceContext)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 _dlFileEntryLocalService.copyFileEntryMetadata(companyId,
372 fileEntryTypeId, fileEntryId, fromFileVersionId, toFileVersionId,
373 serviceContext);
374 }
375
376 public void deleteFileEntries(long groupId, long folderId)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException {
379 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId);
380 }
381
382 public void deleteFileEntries(long groupId, long folderId,
383 boolean includeTrashedEntries)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 _dlFileEntryLocalService.deleteFileEntries(groupId, folderId,
387 includeTrashedEntries);
388 }
389
390 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
391 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException {
394 return _dlFileEntryLocalService.deleteFileEntry(dlFileEntry);
395 }
396
397 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
398 long fileEntryId)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 return _dlFileEntryLocalService.deleteFileEntry(fileEntryId);
402 }
403
404 public com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
405 long userId, long fileEntryId)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 return _dlFileEntryLocalService.deleteFileEntry(userId, fileEntryId);
409 }
410
411 public void deleteFileVersion(long userId, long fileEntryId,
412 java.lang.String version)
413 throws com.liferay.portal.kernel.exception.PortalException,
414 com.liferay.portal.kernel.exception.SystemException {
415 _dlFileEntryLocalService.deleteFileVersion(userId, fileEntryId, version);
416 }
417
418 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
419 long groupId, long folderId, java.lang.String title)
420 throws com.liferay.portal.kernel.exception.SystemException {
421 return _dlFileEntryLocalService.fetchFileEntry(groupId, folderId, title);
422 }
423
424 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
425 long imageId)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 return _dlFileEntryLocalService.fetchFileEntryByAnyImageId(imageId);
428 }
429
430 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
431 long groupId, long folderId, java.lang.String name)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _dlFileEntryLocalService.fetchFileEntryByName(groupId, folderId,
434 name);
435 }
436
437 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
438 int start, int end)
439 throws com.liferay.portal.kernel.exception.SystemException {
440 return _dlFileEntryLocalService.getExtraSettingsFileEntries(start, end);
441 }
442
443 public java.io.File getFile(long userId, long fileEntryId,
444 java.lang.String version, boolean incrementCounter)
445 throws com.liferay.portal.kernel.exception.PortalException,
446 com.liferay.portal.kernel.exception.SystemException {
447 return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
448 incrementCounter);
449 }
450
451 public java.io.File getFile(long userId, long fileEntryId,
452 java.lang.String version, boolean incrementCounter, int increment)
453 throws com.liferay.portal.kernel.exception.PortalException,
454 com.liferay.portal.kernel.exception.SystemException {
455 return _dlFileEntryLocalService.getFile(userId, fileEntryId, version,
456 incrementCounter, increment);
457 }
458
459 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
460 java.lang.String version)
461 throws com.liferay.portal.kernel.exception.PortalException,
462 com.liferay.portal.kernel.exception.SystemException {
463 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
464 version);
465 }
466
467 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
468 java.lang.String version, boolean incrementCounter)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
472 version, incrementCounter);
473 }
474
475 public java.io.InputStream getFileAsStream(long userId, long fileEntryId,
476 java.lang.String version, boolean incrementCounter, int increment)
477 throws com.liferay.portal.kernel.exception.PortalException,
478 com.liferay.portal.kernel.exception.SystemException {
479 return _dlFileEntryLocalService.getFileAsStream(userId, fileEntryId,
480 version, incrementCounter, increment);
481 }
482
483 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
484 int start, int end)
485 throws com.liferay.portal.kernel.exception.SystemException {
486 return _dlFileEntryLocalService.getFileEntries(start, end);
487 }
488
489 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
490 long groupId, long folderId)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return _dlFileEntryLocalService.getFileEntries(groupId, folderId);
493 }
494
495 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
496 long groupId, long folderId, int status, int start, int end,
497 com.liferay.portal.kernel.util.OrderByComparator obc)
498 throws com.liferay.portal.kernel.exception.SystemException {
499 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
500 status, start, end, obc);
501 }
502
503 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
504 long groupId, long folderId, int start, int end,
505 com.liferay.portal.kernel.util.OrderByComparator obc)
506 throws com.liferay.portal.kernel.exception.SystemException {
507 return _dlFileEntryLocalService.getFileEntries(groupId, folderId,
508 start, end, obc);
509 }
510
511 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
512 long folderId, java.lang.String name)
513 throws com.liferay.portal.kernel.exception.SystemException {
514 return _dlFileEntryLocalService.getFileEntries(folderId, name);
515 }
516
517 public int getFileEntriesCount()
518 throws com.liferay.portal.kernel.exception.SystemException {
519 return _dlFileEntryLocalService.getFileEntriesCount();
520 }
521
522 public int getFileEntriesCount(long groupId, long folderId)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
525 }
526
527 public int getFileEntriesCount(long groupId, long folderId, int status)
528 throws com.liferay.portal.kernel.exception.SystemException {
529 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
530 status);
531 }
532
533 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
534 long fileEntryId)
535 throws com.liferay.portal.kernel.exception.PortalException,
536 com.liferay.portal.kernel.exception.SystemException {
537 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
538 }
539
540 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
541 long groupId, long folderId, java.lang.String title)
542 throws com.liferay.portal.kernel.exception.PortalException,
543 com.liferay.portal.kernel.exception.SystemException {
544 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
545 }
546
547 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
548 long groupId, long folderId, java.lang.String name)
549 throws com.liferay.portal.kernel.exception.PortalException,
550 com.liferay.portal.kernel.exception.SystemException {
551 return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
552 name);
553 }
554
555 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
556 java.lang.String uuid, long groupId)
557 throws com.liferay.portal.kernel.exception.PortalException,
558 com.liferay.portal.kernel.exception.SystemException {
559 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
560 groupId);
561 }
562
563 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
564 long groupId, int start, int end)
565 throws com.liferay.portal.kernel.exception.SystemException {
566 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
567 }
568
569 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
570 long groupId, int start, int end,
571 com.liferay.portal.kernel.util.OrderByComparator obc)
572 throws com.liferay.portal.kernel.exception.SystemException {
573 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
574 end, obc);
575 }
576
577 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
578 long groupId, long userId, int start, int end)
579 throws com.liferay.portal.kernel.exception.SystemException {
580 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
581 start, end);
582 }
583
584 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
585 long groupId, long userId, int start, int end,
586 com.liferay.portal.kernel.util.OrderByComparator obc)
587 throws com.liferay.portal.kernel.exception.SystemException {
588 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
589 start, end, obc);
590 }
591
592 public int getGroupFileEntriesCount(long groupId)
593 throws com.liferay.portal.kernel.exception.SystemException {
594 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
595 }
596
597 public int getGroupFileEntriesCount(long groupId, long userId)
598 throws com.liferay.portal.kernel.exception.SystemException {
599 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
600 }
601
602 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
603 throws com.liferay.portal.kernel.exception.SystemException {
604 return _dlFileEntryLocalService.getMisversionedFileEntries();
605 }
606
607 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
608 throws com.liferay.portal.kernel.exception.SystemException {
609 return _dlFileEntryLocalService.getNoAssetFileEntries();
610 }
611
612 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
613 throws com.liferay.portal.kernel.exception.SystemException {
614 return _dlFileEntryLocalService.getOrphanedFileEntries();
615 }
616
617 public boolean hasExtraSettings()
618 throws com.liferay.portal.kernel.exception.SystemException {
619 return _dlFileEntryLocalService.hasExtraSettings();
620 }
621
622 public boolean hasFileEntryLock(long userId, long fileEntryId)
623 throws com.liferay.portal.kernel.exception.PortalException,
624 com.liferay.portal.kernel.exception.SystemException {
625 return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
626 }
627
628 public void incrementViewCounter(
629 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
630 int increment)
631 throws com.liferay.portal.kernel.exception.SystemException {
632 _dlFileEntryLocalService.incrementViewCounter(dlFileEntry, increment);
633 }
634
635 public boolean isFileEntryCheckedOut(long fileEntryId)
636 throws com.liferay.portal.kernel.exception.PortalException,
637 com.liferay.portal.kernel.exception.SystemException {
638 return _dlFileEntryLocalService.isFileEntryCheckedOut(fileEntryId);
639 }
640
641 public com.liferay.portal.model.Lock lockFileEntry(long userId,
642 long fileEntryId)
643 throws com.liferay.portal.kernel.exception.PortalException,
644 com.liferay.portal.kernel.exception.SystemException {
645 return _dlFileEntryLocalService.lockFileEntry(userId, fileEntryId);
646 }
647
648 public com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
649 long userId, long fileEntryId, long newFolderId,
650 com.liferay.portal.service.ServiceContext serviceContext)
651 throws com.liferay.portal.kernel.exception.PortalException,
652 com.liferay.portal.kernel.exception.SystemException {
653 return _dlFileEntryLocalService.moveFileEntry(userId, fileEntryId,
654 newFolderId, serviceContext);
655 }
656
657 public void revertFileEntry(long userId, long fileEntryId,
658 java.lang.String version,
659 com.liferay.portal.service.ServiceContext serviceContext)
660 throws com.liferay.portal.kernel.exception.PortalException,
661 com.liferay.portal.kernel.exception.SystemException {
662 _dlFileEntryLocalService.revertFileEntry(userId, fileEntryId, version,
663 serviceContext);
664 }
665
666 public void unlockFileEntry(long fileEntryId)
667 throws com.liferay.portal.kernel.exception.SystemException {
668 _dlFileEntryLocalService.unlockFileEntry(fileEntryId);
669 }
670
671 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
672 long userId, long fileEntryId, java.lang.String sourceFileName,
673 java.lang.String mimeType, java.lang.String title,
674 java.lang.String description, java.lang.String changeLog,
675 boolean majorVersion, long fileEntryTypeId,
676 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
677 java.io.File file, java.io.InputStream is, long size,
678 com.liferay.portal.service.ServiceContext serviceContext)
679 throws com.liferay.portal.kernel.exception.PortalException,
680 com.liferay.portal.kernel.exception.SystemException {
681 return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
682 sourceFileName, mimeType, title, description, changeLog,
683 majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
684 serviceContext);
685 }
686
687 public void updateSmallImage(long smallImageId, long largeImageId)
688 throws com.liferay.portal.kernel.exception.PortalException,
689 com.liferay.portal.kernel.exception.SystemException {
690 _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
691 }
692
693 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
694 long userId, long fileVersionId, int status,
695 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
696 com.liferay.portal.service.ServiceContext serviceContext)
697 throws com.liferay.portal.kernel.exception.PortalException,
698 com.liferay.portal.kernel.exception.SystemException {
699 return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
700 status, workflowContext, serviceContext);
701 }
702
703 public boolean verifyFileEntryCheckOut(long fileEntryId,
704 java.lang.String lockUuid)
705 throws com.liferay.portal.kernel.exception.PortalException,
706 com.liferay.portal.kernel.exception.SystemException {
707 return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
708 lockUuid);
709 }
710
711 public boolean verifyFileEntryLock(long fileEntryId,
712 java.lang.String lockUuid)
713 throws com.liferay.portal.kernel.exception.PortalException,
714 com.liferay.portal.kernel.exception.SystemException {
715 return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
716 lockUuid);
717 }
718
719
722 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
723 return _dlFileEntryLocalService;
724 }
725
726
729 public void setWrappedDLFileEntryLocalService(
730 DLFileEntryLocalService dlFileEntryLocalService) {
731 _dlFileEntryLocalService = dlFileEntryLocalService;
732 }
733
734 public DLFileEntryLocalService getWrappedService() {
735 return _dlFileEntryLocalService;
736 }
737
738 public void setWrappedService(
739 DLFileEntryLocalService dlFileEntryLocalService) {
740 _dlFileEntryLocalService = dlFileEntryLocalService;
741 }
742
743 private DLFileEntryLocalService _dlFileEntryLocalService;
744 }