1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25 import com.liferay.portal.SystemException;
26 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
27 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
28
29 import com.liferay.portlet.expando.model.ExpandoValue;
30
31 import java.util.List;
32
33
46 public class ExpandoValueUtil {
47
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54
57 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
58 throws SystemException {
59 return getPersistence().findWithDynamicQuery(dynamicQuery);
60 }
61
62
65 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
66 int start, int end) throws SystemException {
67 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
68 }
69
70
73 public static ExpandoValue remove(ExpandoValue expandoValue)
74 throws SystemException {
75 return getPersistence().remove(expandoValue);
76 }
77
78
81 public static ExpandoValue update(ExpandoValue expandoValue, boolean merge)
82 throws SystemException {
83 return getPersistence().update(expandoValue, merge);
84 }
85
86 public static void cacheResult(
87 com.liferay.portlet.expando.model.ExpandoValue expandoValue) {
88 getPersistence().cacheResult(expandoValue);
89 }
90
91 public static void cacheResult(
92 java.util.List<com.liferay.portlet.expando.model.ExpandoValue> expandoValues) {
93 getPersistence().cacheResult(expandoValues);
94 }
95
96 public static com.liferay.portlet.expando.model.ExpandoValue create(
97 long valueId) {
98 return getPersistence().create(valueId);
99 }
100
101 public static com.liferay.portlet.expando.model.ExpandoValue remove(
102 long valueId)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.expando.NoSuchValueException {
105 return getPersistence().remove(valueId);
106 }
107
108
111 public static com.liferay.portlet.expando.model.ExpandoValue update(
112 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
113 throws com.liferay.portal.SystemException {
114 return getPersistence().update(expandoValue);
115 }
116
117 public static com.liferay.portlet.expando.model.ExpandoValue updateImpl(
118 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
119 boolean merge) throws com.liferay.portal.SystemException {
120 return getPersistence().updateImpl(expandoValue, merge);
121 }
122
123 public static com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
124 long valueId)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.expando.NoSuchValueException {
127 return getPersistence().findByPrimaryKey(valueId);
128 }
129
130 public static com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
131 long valueId) throws com.liferay.portal.SystemException {
132 return getPersistence().fetchByPrimaryKey(valueId);
133 }
134
135 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
136 long tableId) throws com.liferay.portal.SystemException {
137 return getPersistence().findByTableId(tableId);
138 }
139
140 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
141 long tableId, int start, int end)
142 throws com.liferay.portal.SystemException {
143 return getPersistence().findByTableId(tableId, start, end);
144 }
145
146 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
147 long tableId, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException {
150 return getPersistence().findByTableId(tableId, start, end, obc);
151 }
152
153 public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
154 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.expando.NoSuchValueException {
157 return getPersistence().findByTableId_First(tableId, obc);
158 }
159
160 public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
161 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.expando.NoSuchValueException {
164 return getPersistence().findByTableId_Last(tableId, obc);
165 }
166
167 public static com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
168 long valueId, long tableId,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.expando.NoSuchValueException {
172 return getPersistence().findByTableId_PrevAndNext(valueId, tableId, obc);
173 }
174
175 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
176 long columnId) throws com.liferay.portal.SystemException {
177 return getPersistence().findByColumnId(columnId);
178 }
179
180 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
181 long columnId, int start, int end)
182 throws com.liferay.portal.SystemException {
183 return getPersistence().findByColumnId(columnId, start, end);
184 }
185
186 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
187 long columnId, int start, int end,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException {
190 return getPersistence().findByColumnId(columnId, start, end, obc);
191 }
192
193 public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
194 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.expando.NoSuchValueException {
197 return getPersistence().findByColumnId_First(columnId, obc);
198 }
199
200 public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
201 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
202 throws com.liferay.portal.SystemException,
203 com.liferay.portlet.expando.NoSuchValueException {
204 return getPersistence().findByColumnId_Last(columnId, obc);
205 }
206
207 public static com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
208 long valueId, long columnId,
209 com.liferay.portal.kernel.util.OrderByComparator obc)
210 throws com.liferay.portal.SystemException,
211 com.liferay.portlet.expando.NoSuchValueException {
212 return getPersistence()
213 .findByColumnId_PrevAndNext(valueId, columnId, obc);
214 }
215
216 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
217 long rowId) throws com.liferay.portal.SystemException {
218 return getPersistence().findByRowId(rowId);
219 }
220
221 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
222 long rowId, int start, int end)
223 throws com.liferay.portal.SystemException {
224 return getPersistence().findByRowId(rowId, start, end);
225 }
226
227 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
228 long rowId, int start, int end,
229 com.liferay.portal.kernel.util.OrderByComparator obc)
230 throws com.liferay.portal.SystemException {
231 return getPersistence().findByRowId(rowId, start, end, obc);
232 }
233
234 public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
235 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
236 throws com.liferay.portal.SystemException,
237 com.liferay.portlet.expando.NoSuchValueException {
238 return getPersistence().findByRowId_First(rowId, obc);
239 }
240
241 public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
242 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.SystemException,
244 com.liferay.portlet.expando.NoSuchValueException {
245 return getPersistence().findByRowId_Last(rowId, obc);
246 }
247
248 public static com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
249 long valueId, long rowId,
250 com.liferay.portal.kernel.util.OrderByComparator obc)
251 throws com.liferay.portal.SystemException,
252 com.liferay.portlet.expando.NoSuchValueException {
253 return getPersistence().findByRowId_PrevAndNext(valueId, rowId, obc);
254 }
255
256 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
257 long tableId, long columnId) throws com.liferay.portal.SystemException {
258 return getPersistence().findByT_C(tableId, columnId);
259 }
260
261 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
262 long tableId, long columnId, int start, int end)
263 throws com.liferay.portal.SystemException {
264 return getPersistence().findByT_C(tableId, columnId, start, end);
265 }
266
267 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
268 long tableId, long columnId, int start, int end,
269 com.liferay.portal.kernel.util.OrderByComparator obc)
270 throws com.liferay.portal.SystemException {
271 return getPersistence().findByT_C(tableId, columnId, start, end, obc);
272 }
273
274 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
275 long tableId, long columnId,
276 com.liferay.portal.kernel.util.OrderByComparator obc)
277 throws com.liferay.portal.SystemException,
278 com.liferay.portlet.expando.NoSuchValueException {
279 return getPersistence().findByT_C_First(tableId, columnId, obc);
280 }
281
282 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
283 long tableId, long columnId,
284 com.liferay.portal.kernel.util.OrderByComparator obc)
285 throws com.liferay.portal.SystemException,
286 com.liferay.portlet.expando.NoSuchValueException {
287 return getPersistence().findByT_C_Last(tableId, columnId, obc);
288 }
289
290 public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
291 long valueId, long tableId, long columnId,
292 com.liferay.portal.kernel.util.OrderByComparator obc)
293 throws com.liferay.portal.SystemException,
294 com.liferay.portlet.expando.NoSuchValueException {
295 return getPersistence()
296 .findByT_C_PrevAndNext(valueId, tableId, columnId, obc);
297 }
298
299 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
300 long tableId, long classPK) throws com.liferay.portal.SystemException {
301 return getPersistence().findByT_CPK(tableId, classPK);
302 }
303
304 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
305 long tableId, long classPK, int start, int end)
306 throws com.liferay.portal.SystemException {
307 return getPersistence().findByT_CPK(tableId, classPK, start, end);
308 }
309
310 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
311 long tableId, long classPK, int start, int end,
312 com.liferay.portal.kernel.util.OrderByComparator obc)
313 throws com.liferay.portal.SystemException {
314 return getPersistence().findByT_CPK(tableId, classPK, start, end, obc);
315 }
316
317 public static com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
318 long tableId, long classPK,
319 com.liferay.portal.kernel.util.OrderByComparator obc)
320 throws com.liferay.portal.SystemException,
321 com.liferay.portlet.expando.NoSuchValueException {
322 return getPersistence().findByT_CPK_First(tableId, classPK, obc);
323 }
324
325 public static com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
326 long tableId, long classPK,
327 com.liferay.portal.kernel.util.OrderByComparator obc)
328 throws com.liferay.portal.SystemException,
329 com.liferay.portlet.expando.NoSuchValueException {
330 return getPersistence().findByT_CPK_Last(tableId, classPK, obc);
331 }
332
333 public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
334 long valueId, long tableId, long classPK,
335 com.liferay.portal.kernel.util.OrderByComparator obc)
336 throws com.liferay.portal.SystemException,
337 com.liferay.portlet.expando.NoSuchValueException {
338 return getPersistence()
339 .findByT_CPK_PrevAndNext(valueId, tableId, classPK, obc);
340 }
341
342 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
343 long tableId, long rowId) throws com.liferay.portal.SystemException {
344 return getPersistence().findByT_R(tableId, rowId);
345 }
346
347 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
348 long tableId, long rowId, int start, int end)
349 throws com.liferay.portal.SystemException {
350 return getPersistence().findByT_R(tableId, rowId, start, end);
351 }
352
353 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
354 long tableId, long rowId, int start, int end,
355 com.liferay.portal.kernel.util.OrderByComparator obc)
356 throws com.liferay.portal.SystemException {
357 return getPersistence().findByT_R(tableId, rowId, start, end, obc);
358 }
359
360 public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
361 long tableId, long rowId,
362 com.liferay.portal.kernel.util.OrderByComparator obc)
363 throws com.liferay.portal.SystemException,
364 com.liferay.portlet.expando.NoSuchValueException {
365 return getPersistence().findByT_R_First(tableId, rowId, obc);
366 }
367
368 public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
369 long tableId, long rowId,
370 com.liferay.portal.kernel.util.OrderByComparator obc)
371 throws com.liferay.portal.SystemException,
372 com.liferay.portlet.expando.NoSuchValueException {
373 return getPersistence().findByT_R_Last(tableId, rowId, obc);
374 }
375
376 public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
377 long valueId, long tableId, long rowId,
378 com.liferay.portal.kernel.util.OrderByComparator obc)
379 throws com.liferay.portal.SystemException,
380 com.liferay.portlet.expando.NoSuchValueException {
381 return getPersistence()
382 .findByT_R_PrevAndNext(valueId, tableId, rowId, obc);
383 }
384
385 public static com.liferay.portlet.expando.model.ExpandoValue findByC_R(
386 long columnId, long rowId)
387 throws com.liferay.portal.SystemException,
388 com.liferay.portlet.expando.NoSuchValueException {
389 return getPersistence().findByC_R(columnId, rowId);
390 }
391
392 public static com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
393 long columnId, long rowId) throws com.liferay.portal.SystemException {
394 return getPersistence().fetchByC_R(columnId, rowId);
395 }
396
397 public static com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
398 long columnId, long rowId, boolean retrieveFromCache)
399 throws com.liferay.portal.SystemException {
400 return getPersistence().fetchByC_R(columnId, rowId, retrieveFromCache);
401 }
402
403 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
404 long classNameId, long classPK)
405 throws com.liferay.portal.SystemException {
406 return getPersistence().findByC_C(classNameId, classPK);
407 }
408
409 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
410 long classNameId, long classPK, int start, int end)
411 throws com.liferay.portal.SystemException {
412 return getPersistence().findByC_C(classNameId, classPK, start, end);
413 }
414
415 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
416 long classNameId, long classPK, int start, int end,
417 com.liferay.portal.kernel.util.OrderByComparator obc)
418 throws com.liferay.portal.SystemException {
419 return getPersistence().findByC_C(classNameId, classPK, start, end, obc);
420 }
421
422 public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
423 long classNameId, long classPK,
424 com.liferay.portal.kernel.util.OrderByComparator obc)
425 throws com.liferay.portal.SystemException,
426 com.liferay.portlet.expando.NoSuchValueException {
427 return getPersistence().findByC_C_First(classNameId, classPK, obc);
428 }
429
430 public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
431 long classNameId, long classPK,
432 com.liferay.portal.kernel.util.OrderByComparator obc)
433 throws com.liferay.portal.SystemException,
434 com.liferay.portlet.expando.NoSuchValueException {
435 return getPersistence().findByC_C_Last(classNameId, classPK, obc);
436 }
437
438 public static com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
439 long valueId, long classNameId, long classPK,
440 com.liferay.portal.kernel.util.OrderByComparator obc)
441 throws com.liferay.portal.SystemException,
442 com.liferay.portlet.expando.NoSuchValueException {
443 return getPersistence()
444 .findByC_C_PrevAndNext(valueId, classNameId, classPK, obc);
445 }
446
447 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
448 long tableId, long columnId, long classPK)
449 throws com.liferay.portal.SystemException,
450 com.liferay.portlet.expando.NoSuchValueException {
451 return getPersistence().findByT_C_C(tableId, columnId, classPK);
452 }
453
454 public static com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
455 long tableId, long columnId, long classPK)
456 throws com.liferay.portal.SystemException {
457 return getPersistence().fetchByT_C_C(tableId, columnId, classPK);
458 }
459
460 public static com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
461 long tableId, long columnId, long classPK, boolean retrieveFromCache)
462 throws com.liferay.portal.SystemException {
463 return getPersistence()
464 .fetchByT_C_C(tableId, columnId, classPK, retrieveFromCache);
465 }
466
467 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
468 long tableId, long columnId, java.lang.String data)
469 throws com.liferay.portal.SystemException {
470 return getPersistence().findByT_C_D(tableId, columnId, data);
471 }
472
473 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
474 long tableId, long columnId, java.lang.String data, int start, int end)
475 throws com.liferay.portal.SystemException {
476 return getPersistence().findByT_C_D(tableId, columnId, data, start, end);
477 }
478
479 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
480 long tableId, long columnId, java.lang.String data, int start, int end,
481 com.liferay.portal.kernel.util.OrderByComparator obc)
482 throws com.liferay.portal.SystemException {
483 return getPersistence()
484 .findByT_C_D(tableId, columnId, data, start, end, obc);
485 }
486
487 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
488 long tableId, long columnId, java.lang.String data,
489 com.liferay.portal.kernel.util.OrderByComparator obc)
490 throws com.liferay.portal.SystemException,
491 com.liferay.portlet.expando.NoSuchValueException {
492 return getPersistence().findByT_C_D_First(tableId, columnId, data, obc);
493 }
494
495 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
496 long tableId, long columnId, java.lang.String data,
497 com.liferay.portal.kernel.util.OrderByComparator obc)
498 throws com.liferay.portal.SystemException,
499 com.liferay.portlet.expando.NoSuchValueException {
500 return getPersistence().findByT_C_D_Last(tableId, columnId, data, obc);
501 }
502
503 public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
504 long valueId, long tableId, long columnId, java.lang.String data,
505 com.liferay.portal.kernel.util.OrderByComparator obc)
506 throws com.liferay.portal.SystemException,
507 com.liferay.portlet.expando.NoSuchValueException {
508 return getPersistence()
509 .findByT_C_D_PrevAndNext(valueId, tableId, columnId, data,
510 obc);
511 }
512
513 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
514 throws com.liferay.portal.SystemException {
515 return getPersistence().findAll();
516 }
517
518 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
519 int start, int end) throws com.liferay.portal.SystemException {
520 return getPersistence().findAll(start, end);
521 }
522
523 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
524 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
525 throws com.liferay.portal.SystemException {
526 return getPersistence().findAll(start, end, obc);
527 }
528
529 public static void removeByTableId(long tableId)
530 throws com.liferay.portal.SystemException {
531 getPersistence().removeByTableId(tableId);
532 }
533
534 public static void removeByColumnId(long columnId)
535 throws com.liferay.portal.SystemException {
536 getPersistence().removeByColumnId(columnId);
537 }
538
539 public static void removeByRowId(long rowId)
540 throws com.liferay.portal.SystemException {
541 getPersistence().removeByRowId(rowId);
542 }
543
544 public static void removeByT_C(long tableId, long columnId)
545 throws com.liferay.portal.SystemException {
546 getPersistence().removeByT_C(tableId, columnId);
547 }
548
549 public static void removeByT_CPK(long tableId, long classPK)
550 throws com.liferay.portal.SystemException {
551 getPersistence().removeByT_CPK(tableId, classPK);
552 }
553
554 public static void removeByT_R(long tableId, long rowId)
555 throws com.liferay.portal.SystemException {
556 getPersistence().removeByT_R(tableId, rowId);
557 }
558
559 public static void removeByC_R(long columnId, long rowId)
560 throws com.liferay.portal.SystemException,
561 com.liferay.portlet.expando.NoSuchValueException {
562 getPersistence().removeByC_R(columnId, rowId);
563 }
564
565 public static void removeByC_C(long classNameId, long classPK)
566 throws com.liferay.portal.SystemException {
567 getPersistence().removeByC_C(classNameId, classPK);
568 }
569
570 public static void removeByT_C_C(long tableId, long columnId, long classPK)
571 throws com.liferay.portal.SystemException,
572 com.liferay.portlet.expando.NoSuchValueException {
573 getPersistence().removeByT_C_C(tableId, columnId, classPK);
574 }
575
576 public static void removeByT_C_D(long tableId, long columnId,
577 java.lang.String data) throws com.liferay.portal.SystemException {
578 getPersistence().removeByT_C_D(tableId, columnId, data);
579 }
580
581 public static void removeAll() throws com.liferay.portal.SystemException {
582 getPersistence().removeAll();
583 }
584
585 public static int countByTableId(long tableId)
586 throws com.liferay.portal.SystemException {
587 return getPersistence().countByTableId(tableId);
588 }
589
590 public static int countByColumnId(long columnId)
591 throws com.liferay.portal.SystemException {
592 return getPersistence().countByColumnId(columnId);
593 }
594
595 public static int countByRowId(long rowId)
596 throws com.liferay.portal.SystemException {
597 return getPersistence().countByRowId(rowId);
598 }
599
600 public static int countByT_C(long tableId, long columnId)
601 throws com.liferay.portal.SystemException {
602 return getPersistence().countByT_C(tableId, columnId);
603 }
604
605 public static int countByT_CPK(long tableId, long classPK)
606 throws com.liferay.portal.SystemException {
607 return getPersistence().countByT_CPK(tableId, classPK);
608 }
609
610 public static int countByT_R(long tableId, long rowId)
611 throws com.liferay.portal.SystemException {
612 return getPersistence().countByT_R(tableId, rowId);
613 }
614
615 public static int countByC_R(long columnId, long rowId)
616 throws com.liferay.portal.SystemException {
617 return getPersistence().countByC_R(columnId, rowId);
618 }
619
620 public static int countByC_C(long classNameId, long classPK)
621 throws com.liferay.portal.SystemException {
622 return getPersistence().countByC_C(classNameId, classPK);
623 }
624
625 public static int countByT_C_C(long tableId, long columnId, long classPK)
626 throws com.liferay.portal.SystemException {
627 return getPersistence().countByT_C_C(tableId, columnId, classPK);
628 }
629
630 public static int countByT_C_D(long tableId, long columnId,
631 java.lang.String data) throws com.liferay.portal.SystemException {
632 return getPersistence().countByT_C_D(tableId, columnId, data);
633 }
634
635 public static int countAll() throws com.liferay.portal.SystemException {
636 return getPersistence().countAll();
637 }
638
639 public static ExpandoValuePersistence getPersistence() {
640 if (_persistence == null) {
641 _persistence = (ExpandoValuePersistence)PortalBeanLocatorUtil.locate(ExpandoValuePersistence.class.getName());
642 }
643
644 return _persistence;
645 }
646
647 public void setPersistence(ExpandoValuePersistence persistence) {
648 _persistence = persistence;
649 }
650
651 private static ExpandoValuePersistence _persistence;
652 }