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 DLFileEntryTypeFinderUtil {
024 public static int countByKeywords(long companyId, long[] groupIds,
025 java.lang.String keywords)
026 throws com.liferay.portal.kernel.exception.SystemException {
027 return getFinder().countByKeywords(companyId, groupIds, keywords);
028 }
029
030 public static int countByC_G_N_D_S(long companyId, long groupId,
031 java.lang.String name, java.lang.String description, boolean andOperator)
032 throws com.liferay.portal.kernel.exception.SystemException {
033 return getFinder()
034 .countByC_G_N_D_S(companyId, groupId, name, description,
035 andOperator);
036 }
037
038 public static int countByC_G_N_D_S(long companyId, long[] groupIds,
039 java.lang.String[] names, java.lang.String[] descriptions,
040 boolean andOperator)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return getFinder()
043 .countByC_G_N_D_S(companyId, groupIds, names, descriptions,
044 andOperator);
045 }
046
047 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByKeywords(
048 long companyId, long[] groupIds, java.lang.String keywords, int start,
049 int end,
050 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 return getFinder()
053 .findByKeywords(companyId, groupIds, keywords, start, end,
054 orderByComparator);
055 }
056
057 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByC_G_N_D_S(
058 long companyId, long groupId, java.lang.String name,
059 java.lang.String description, boolean andOperator, int start, int end,
060 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
061 throws com.liferay.portal.kernel.exception.SystemException {
062 return getFinder()
063 .findByC_G_N_D_S(companyId, groupId, name, description,
064 andOperator, start, end, orderByComparator);
065 }
066
067 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByC_G_N_D_S(
068 long companyId, long groupId, java.lang.String[] names,
069 java.lang.String[] descriptions, boolean andOperator, int start,
070 int end,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException {
073 return getFinder()
074 .findByC_G_N_D_S(companyId, groupId, names, descriptions,
075 andOperator, start, end, orderByComparator);
076 }
077
078 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByC_G_N_D_S(
079 long companyId, long[] groupIds, java.lang.String[] names,
080 java.lang.String[] descriptions, boolean andOperator, int start,
081 int end,
082 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return getFinder()
085 .findByC_G_N_D_S(companyId, groupIds, names, descriptions,
086 andOperator, start, end, orderByComparator);
087 }
088
089 public static DLFileEntryTypeFinder getFinder() {
090 if (_finder == null) {
091 _finder = (DLFileEntryTypeFinder)PortalBeanLocatorUtil.locate(DLFileEntryTypeFinder.class.getName());
092
093 ReferenceRegistry.registerReference(DLFileEntryTypeFinderUtil.class,
094 "_finder");
095 }
096
097 return _finder;
098 }
099
100 public void setFinder(DLFileEntryTypeFinder finder) {
101 _finder = finder;
102
103 ReferenceRegistry.registerReference(DLFileEntryTypeFinderUtil.class,
104 "_finder");
105 }
106
107 private static DLFileEntryTypeFinder _finder;
108 }