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 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntriesByMimeType(
518 java.lang.String mimeType)
519 throws com.liferay.portal.kernel.exception.SystemException {
520 return _dlFileEntryLocalService.getFileEntriesByMimeType(mimeType);
521 }
522
523 public int getFileEntriesCount()
524 throws com.liferay.portal.kernel.exception.SystemException {
525 return _dlFileEntryLocalService.getFileEntriesCount();
526 }
527
528 public int getFileEntriesCount(long groupId, long folderId)
529 throws com.liferay.portal.kernel.exception.SystemException {
530 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId);
531 }
532
533 public int getFileEntriesCount(long groupId, long folderId, int status)
534 throws com.liferay.portal.kernel.exception.SystemException {
535 return _dlFileEntryLocalService.getFileEntriesCount(groupId, folderId,
536 status);
537 }
538
539 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
540 long fileEntryId)
541 throws com.liferay.portal.kernel.exception.PortalException,
542 com.liferay.portal.kernel.exception.SystemException {
543 return _dlFileEntryLocalService.getFileEntry(fileEntryId);
544 }
545
546 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
547 long groupId, long folderId, java.lang.String title)
548 throws com.liferay.portal.kernel.exception.PortalException,
549 com.liferay.portal.kernel.exception.SystemException {
550 return _dlFileEntryLocalService.getFileEntry(groupId, folderId, title);
551 }
552
553 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
554 long groupId, long folderId, java.lang.String name)
555 throws com.liferay.portal.kernel.exception.PortalException,
556 com.liferay.portal.kernel.exception.SystemException {
557 return _dlFileEntryLocalService.getFileEntryByName(groupId, folderId,
558 name);
559 }
560
561 public com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
562 java.lang.String uuid, long groupId)
563 throws com.liferay.portal.kernel.exception.PortalException,
564 com.liferay.portal.kernel.exception.SystemException {
565 return _dlFileEntryLocalService.getFileEntryByUuidAndGroupId(uuid,
566 groupId);
567 }
568
569 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
570 long groupId, int start, int end)
571 throws com.liferay.portal.kernel.exception.SystemException {
572 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start, end);
573 }
574
575 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
576 long groupId, int start, int end,
577 com.liferay.portal.kernel.util.OrderByComparator obc)
578 throws com.liferay.portal.kernel.exception.SystemException {
579 return _dlFileEntryLocalService.getGroupFileEntries(groupId, start,
580 end, obc);
581 }
582
583 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
584 long groupId, long userId, int start, int end)
585 throws com.liferay.portal.kernel.exception.SystemException {
586 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
587 start, end);
588 }
589
590 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
591 long groupId, long userId, int start, int end,
592 com.liferay.portal.kernel.util.OrderByComparator obc)
593 throws com.liferay.portal.kernel.exception.SystemException {
594 return _dlFileEntryLocalService.getGroupFileEntries(groupId, userId,
595 start, end, obc);
596 }
597
598 public int getGroupFileEntriesCount(long groupId)
599 throws com.liferay.portal.kernel.exception.SystemException {
600 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId);
601 }
602
603 public int getGroupFileEntriesCount(long groupId, long userId)
604 throws com.liferay.portal.kernel.exception.SystemException {
605 return _dlFileEntryLocalService.getGroupFileEntriesCount(groupId, userId);
606 }
607
608 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
609 throws com.liferay.portal.kernel.exception.SystemException {
610 return _dlFileEntryLocalService.getMisversionedFileEntries();
611 }
612
613 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
614 throws com.liferay.portal.kernel.exception.SystemException {
615 return _dlFileEntryLocalService.getNoAssetFileEntries();
616 }
617
618 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
619 throws com.liferay.portal.kernel.exception.SystemException {
620 return _dlFileEntryLocalService.getOrphanedFileEntries();
621 }
622
623 public boolean hasExtraSettings()
624 throws com.liferay.portal.kernel.exception.SystemException {
625 return _dlFileEntryLocalService.hasExtraSettings();
626 }
627
628 public boolean hasFileEntryLock(long userId, long fileEntryId)
629 throws com.liferay.portal.kernel.exception.PortalException,
630 com.liferay.portal.kernel.exception.SystemException {
631 return _dlFileEntryLocalService.hasFileEntryLock(userId, fileEntryId);
632 }
633
634 public void incrementViewCounter(
635 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
636 boolean incrementCounter, int increment)
637 throws com.liferay.portal.kernel.exception.SystemException {
638 _dlFileEntryLocalService.incrementViewCounter(dlFileEntry,
639 incrementCounter, increment);
640 }
641
642 public boolean isFileEntryCheckedOut(long fileEntryId)
643 throws com.liferay.portal.kernel.exception.PortalException,
644 com.liferay.portal.kernel.exception.SystemException {
645 return _dlFileEntryLocalService.isFileEntryCheckedOut(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 com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
667 long userId, long fileEntryId, java.lang.String sourceFileName,
668 java.lang.String mimeType, java.lang.String title,
669 java.lang.String description, java.lang.String changeLog,
670 boolean majorVersion, long fileEntryTypeId,
671 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
672 java.io.File file, java.io.InputStream is, long size,
673 com.liferay.portal.service.ServiceContext serviceContext)
674 throws com.liferay.portal.kernel.exception.PortalException,
675 com.liferay.portal.kernel.exception.SystemException {
676 return _dlFileEntryLocalService.updateFileEntry(userId, fileEntryId,
677 sourceFileName, mimeType, title, description, changeLog,
678 majorVersion, fileEntryTypeId, fieldsMap, file, is, size,
679 serviceContext);
680 }
681
682 public void updateSmallImage(long smallImageId, long largeImageId)
683 throws com.liferay.portal.kernel.exception.PortalException,
684 com.liferay.portal.kernel.exception.SystemException {
685 _dlFileEntryLocalService.updateSmallImage(smallImageId, largeImageId);
686 }
687
688 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
689 long userId, long fileVersionId, int status,
690 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
691 com.liferay.portal.service.ServiceContext serviceContext)
692 throws com.liferay.portal.kernel.exception.PortalException,
693 com.liferay.portal.kernel.exception.SystemException {
694 return _dlFileEntryLocalService.updateStatus(userId, fileVersionId,
695 status, workflowContext, serviceContext);
696 }
697
698 public boolean verifyFileEntryCheckOut(long fileEntryId,
699 java.lang.String lockUuid)
700 throws com.liferay.portal.kernel.exception.PortalException,
701 com.liferay.portal.kernel.exception.SystemException {
702 return _dlFileEntryLocalService.verifyFileEntryCheckOut(fileEntryId,
703 lockUuid);
704 }
705
706 public boolean verifyFileEntryLock(long fileEntryId,
707 java.lang.String lockUuid)
708 throws com.liferay.portal.kernel.exception.PortalException,
709 com.liferay.portal.kernel.exception.SystemException {
710 return _dlFileEntryLocalService.verifyFileEntryLock(fileEntryId,
711 lockUuid);
712 }
713
714
717 public DLFileEntryLocalService getWrappedDLFileEntryLocalService() {
718 return _dlFileEntryLocalService;
719 }
720
721
724 public void setWrappedDLFileEntryLocalService(
725 DLFileEntryLocalService dlFileEntryLocalService) {
726 _dlFileEntryLocalService = dlFileEntryLocalService;
727 }
728
729 public DLFileEntryLocalService getWrappedService() {
730 return _dlFileEntryLocalService;
731 }
732
733 public void setWrappedService(
734 DLFileEntryLocalService dlFileEntryLocalService) {
735 _dlFileEntryLocalService = dlFileEntryLocalService;
736 }
737
738 private DLFileEntryLocalService _dlFileEntryLocalService;
739 }