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