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