001
014
015 package com.liferay.portlet.dynamicdatalists.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class DDLRecordSetFinderUtil {
024 public static int countByKeywords(long companyId, long groupId,
025 java.lang.String keywords, int scope)
026 throws com.liferay.portal.kernel.exception.SystemException {
027 return getFinder().countByKeywords(companyId, groupId, keywords, scope);
028 }
029
030 public static int countByC_G_N_D_S(long companyId, long groupId,
031 java.lang.String name, java.lang.String description, int scope,
032 boolean andOperator)
033 throws com.liferay.portal.kernel.exception.SystemException {
034 return getFinder()
035 .countByC_G_N_D_S(companyId, groupId, name, description,
036 scope, andOperator);
037 }
038
039 public static int filterCountByKeywords(long companyId, long groupId,
040 java.lang.String keywords, int scope)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return getFinder()
043 .filterCountByKeywords(companyId, groupId, keywords, scope);
044 }
045
046 public static int filterCountByC_G_N_D_S(long companyId, long groupId,
047 java.lang.String name, java.lang.String description, int scope,
048 boolean andOperator)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 return getFinder()
051 .filterCountByC_G_N_D_S(companyId, groupId, name,
052 description, scope, andOperator);
053 }
054
055 public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByKeywords(
056 long companyId, long groupId, java.lang.String keywords, int scope,
057 int start, int end,
058 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return getFinder()
061 .filterFindByKeywords(companyId, groupId, keywords, scope,
062 start, end, orderByComparator);
063 }
064
065 public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByC_G_N_D_S(
066 long companyId, long groupId, java.lang.String name,
067 java.lang.String description, int scope, boolean andOperator,
068 int start, int end,
069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070 throws com.liferay.portal.kernel.exception.SystemException {
071 return getFinder()
072 .filterFindByC_G_N_D_S(companyId, groupId, name,
073 description, scope, andOperator, start, end, orderByComparator);
074 }
075
076 public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> filterFindByC_G_N_D_S(
077 long companyId, long groupId, java.lang.String[] names,
078 java.lang.String[] descriptions, int scope, boolean andOperator,
079 int start, int end,
080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return getFinder()
083 .filterFindByC_G_N_D_S(companyId, groupId, names,
084 descriptions, scope, andOperator, start, end, orderByComparator);
085 }
086
087 public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByKeywords(
088 long companyId, long groupId, java.lang.String keywords, int scope,
089 int start, int end,
090 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return getFinder()
093 .findByKeywords(companyId, groupId, keywords, scope, start,
094 end, orderByComparator);
095 }
096
097 public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByC_G_N_D_S(
098 long companyId, long groupId, java.lang.String name,
099 java.lang.String description, int scope, boolean andOperator,
100 int start, int end,
101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return getFinder()
104 .findByC_G_N_D_S(companyId, groupId, name, description,
105 scope, andOperator, start, end, orderByComparator);
106 }
107
108 public static java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordSet> findByC_G_N_D_S(
109 long companyId, long groupId, java.lang.String[] names,
110 java.lang.String[] descriptions, int scope, boolean andOperator,
111 int start, int end,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return getFinder()
115 .findByC_G_N_D_S(companyId, groupId, names, descriptions,
116 scope, andOperator, start, end, orderByComparator);
117 }
118
119 public static DDLRecordSetFinder getFinder() {
120 if (_finder == null) {
121 _finder = (DDLRecordSetFinder)PortalBeanLocatorUtil.locate(DDLRecordSetFinder.class.getName());
122
123 ReferenceRegistry.registerReference(DDLRecordSetFinderUtil.class,
124 "_finder");
125 }
126
127 return _finder;
128 }
129
130 public void setFinder(DDLRecordSetFinder finder) {
131 _finder = finder;
132
133 ReferenceRegistry.registerReference(DDLRecordSetFinderUtil.class,
134 "_finder");
135 }
136
137 private static DDLRecordSetFinder _finder;
138 }