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