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