001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class DLFileEntryLocalServiceUtil {
034
039
040
047 public static com.liferay.portlet.documentlibrary.model.DLFileEntry addDLFileEntry(
048 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 return getService().addDLFileEntry(dlFileEntry);
051 }
052
053
059 public static com.liferay.portlet.documentlibrary.model.DLFileEntry createDLFileEntry(
060 long fileEntryId) {
061 return getService().createDLFileEntry(fileEntryId);
062 }
063
064
072 public static com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
073 long fileEntryId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return getService().deleteDLFileEntry(fileEntryId);
077 }
078
079
086 public static com.liferay.portlet.documentlibrary.model.DLFileEntry deleteDLFileEntry(
087 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return getService().deleteDLFileEntry(dlFileEntry);
090 }
091
092 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
093 return getService().dynamicQuery();
094 }
095
096
103 @SuppressWarnings("rawtypes")
104 public static java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getService().dynamicQuery(dynamicQuery);
108 }
109
110
123 @SuppressWarnings("rawtypes")
124 public static java.util.List dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126 int end) throws com.liferay.portal.kernel.exception.SystemException {
127 return getService().dynamicQuery(dynamicQuery, start, end);
128 }
129
130
144 @SuppressWarnings("rawtypes")
145 public static java.util.List dynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
147 int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return getService()
151 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
152 }
153
154
161 public static long dynamicQueryCount(
162 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
163 throws com.liferay.portal.kernel.exception.SystemException {
164 return getService().dynamicQueryCount(dynamicQuery);
165 }
166
167 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchDLFileEntry(
168 long fileEntryId)
169 throws com.liferay.portal.kernel.exception.SystemException {
170 return getService().fetchDLFileEntry(fileEntryId);
171 }
172
173
181 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntry(
182 long fileEntryId)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 return getService().getDLFileEntry(fileEntryId);
186 }
187
188 public static com.liferay.portal.model.PersistedModel getPersistedModel(
189 java.io.Serializable primaryKeyObj)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 return getService().getPersistedModel(primaryKeyObj);
193 }
194
195
204 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getDLFileEntryByUuidAndGroupId(
205 java.lang.String uuid, long groupId)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return getService().getDLFileEntryByUuidAndGroupId(uuid, groupId);
209 }
210
211
223 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getDLFileEntries(
224 int start, int end)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return getService().getDLFileEntries(start, end);
227 }
228
229
235 public static int getDLFileEntriesCount()
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return getService().getDLFileEntriesCount();
238 }
239
240
247 public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateDLFileEntry(
248 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
249 throws com.liferay.portal.kernel.exception.SystemException {
250 return getService().updateDLFileEntry(dlFileEntry);
251 }
252
253
258 public static java.lang.String getBeanIdentifier() {
259 return getService().getBeanIdentifier();
260 }
261
262
267 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
268 getService().setBeanIdentifier(beanIdentifier);
269 }
270
271 public static com.liferay.portlet.documentlibrary.model.DLFileEntry addFileEntry(
272 long userId, long groupId, long repositoryId, long folderId,
273 java.lang.String sourceFileName, java.lang.String mimeType,
274 java.lang.String title, java.lang.String description,
275 java.lang.String changeLog, long fileEntryTypeId,
276 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
277 java.io.File file, java.io.InputStream is, long size,
278 com.liferay.portal.service.ServiceContext serviceContext)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 return getService()
282 .addFileEntry(userId, groupId, repositoryId, folderId,
283 sourceFileName, mimeType, title, description, changeLog,
284 fileEntryTypeId, fieldsMap, file, is, size, serviceContext);
285 }
286
287 public static com.liferay.portlet.documentlibrary.model.DLFileVersion cancelCheckOut(
288 long userId, long fileEntryId)
289 throws com.liferay.portal.kernel.exception.PortalException,
290 com.liferay.portal.kernel.exception.SystemException {
291 return getService().cancelCheckOut(userId, fileEntryId);
292 }
293
294 public static void checkInFileEntry(long userId, long fileEntryId,
295 boolean majorVersion, java.lang.String changeLog,
296 com.liferay.portal.service.ServiceContext serviceContext)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException {
299 getService()
300 .checkInFileEntry(userId, fileEntryId, majorVersion, changeLog,
301 serviceContext);
302 }
303
304
307 public static void checkInFileEntry(long userId, long fileEntryId,
308 java.lang.String lockUuid)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 getService().checkInFileEntry(userId, fileEntryId, lockUuid);
312 }
313
314 public static void checkInFileEntry(long userId, long fileEntryId,
315 java.lang.String lockUuid,
316 com.liferay.portal.service.ServiceContext serviceContext)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 getService()
320 .checkInFileEntry(userId, fileEntryId, lockUuid, serviceContext);
321 }
322
323
326 public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
327 long userId, long fileEntryId)
328 throws com.liferay.portal.kernel.exception.PortalException,
329 com.liferay.portal.kernel.exception.SystemException {
330 return getService().checkOutFileEntry(userId, fileEntryId);
331 }
332
333 public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
334 long userId, long fileEntryId,
335 com.liferay.portal.service.ServiceContext serviceContext)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 return getService()
339 .checkOutFileEntry(userId, fileEntryId, serviceContext);
340 }
341
342
346 public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
347 long userId, long fileEntryId, java.lang.String owner,
348 long expirationTime)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return getService()
352 .checkOutFileEntry(userId, fileEntryId, owner, expirationTime);
353 }
354
355 public static com.liferay.portlet.documentlibrary.model.DLFileEntry checkOutFileEntry(
356 long userId, long fileEntryId, java.lang.String owner,
357 long expirationTime,
358 com.liferay.portal.service.ServiceContext serviceContext)
359 throws com.liferay.portal.kernel.exception.PortalException,
360 com.liferay.portal.kernel.exception.SystemException {
361 return getService()
362 .checkOutFileEntry(userId, fileEntryId, owner,
363 expirationTime, serviceContext);
364 }
365
366 public static void convertExtraSettings(java.lang.String[] keys)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 getService().convertExtraSettings(keys);
370 }
371
372 public static void copyFileEntryMetadata(long companyId,
373 long fileEntryTypeId, long fileEntryId, long fromFileVersionId,
374 long toFileVersionId,
375 com.liferay.portal.service.ServiceContext serviceContext)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 getService()
379 .copyFileEntryMetadata(companyId, fileEntryTypeId, fileEntryId,
380 fromFileVersionId, toFileVersionId, serviceContext);
381 }
382
383 public static void deleteFileEntries(long groupId, long folderId)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 getService().deleteFileEntries(groupId, folderId);
387 }
388
389 public static void deleteFileEntries(long groupId, long folderId,
390 boolean includeTrashedEntries)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException {
393 getService().deleteFileEntries(groupId, folderId, includeTrashedEntries);
394 }
395
396 public static com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
397 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
398 throws com.liferay.portal.kernel.exception.PortalException,
399 com.liferay.portal.kernel.exception.SystemException {
400 return getService().deleteFileEntry(dlFileEntry);
401 }
402
403 public static com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
404 long fileEntryId)
405 throws com.liferay.portal.kernel.exception.PortalException,
406 com.liferay.portal.kernel.exception.SystemException {
407 return getService().deleteFileEntry(fileEntryId);
408 }
409
410 public static com.liferay.portlet.documentlibrary.model.DLFileEntry deleteFileEntry(
411 long userId, long fileEntryId)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 return getService().deleteFileEntry(userId, fileEntryId);
415 }
416
417 public static void deleteFileVersion(long userId, long fileEntryId,
418 java.lang.String version)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 getService().deleteFileVersion(userId, fileEntryId, version);
422 }
423
424 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntry(
425 long groupId, long folderId, java.lang.String title)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 return getService().fetchFileEntry(groupId, folderId, title);
428 }
429
430 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByAnyImageId(
431 long imageId)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return getService().fetchFileEntryByAnyImageId(imageId);
434 }
435
436 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchFileEntryByName(
437 long groupId, long folderId, java.lang.String name)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return getService().fetchFileEntryByName(groupId, folderId, name);
440 }
441
442 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getExtraSettingsFileEntries(
443 int start, int end)
444 throws com.liferay.portal.kernel.exception.SystemException {
445 return getService().getExtraSettingsFileEntries(start, end);
446 }
447
448 public static java.io.File getFile(long userId, long fileEntryId,
449 java.lang.String version, boolean incrementCounter)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 return getService()
453 .getFile(userId, fileEntryId, version, incrementCounter);
454 }
455
456 public static java.io.File getFile(long userId, long fileEntryId,
457 java.lang.String version, boolean incrementCounter, int increment)
458 throws com.liferay.portal.kernel.exception.PortalException,
459 com.liferay.portal.kernel.exception.SystemException {
460 return getService()
461 .getFile(userId, fileEntryId, version, incrementCounter,
462 increment);
463 }
464
465 public static java.io.InputStream getFileAsStream(long userId,
466 long fileEntryId, java.lang.String version)
467 throws com.liferay.portal.kernel.exception.PortalException,
468 com.liferay.portal.kernel.exception.SystemException {
469 return getService().getFileAsStream(userId, fileEntryId, version);
470 }
471
472 public static java.io.InputStream getFileAsStream(long userId,
473 long fileEntryId, java.lang.String version, boolean incrementCounter)
474 throws com.liferay.portal.kernel.exception.PortalException,
475 com.liferay.portal.kernel.exception.SystemException {
476 return getService()
477 .getFileAsStream(userId, fileEntryId, version,
478 incrementCounter);
479 }
480
481 public static java.io.InputStream getFileAsStream(long userId,
482 long fileEntryId, java.lang.String version, boolean incrementCounter,
483 int increment)
484 throws com.liferay.portal.kernel.exception.PortalException,
485 com.liferay.portal.kernel.exception.SystemException {
486 return getService()
487 .getFileAsStream(userId, fileEntryId, version,
488 incrementCounter, increment);
489 }
490
491 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
492 int start, int end)
493 throws com.liferay.portal.kernel.exception.SystemException {
494 return getService().getFileEntries(start, end);
495 }
496
497 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
498 long groupId, long folderId)
499 throws com.liferay.portal.kernel.exception.SystemException {
500 return getService().getFileEntries(groupId, folderId);
501 }
502
503 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
504 long groupId, long folderId, int status, int start, int end,
505 com.liferay.portal.kernel.util.OrderByComparator obc)
506 throws com.liferay.portal.kernel.exception.SystemException {
507 return getService()
508 .getFileEntries(groupId, folderId, status, start, end, obc);
509 }
510
511 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
512 long groupId, long folderId, int start, int end,
513 com.liferay.portal.kernel.util.OrderByComparator obc)
514 throws com.liferay.portal.kernel.exception.SystemException {
515 return getService().getFileEntries(groupId, folderId, start, end, obc);
516 }
517
518 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntries(
519 long folderId, java.lang.String name)
520 throws com.liferay.portal.kernel.exception.SystemException {
521 return getService().getFileEntries(folderId, name);
522 }
523
524 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getFileEntriesByMimeType(
525 java.lang.String mimeType)
526 throws com.liferay.portal.kernel.exception.SystemException {
527 return getService().getFileEntriesByMimeType(mimeType);
528 }
529
530 public static int getFileEntriesCount()
531 throws com.liferay.portal.kernel.exception.SystemException {
532 return getService().getFileEntriesCount();
533 }
534
535 public static int getFileEntriesCount(long groupId, long folderId)
536 throws com.liferay.portal.kernel.exception.SystemException {
537 return getService().getFileEntriesCount(groupId, folderId);
538 }
539
540 public static int getFileEntriesCount(long groupId, long folderId,
541 int status) throws com.liferay.portal.kernel.exception.SystemException {
542 return getService().getFileEntriesCount(groupId, folderId, status);
543 }
544
545 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
546 long fileEntryId)
547 throws com.liferay.portal.kernel.exception.PortalException,
548 com.liferay.portal.kernel.exception.SystemException {
549 return getService().getFileEntry(fileEntryId);
550 }
551
552 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntry(
553 long groupId, long folderId, java.lang.String title)
554 throws com.liferay.portal.kernel.exception.PortalException,
555 com.liferay.portal.kernel.exception.SystemException {
556 return getService().getFileEntry(groupId, folderId, title);
557 }
558
559 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByName(
560 long groupId, long folderId, java.lang.String name)
561 throws com.liferay.portal.kernel.exception.PortalException,
562 com.liferay.portal.kernel.exception.SystemException {
563 return getService().getFileEntryByName(groupId, folderId, name);
564 }
565
566 public static com.liferay.portlet.documentlibrary.model.DLFileEntry getFileEntryByUuidAndGroupId(
567 java.lang.String uuid, long groupId)
568 throws com.liferay.portal.kernel.exception.PortalException,
569 com.liferay.portal.kernel.exception.SystemException {
570 return getService().getFileEntryByUuidAndGroupId(uuid, groupId);
571 }
572
573 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
574 long groupId, int start, int end)
575 throws com.liferay.portal.kernel.exception.SystemException {
576 return getService().getGroupFileEntries(groupId, start, end);
577 }
578
579 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
580 long groupId, int start, int end,
581 com.liferay.portal.kernel.util.OrderByComparator obc)
582 throws com.liferay.portal.kernel.exception.SystemException {
583 return getService().getGroupFileEntries(groupId, start, end, obc);
584 }
585
586 public static 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 getService().getGroupFileEntries(groupId, userId, start, end);
590 }
591
592 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getGroupFileEntries(
593 long groupId, long userId, int start, int end,
594 com.liferay.portal.kernel.util.OrderByComparator obc)
595 throws com.liferay.portal.kernel.exception.SystemException {
596 return getService().getGroupFileEntries(groupId, userId, start, end, obc);
597 }
598
599 public static int getGroupFileEntriesCount(long groupId)
600 throws com.liferay.portal.kernel.exception.SystemException {
601 return getService().getGroupFileEntriesCount(groupId);
602 }
603
604 public static int getGroupFileEntriesCount(long groupId, long userId)
605 throws com.liferay.portal.kernel.exception.SystemException {
606 return getService().getGroupFileEntriesCount(groupId, userId);
607 }
608
609 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getMisversionedFileEntries()
610 throws com.liferay.portal.kernel.exception.SystemException {
611 return getService().getMisversionedFileEntries();
612 }
613
614 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getNoAssetFileEntries()
615 throws com.liferay.portal.kernel.exception.SystemException {
616 return getService().getNoAssetFileEntries();
617 }
618
619 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> getOrphanedFileEntries()
620 throws com.liferay.portal.kernel.exception.SystemException {
621 return getService().getOrphanedFileEntries();
622 }
623
624 public static boolean hasExtraSettings()
625 throws com.liferay.portal.kernel.exception.SystemException {
626 return getService().hasExtraSettings();
627 }
628
629 public static boolean hasFileEntryLock(long userId, long fileEntryId)
630 throws com.liferay.portal.kernel.exception.PortalException,
631 com.liferay.portal.kernel.exception.SystemException {
632 return getService().hasFileEntryLock(userId, fileEntryId);
633 }
634
635 public static void incrementViewCounter(
636 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
637 boolean incrementCounter, int increment)
638 throws com.liferay.portal.kernel.exception.SystemException {
639 getService()
640 .incrementViewCounter(dlFileEntry, incrementCounter, increment);
641 }
642
643 public static boolean isFileEntryCheckedOut(long fileEntryId)
644 throws com.liferay.portal.kernel.exception.PortalException,
645 com.liferay.portal.kernel.exception.SystemException {
646 return getService().isFileEntryCheckedOut(fileEntryId);
647 }
648
649 public static com.liferay.portlet.documentlibrary.model.DLFileEntry moveFileEntry(
650 long userId, long fileEntryId, long newFolderId,
651 com.liferay.portal.service.ServiceContext serviceContext)
652 throws com.liferay.portal.kernel.exception.PortalException,
653 com.liferay.portal.kernel.exception.SystemException {
654 return getService()
655 .moveFileEntry(userId, fileEntryId, newFolderId,
656 serviceContext);
657 }
658
659 public static void revertFileEntry(long userId, long fileEntryId,
660 java.lang.String version,
661 com.liferay.portal.service.ServiceContext serviceContext)
662 throws com.liferay.portal.kernel.exception.PortalException,
663 com.liferay.portal.kernel.exception.SystemException {
664 getService()
665 .revertFileEntry(userId, fileEntryId, version, serviceContext);
666 }
667
668 public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntry(
669 long userId, long fileEntryId, java.lang.String sourceFileName,
670 java.lang.String mimeType, java.lang.String title,
671 java.lang.String description, java.lang.String changeLog,
672 boolean majorVersion, long fileEntryTypeId,
673 java.util.Map<java.lang.String, com.liferay.portlet.dynamicdatamapping.storage.Fields> fieldsMap,
674 java.io.File file, java.io.InputStream is, long size,
675 com.liferay.portal.service.ServiceContext serviceContext)
676 throws com.liferay.portal.kernel.exception.PortalException,
677 com.liferay.portal.kernel.exception.SystemException {
678 return getService()
679 .updateFileEntry(userId, fileEntryId, sourceFileName,
680 mimeType, title, description, changeLog, majorVersion,
681 fileEntryTypeId, fieldsMap, file, is, size, serviceContext);
682 }
683
684 public static void updateSmallImage(long smallImageId, long largeImageId)
685 throws com.liferay.portal.kernel.exception.PortalException,
686 com.liferay.portal.kernel.exception.SystemException {
687 getService().updateSmallImage(smallImageId, largeImageId);
688 }
689
690 public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateStatus(
691 long userId, long fileVersionId, int status,
692 java.util.Map<java.lang.String, java.io.Serializable> workflowContext,
693 com.liferay.portal.service.ServiceContext serviceContext)
694 throws com.liferay.portal.kernel.exception.PortalException,
695 com.liferay.portal.kernel.exception.SystemException {
696 return getService()
697 .updateStatus(userId, fileVersionId, status,
698 workflowContext, serviceContext);
699 }
700
701 public static boolean verifyFileEntryCheckOut(long fileEntryId,
702 java.lang.String lockUuid)
703 throws com.liferay.portal.kernel.exception.PortalException,
704 com.liferay.portal.kernel.exception.SystemException {
705 return getService().verifyFileEntryCheckOut(fileEntryId, lockUuid);
706 }
707
708 public static boolean verifyFileEntryLock(long fileEntryId,
709 java.lang.String lockUuid)
710 throws com.liferay.portal.kernel.exception.PortalException,
711 com.liferay.portal.kernel.exception.SystemException {
712 return getService().verifyFileEntryLock(fileEntryId, lockUuid);
713 }
714
715 public static DLFileEntryLocalService getService() {
716 if (_service == null) {
717 _service = (DLFileEntryLocalService)PortalBeanLocatorUtil.locate(DLFileEntryLocalService.class.getName());
718
719 ReferenceRegistry.registerReference(DLFileEntryLocalServiceUtil.class,
720 "_service");
721 }
722
723 return _service;
724 }
725
726
729 public void setService(DLFileEntryLocalService service) {
730 }
731
732 private static DLFileEntryLocalService _service;
733 }