001
014
015 package com.liferay.portlet.documentlibrary.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class DLFileEntryFinderUtil {
024 public static int countByExtraSettings()
025 throws com.liferay.portal.kernel.exception.SystemException {
026 return getFinder().countByExtraSettings();
027 }
028
029 public static int countByG_F_S(long groupId,
030 java.util.List<java.lang.Long> folderIds, int status)
031 throws com.liferay.portal.kernel.exception.SystemException {
032 return getFinder().countByG_F_S(groupId, folderIds, status);
033 }
034
035 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByAnyImageId(
036 long imageId)
037 throws com.liferay.portal.kernel.exception.SystemException {
038 return getFinder().fetchByAnyImageId(imageId);
039 }
040
041 public static int filterCountByG_F_S(long groupId,
042 java.util.List<java.lang.Long> folderIds, int status)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return getFinder().filterCountByG_F_S(groupId, folderIds, status);
045 }
046
047 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByAnyImageId(
048 long imageId)
049 throws com.liferay.portal.kernel.exception.SystemException,
050 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
051 return getFinder().findByAnyImageId(imageId);
052 }
053
054 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByExtraSettings(
055 int start, int end)
056 throws com.liferay.portal.kernel.exception.SystemException {
057 return getFinder().findByExtraSettings(start, end);
058 }
059
060 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByNoAssets()
061 throws com.liferay.portal.kernel.exception.SystemException {
062 return getFinder().findByNoAssets();
063 }
064
065 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByOrphanedFileEntries()
066 throws com.liferay.portal.kernel.exception.SystemException {
067 return getFinder().findByOrphanedFileEntries();
068 }
069
070 public static DLFileEntryFinder getFinder() {
071 if (_finder == null) {
072 _finder = (DLFileEntryFinder)PortalBeanLocatorUtil.locate(DLFileEntryFinder.class.getName());
073
074 ReferenceRegistry.registerReference(DLFileEntryFinderUtil.class,
075 "_finder");
076 }
077
078 return _finder;
079 }
080
081 public void setFinder(DLFileEntryFinder finder) {
082 _finder = finder;
083
084 ReferenceRegistry.registerReference(DLFileEntryFinderUtil.class,
085 "_finder");
086 }
087
088 private static DLFileEntryFinder _finder;
089 }