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