1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25
31 public class ExpandoValueUtil {
32 public static com.liferay.portlet.expando.model.ExpandoValue create(
33 long valueId) {
34 return getPersistence().create(valueId);
35 }
36
37 public static com.liferay.portlet.expando.model.ExpandoValue remove(
38 long valueId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.expando.NoSuchValueException {
41 return getPersistence().remove(valueId);
42 }
43
44 public static com.liferay.portlet.expando.model.ExpandoValue remove(
45 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(expandoValue);
48 }
49
50
53 public static com.liferay.portlet.expando.model.ExpandoValue update(
54 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(expandoValue);
57 }
58
59
72 public static com.liferay.portlet.expando.model.ExpandoValue update(
73 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
74 boolean merge) throws com.liferay.portal.SystemException {
75 return getPersistence().update(expandoValue, merge);
76 }
77
78 public static com.liferay.portlet.expando.model.ExpandoValue updateImpl(
79 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
80 boolean merge) throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(expandoValue, merge);
82 }
83
84 public static com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
85 long valueId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.expando.NoSuchValueException {
88 return getPersistence().findByPrimaryKey(valueId);
89 }
90
91 public static com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
92 long valueId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(valueId);
94 }
95
96 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
97 long tableId) throws com.liferay.portal.SystemException {
98 return getPersistence().findByTableId(tableId);
99 }
100
101 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
102 long tableId, int begin, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByTableId(tableId, begin, end);
105 }
106
107 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
108 long tableId, int begin, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByTableId(tableId, begin, end, obc);
112 }
113
114 public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
115 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.expando.NoSuchValueException {
118 return getPersistence().findByTableId_First(tableId, obc);
119 }
120
121 public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
122 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.expando.NoSuchValueException {
125 return getPersistence().findByTableId_Last(tableId, obc);
126 }
127
128 public static com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
129 long valueId, long tableId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.expando.NoSuchValueException {
133 return getPersistence().findByTableId_PrevAndNext(valueId, tableId, obc);
134 }
135
136 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
137 long columnId) throws com.liferay.portal.SystemException {
138 return getPersistence().findByColumnId(columnId);
139 }
140
141 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
142 long columnId, int begin, int end)
143 throws com.liferay.portal.SystemException {
144 return getPersistence().findByColumnId(columnId, begin, end);
145 }
146
147 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
148 long columnId, int begin, int end,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException {
151 return getPersistence().findByColumnId(columnId, begin, end, obc);
152 }
153
154 public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
155 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.expando.NoSuchValueException {
158 return getPersistence().findByColumnId_First(columnId, obc);
159 }
160
161 public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
162 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
163 throws com.liferay.portal.SystemException,
164 com.liferay.portlet.expando.NoSuchValueException {
165 return getPersistence().findByColumnId_Last(columnId, obc);
166 }
167
168 public static com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
169 long valueId, long columnId,
170 com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException,
172 com.liferay.portlet.expando.NoSuchValueException {
173 return getPersistence()
174 .findByColumnId_PrevAndNext(valueId, columnId, obc);
175 }
176
177 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
178 long rowId) throws com.liferay.portal.SystemException {
179 return getPersistence().findByRowId(rowId);
180 }
181
182 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
183 long rowId, int begin, int end)
184 throws com.liferay.portal.SystemException {
185 return getPersistence().findByRowId(rowId, begin, end);
186 }
187
188 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
189 long rowId, int begin, int end,
190 com.liferay.portal.kernel.util.OrderByComparator obc)
191 throws com.liferay.portal.SystemException {
192 return getPersistence().findByRowId(rowId, begin, end, obc);
193 }
194
195 public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
196 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
197 throws com.liferay.portal.SystemException,
198 com.liferay.portlet.expando.NoSuchValueException {
199 return getPersistence().findByRowId_First(rowId, obc);
200 }
201
202 public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
203 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
204 throws com.liferay.portal.SystemException,
205 com.liferay.portlet.expando.NoSuchValueException {
206 return getPersistence().findByRowId_Last(rowId, obc);
207 }
208
209 public static com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
210 long valueId, long rowId,
211 com.liferay.portal.kernel.util.OrderByComparator obc)
212 throws com.liferay.portal.SystemException,
213 com.liferay.portlet.expando.NoSuchValueException {
214 return getPersistence().findByRowId_PrevAndNext(valueId, rowId, obc);
215 }
216
217 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
218 long tableId, long rowId) throws com.liferay.portal.SystemException {
219 return getPersistence().findByT_R(tableId, rowId);
220 }
221
222 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
223 long tableId, long rowId, int begin, int end)
224 throws com.liferay.portal.SystemException {
225 return getPersistence().findByT_R(tableId, rowId, begin, end);
226 }
227
228 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
229 long tableId, long rowId, int begin, int end,
230 com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException {
232 return getPersistence().findByT_R(tableId, rowId, begin, end, obc);
233 }
234
235 public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
236 long tableId, long rowId,
237 com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException,
239 com.liferay.portlet.expando.NoSuchValueException {
240 return getPersistence().findByT_R_First(tableId, rowId, obc);
241 }
242
243 public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
244 long tableId, long rowId,
245 com.liferay.portal.kernel.util.OrderByComparator obc)
246 throws com.liferay.portal.SystemException,
247 com.liferay.portlet.expando.NoSuchValueException {
248 return getPersistence().findByT_R_Last(tableId, rowId, obc);
249 }
250
251 public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
252 long valueId, long tableId, long rowId,
253 com.liferay.portal.kernel.util.OrderByComparator obc)
254 throws com.liferay.portal.SystemException,
255 com.liferay.portlet.expando.NoSuchValueException {
256 return getPersistence()
257 .findByT_R_PrevAndNext(valueId, tableId, rowId, obc);
258 }
259
260 public static com.liferay.portlet.expando.model.ExpandoValue findByC_R(
261 long columnId, long rowId)
262 throws com.liferay.portal.SystemException,
263 com.liferay.portlet.expando.NoSuchValueException {
264 return getPersistence().findByC_R(columnId, rowId);
265 }
266
267 public static com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
268 long columnId, long rowId) throws com.liferay.portal.SystemException {
269 return getPersistence().fetchByC_R(columnId, rowId);
270 }
271
272 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
273 long classNameId, long classPK)
274 throws com.liferay.portal.SystemException {
275 return getPersistence().findByC_C(classNameId, classPK);
276 }
277
278 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
279 long classNameId, long classPK, int begin, int end)
280 throws com.liferay.portal.SystemException {
281 return getPersistence().findByC_C(classNameId, classPK, begin, end);
282 }
283
284 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
285 long classNameId, long classPK, int begin, int end,
286 com.liferay.portal.kernel.util.OrderByComparator obc)
287 throws com.liferay.portal.SystemException {
288 return getPersistence().findByC_C(classNameId, classPK, begin, end, obc);
289 }
290
291 public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
292 long classNameId, long classPK,
293 com.liferay.portal.kernel.util.OrderByComparator obc)
294 throws com.liferay.portal.SystemException,
295 com.liferay.portlet.expando.NoSuchValueException {
296 return getPersistence().findByC_C_First(classNameId, classPK, obc);
297 }
298
299 public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
300 long classNameId, long classPK,
301 com.liferay.portal.kernel.util.OrderByComparator obc)
302 throws com.liferay.portal.SystemException,
303 com.liferay.portlet.expando.NoSuchValueException {
304 return getPersistence().findByC_C_Last(classNameId, classPK, obc);
305 }
306
307 public static com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
308 long valueId, long classNameId, long classPK,
309 com.liferay.portal.kernel.util.OrderByComparator obc)
310 throws com.liferay.portal.SystemException,
311 com.liferay.portlet.expando.NoSuchValueException {
312 return getPersistence()
313 .findByC_C_PrevAndNext(valueId, classNameId, classPK, obc);
314 }
315
316 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_R(
317 long tableId, long columnId, long rowId)
318 throws com.liferay.portal.SystemException,
319 com.liferay.portlet.expando.NoSuchValueException {
320 return getPersistence().findByT_C_R(tableId, columnId, rowId);
321 }
322
323 public static com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_R(
324 long tableId, long columnId, long rowId)
325 throws com.liferay.portal.SystemException {
326 return getPersistence().fetchByT_C_R(tableId, columnId, rowId);
327 }
328
329 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_C_C(
330 long tableId, long columnId, long classNameId, long classPK)
331 throws com.liferay.portal.SystemException {
332 return getPersistence()
333 .findByT_C_C_C(tableId, columnId, classNameId, classPK);
334 }
335
336 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_C_C(
337 long tableId, long columnId, long classNameId, long classPK, int begin,
338 int end) throws com.liferay.portal.SystemException {
339 return getPersistence()
340 .findByT_C_C_C(tableId, columnId, classNameId, classPK,
341 begin, end);
342 }
343
344 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_C_C(
345 long tableId, long columnId, long classNameId, long classPK, int begin,
346 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
347 throws com.liferay.portal.SystemException {
348 return getPersistence()
349 .findByT_C_C_C(tableId, columnId, classNameId, classPK,
350 begin, end, obc);
351 }
352
353 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_C_C_First(
354 long tableId, long columnId, long classNameId, long classPK,
355 com.liferay.portal.kernel.util.OrderByComparator obc)
356 throws com.liferay.portal.SystemException,
357 com.liferay.portlet.expando.NoSuchValueException {
358 return getPersistence()
359 .findByT_C_C_C_First(tableId, columnId, classNameId,
360 classPK, obc);
361 }
362
363 public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_C_C_Last(
364 long tableId, long columnId, long classNameId, long classPK,
365 com.liferay.portal.kernel.util.OrderByComparator obc)
366 throws com.liferay.portal.SystemException,
367 com.liferay.portlet.expando.NoSuchValueException {
368 return getPersistence()
369 .findByT_C_C_C_Last(tableId, columnId, classNameId, classPK,
370 obc);
371 }
372
373 public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_C_C_PrevAndNext(
374 long valueId, long tableId, long columnId, long classNameId,
375 long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
376 throws com.liferay.portal.SystemException,
377 com.liferay.portlet.expando.NoSuchValueException {
378 return getPersistence()
379 .findByT_C_C_C_PrevAndNext(valueId, tableId, columnId,
380 classNameId, classPK, obc);
381 }
382
383 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findWithDynamicQuery(
384 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
385 throws com.liferay.portal.SystemException {
386 return getPersistence().findWithDynamicQuery(queryInitializer);
387 }
388
389 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findWithDynamicQuery(
390 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
391 int begin, int end) throws com.liferay.portal.SystemException {
392 return getPersistence()
393 .findWithDynamicQuery(queryInitializer, begin, end);
394 }
395
396 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
397 throws com.liferay.portal.SystemException {
398 return getPersistence().findAll();
399 }
400
401 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
402 int begin, int end) throws com.liferay.portal.SystemException {
403 return getPersistence().findAll(begin, end);
404 }
405
406 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
407 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
408 throws com.liferay.portal.SystemException {
409 return getPersistence().findAll(begin, end, obc);
410 }
411
412 public static void removeByTableId(long tableId)
413 throws com.liferay.portal.SystemException {
414 getPersistence().removeByTableId(tableId);
415 }
416
417 public static void removeByColumnId(long columnId)
418 throws com.liferay.portal.SystemException {
419 getPersistence().removeByColumnId(columnId);
420 }
421
422 public static void removeByRowId(long rowId)
423 throws com.liferay.portal.SystemException {
424 getPersistence().removeByRowId(rowId);
425 }
426
427 public static void removeByT_R(long tableId, long rowId)
428 throws com.liferay.portal.SystemException {
429 getPersistence().removeByT_R(tableId, rowId);
430 }
431
432 public static void removeByC_R(long columnId, long rowId)
433 throws com.liferay.portal.SystemException,
434 com.liferay.portlet.expando.NoSuchValueException {
435 getPersistence().removeByC_R(columnId, rowId);
436 }
437
438 public static void removeByC_C(long classNameId, long classPK)
439 throws com.liferay.portal.SystemException {
440 getPersistence().removeByC_C(classNameId, classPK);
441 }
442
443 public static void removeByT_C_R(long tableId, long columnId, long rowId)
444 throws com.liferay.portal.SystemException,
445 com.liferay.portlet.expando.NoSuchValueException {
446 getPersistence().removeByT_C_R(tableId, columnId, rowId);
447 }
448
449 public static void removeByT_C_C_C(long tableId, long columnId,
450 long classNameId, long classPK)
451 throws com.liferay.portal.SystemException {
452 getPersistence().removeByT_C_C_C(tableId, columnId, classNameId, classPK);
453 }
454
455 public static void removeAll() throws com.liferay.portal.SystemException {
456 getPersistence().removeAll();
457 }
458
459 public static int countByTableId(long tableId)
460 throws com.liferay.portal.SystemException {
461 return getPersistence().countByTableId(tableId);
462 }
463
464 public static int countByColumnId(long columnId)
465 throws com.liferay.portal.SystemException {
466 return getPersistence().countByColumnId(columnId);
467 }
468
469 public static int countByRowId(long rowId)
470 throws com.liferay.portal.SystemException {
471 return getPersistence().countByRowId(rowId);
472 }
473
474 public static int countByT_R(long tableId, long rowId)
475 throws com.liferay.portal.SystemException {
476 return getPersistence().countByT_R(tableId, rowId);
477 }
478
479 public static int countByC_R(long columnId, long rowId)
480 throws com.liferay.portal.SystemException {
481 return getPersistence().countByC_R(columnId, rowId);
482 }
483
484 public static int countByC_C(long classNameId, long classPK)
485 throws com.liferay.portal.SystemException {
486 return getPersistence().countByC_C(classNameId, classPK);
487 }
488
489 public static int countByT_C_R(long tableId, long columnId, long rowId)
490 throws com.liferay.portal.SystemException {
491 return getPersistence().countByT_C_R(tableId, columnId, rowId);
492 }
493
494 public static int countByT_C_C_C(long tableId, long columnId,
495 long classNameId, long classPK)
496 throws com.liferay.portal.SystemException {
497 return getPersistence()
498 .countByT_C_C_C(tableId, columnId, classNameId, classPK);
499 }
500
501 public static int countAll() throws com.liferay.portal.SystemException {
502 return getPersistence().countAll();
503 }
504
505 public static ExpandoValuePersistence getPersistence() {
506 return _getUtil()._persistence;
507 }
508
509 public void setPersistence(ExpandoValuePersistence persistence) {
510 _persistence = persistence;
511 }
512
513 private static ExpandoValueUtil _getUtil() {
514 if (_util == null) {
515 _util = (ExpandoValueUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
516 }
517
518 return _util;
519 }
520
521 private static final String _UTIL = ExpandoValueUtil.class.getName();
522 private static ExpandoValueUtil _util;
523 private ExpandoValuePersistence _persistence;
524 }