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