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