001
014
015 package com.liferay.portlet.dynamicdatamapping.service.persistence;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
025 @ProviderType
026 public class DDMTemplateFinderUtil {
027 public static int countByKeywords(long companyId, long groupId,
028 long classNameId, long classPK, java.lang.String keywords,
029 java.lang.String type, java.lang.String mode)
030 throws com.liferay.portal.kernel.exception.SystemException {
031 return getFinder()
032 .countByKeywords(companyId, groupId, classNameId, classPK,
033 keywords, type, mode);
034 }
035
036 public static int countByKeywords(long companyId, long[] groupIds,
037 long[] classNameIds, long[] classPKs, java.lang.String keywords,
038 java.lang.String type, java.lang.String mode)
039 throws com.liferay.portal.kernel.exception.SystemException {
040 return getFinder()
041 .countByKeywords(companyId, groupIds, classNameIds,
042 classPKs, keywords, type, mode);
043 }
044
045 public static int countByG_SC(long groupId, long structureClassNameId)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return getFinder().countByG_SC(groupId, structureClassNameId);
048 }
049
050 public static int countByC_G_C_C_N_D_T_M_L(long companyId, long groupId,
051 long classNameId, long classPK, java.lang.String name,
052 java.lang.String description, java.lang.String type,
053 java.lang.String mode, java.lang.String language, boolean andOperator)
054 throws com.liferay.portal.kernel.exception.SystemException {
055 return getFinder()
056 .countByC_G_C_C_N_D_T_M_L(companyId, groupId, classNameId,
057 classPK, name, description, type, mode, language, andOperator);
058 }
059
060 public static int countByC_G_C_C_N_D_T_M_L(long companyId, long groupId,
061 long classNameId, long classPK, java.lang.String[] names,
062 java.lang.String[] descriptions, java.lang.String[] types,
063 java.lang.String[] modes, java.lang.String[] languages,
064 boolean andOperator)
065 throws com.liferay.portal.kernel.exception.SystemException {
066 return getFinder()
067 .countByC_G_C_C_N_D_T_M_L(companyId, groupId, classNameId,
068 classPK, names, descriptions, types, modes, languages, andOperator);
069 }
070
071 public static int countByC_G_C_C_N_D_T_M_L(long companyId, long[] groupIds,
072 long[] classNameIds, long[] classPKs, java.lang.String name,
073 java.lang.String description, java.lang.String type,
074 java.lang.String mode, java.lang.String language, boolean andOperator)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getFinder()
077 .countByC_G_C_C_N_D_T_M_L(companyId, groupIds, classNameIds,
078 classPKs, name, description, type, mode, language, andOperator);
079 }
080
081 public static int countByC_G_C_C_N_D_T_M_L(long companyId, long[] groupIds,
082 long[] classNameIds, long[] classPKs, java.lang.String[] names,
083 java.lang.String[] descriptions, java.lang.String[] types,
084 java.lang.String[] modes, java.lang.String[] languages,
085 boolean andOperator)
086 throws com.liferay.portal.kernel.exception.SystemException {
087 return getFinder()
088 .countByC_G_C_C_N_D_T_M_L(companyId, groupIds, classNameIds,
089 classPKs, names, descriptions, types, modes, languages, andOperator);
090 }
091
092 public static int filterCountByKeywords(long companyId, long groupId,
093 long classNameId, long classPK, java.lang.String keywords,
094 java.lang.String type, java.lang.String mode)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return getFinder()
097 .filterCountByKeywords(companyId, groupId, classNameId,
098 classPK, keywords, type, mode);
099 }
100
101 public static int filterCountByKeywords(long companyId, long[] groupIds,
102 long[] classNameIds, long[] classPKs, java.lang.String keywords,
103 java.lang.String type, java.lang.String mode)
104 throws com.liferay.portal.kernel.exception.SystemException {
105 return getFinder()
106 .filterCountByKeywords(companyId, groupIds, classNameIds,
107 classPKs, keywords, type, mode);
108 }
109
110 public static int filterCountByC_G_C_C_N_D_T_M_L(long companyId,
111 long groupId, long classNameId, long classPK, java.lang.String name,
112 java.lang.String description, java.lang.String type,
113 java.lang.String mode, java.lang.String language, boolean andOperator)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return getFinder()
116 .filterCountByC_G_C_C_N_D_T_M_L(companyId, groupId,
117 classNameId, classPK, name, description, type, mode, language,
118 andOperator);
119 }
120
121 public static int filterCountByC_G_C_C_N_D_T_M_L(long companyId,
122 long groupId, long classNameId, long classPK, java.lang.String[] names,
123 java.lang.String[] descriptions, java.lang.String[] types,
124 java.lang.String[] modes, java.lang.String[] languages,
125 boolean andOperator)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 return getFinder()
128 .filterCountByC_G_C_C_N_D_T_M_L(companyId, groupId,
129 classNameId, classPK, names, descriptions, types, modes, languages,
130 andOperator);
131 }
132
133 public static int filterCountByC_G_C_C_N_D_T_M_L(long companyId,
134 long[] groupIds, long[] classNameIds, long[] classPKs,
135 java.lang.String name, java.lang.String description,
136 java.lang.String type, java.lang.String mode,
137 java.lang.String language, boolean andOperator)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return getFinder()
140 .filterCountByC_G_C_C_N_D_T_M_L(companyId, groupIds,
141 classNameIds, classPKs, name, description, type, mode, language,
142 andOperator);
143 }
144
145 public static int filterCountByC_G_C_C_N_D_T_M_L(long companyId,
146 long[] groupIds, long[] classNameIds, long[] classPKs,
147 java.lang.String[] names, java.lang.String[] descriptions,
148 java.lang.String[] types, java.lang.String[] modes,
149 java.lang.String[] languages, boolean andOperator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return getFinder()
152 .filterCountByC_G_C_C_N_D_T_M_L(companyId, groupIds,
153 classNameIds, classPKs, names, descriptions, types, modes,
154 languages, andOperator);
155 }
156
157 public static int filterCountByG_SC(long groupId, long structureClassNameId)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return getFinder().filterCountByG_SC(groupId, structureClassNameId);
160 }
161
162 public static int filterCountByG_SC(long[] groupIds,
163 long structureClassNameId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return getFinder().filterCountByG_SC(groupIds, structureClassNameId);
166 }
167
168 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByKeywords(
169 long companyId, long groupId, long classNameId, long classPK,
170 java.lang.String keywords, java.lang.String type,
171 java.lang.String mode, int start, int end,
172 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return getFinder()
175 .filterFindByKeywords(companyId, groupId, classNameId,
176 classPK, keywords, type, mode, start, end, orderByComparator);
177 }
178
179 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByKeywords(
180 long companyId, long[] groupIds, long[] classNameIds, long[] classPKs,
181 java.lang.String keywords, java.lang.String type,
182 java.lang.String mode, int start, int end,
183 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return getFinder()
186 .filterFindByKeywords(companyId, groupIds, classNameIds,
187 classPKs, keywords, type, mode, start, end, orderByComparator);
188 }
189
190 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByC_G_C_C_N_D_T_M_L(
191 long companyId, long groupId, long classNameId, long classPK,
192 java.lang.String name, java.lang.String description,
193 java.lang.String type, java.lang.String mode,
194 java.lang.String language, boolean andOperator, int start, int end,
195 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return getFinder()
198 .filterFindByC_G_C_C_N_D_T_M_L(companyId, groupId,
199 classNameId, classPK, name, description, type, mode, language,
200 andOperator, start, end, orderByComparator);
201 }
202
203 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByC_G_C_C_N_D_T_M_L(
204 long companyId, long groupId, long classNameId, long classPK,
205 java.lang.String[] names, java.lang.String[] descriptions,
206 java.lang.String[] types, java.lang.String[] modes,
207 java.lang.String[] languages, boolean andOperator, int start, int end,
208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return getFinder()
211 .filterFindByC_G_C_C_N_D_T_M_L(companyId, groupId,
212 classNameId, classPK, names, descriptions, types, modes, languages,
213 andOperator, start, end, orderByComparator);
214 }
215
216 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByC_G_C_C_N_D_T_M_L(
217 long companyId, long[] groupIds, long[] classNameIds, long[] classPKs,
218 java.lang.String name, java.lang.String description,
219 java.lang.String type, java.lang.String mode,
220 java.lang.String language, boolean andOperator, int start, int end,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return getFinder()
224 .filterFindByC_G_C_C_N_D_T_M_L(companyId, groupIds,
225 classNameIds, classPKs, name, description, type, mode, language,
226 andOperator, start, end, orderByComparator);
227 }
228
229 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByC_G_C_C_N_D_T_M_L(
230 long companyId, long[] groupIds, long[] classNameIds, long[] classPKs,
231 java.lang.String[] names, java.lang.String[] descriptions,
232 java.lang.String[] types, java.lang.String[] modes,
233 java.lang.String[] languages, boolean andOperator, int start, int end,
234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return getFinder()
237 .filterFindByC_G_C_C_N_D_T_M_L(companyId, groupIds,
238 classNameIds, classPKs, names, descriptions, types, modes,
239 languages, andOperator, start, end, orderByComparator);
240 }
241
242 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByG_SC(
243 long groupId, long structureClassNameId, int start, int end,
244 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return getFinder()
247 .filterFindByG_SC(groupId, structureClassNameId, start, end,
248 orderByComparator);
249 }
250
251 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> filterFindByG_SC(
252 long[] groupIds, long structureClassNameId, int start, int end,
253 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
254 throws com.liferay.portal.kernel.exception.SystemException {
255 return getFinder()
256 .filterFindByG_SC(groupIds, structureClassNameId, start,
257 end, orderByComparator);
258 }
259
260 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByKeywords(
261 long companyId, long groupId, long classNameId, long classPK,
262 java.lang.String keywords, java.lang.String type,
263 java.lang.String mode, int start, int end,
264 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
265 throws com.liferay.portal.kernel.exception.SystemException {
266 return getFinder()
267 .findByKeywords(companyId, groupId, classNameId, classPK,
268 keywords, type, mode, start, end, orderByComparator);
269 }
270
271 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByKeywords(
272 long companyId, long[] groupIds, long[] classNameIds, long[] classPKs,
273 java.lang.String keywords, java.lang.String type,
274 java.lang.String mode, int start, int end,
275 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 return getFinder()
278 .findByKeywords(companyId, groupIds, classNameIds, classPKs,
279 keywords, type, mode, start, end, orderByComparator);
280 }
281
282 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByG_SC(
283 long groupId, long structureClassNameId, int start, int end,
284 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
285 throws com.liferay.portal.kernel.exception.SystemException {
286 return getFinder()
287 .findByG_SC(groupId, structureClassNameId, start, end,
288 orderByComparator);
289 }
290
291 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByG_SC(
292 long[] groupIds, long structureClassNameId, int start, int end,
293 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
294 throws com.liferay.portal.kernel.exception.SystemException {
295 return getFinder()
296 .findByG_SC(groupIds, structureClassNameId, start, end,
297 orderByComparator);
298 }
299
300 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByC_G_C_C_N_D_T_M_L(
301 long companyId, long groupId, long classNameId, long classPK,
302 java.lang.String name, java.lang.String description,
303 java.lang.String type, java.lang.String mode,
304 java.lang.String language, boolean andOperator, int start, int end,
305 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 return getFinder()
308 .findByC_G_C_C_N_D_T_M_L(companyId, groupId, classNameId,
309 classPK, name, description, type, mode, language, andOperator,
310 start, end, orderByComparator);
311 }
312
313 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByC_G_C_C_N_D_T_M_L(
314 long companyId, long groupId, long classNameId, long classPK,
315 java.lang.String[] names, java.lang.String[] descriptions,
316 java.lang.String[] types, java.lang.String[] modes,
317 java.lang.String[] languages, boolean andOperator, int start, int end,
318 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return getFinder()
321 .findByC_G_C_C_N_D_T_M_L(companyId, groupId, classNameId,
322 classPK, names, descriptions, types, modes, languages, andOperator,
323 start, end, orderByComparator);
324 }
325
326 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByC_G_C_C_N_D_T_M_L(
327 long companyId, long[] groupIds, long[] classNameIds, long[] classPKs,
328 java.lang.String name, java.lang.String description,
329 java.lang.String type, java.lang.String mode,
330 java.lang.String language, boolean andOperator, int start, int end,
331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return getFinder()
334 .findByC_G_C_C_N_D_T_M_L(companyId, groupIds, classNameIds,
335 classPKs, name, description, type, mode, language, andOperator,
336 start, end, orderByComparator);
337 }
338
339 public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> findByC_G_C_C_N_D_T_M_L(
340 long companyId, long[] groupIds, long[] classNameIds, long[] classPKs,
341 java.lang.String[] names, java.lang.String[] descriptions,
342 java.lang.String[] types, java.lang.String[] modes,
343 java.lang.String[] languages, boolean andOperator, int start, int end,
344 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 return getFinder()
347 .findByC_G_C_C_N_D_T_M_L(companyId, groupIds, classNameIds,
348 classPKs, names, descriptions, types, modes, languages,
349 andOperator, start, end, orderByComparator);
350 }
351
352 public static DDMTemplateFinder getFinder() {
353 if (_finder == null) {
354 _finder = (DDMTemplateFinder)PortalBeanLocatorUtil.locate(DDMTemplateFinder.class.getName());
355
356 ReferenceRegistry.registerReference(DDMTemplateFinderUtil.class,
357 "_finder");
358 }
359
360 return _finder;
361 }
362
363 public void setFinder(DDMTemplateFinder finder) {
364 _finder = finder;
365
366 ReferenceRegistry.registerReference(DDMTemplateFinderUtil.class,
367 "_finder");
368 }
369
370 private static DDMTemplateFinder _finder;
371 }