1
19
20 package com.liferay.portlet.expando.service;
21
22
23
44 public class ExpandoValueLocalServiceUtil {
45 public static com.liferay.portlet.expando.model.ExpandoValue addExpandoValue(
46 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
47 throws com.liferay.portal.SystemException {
48 return getService().addExpandoValue(expandoValue);
49 }
50
51 public static com.liferay.portlet.expando.model.ExpandoValue createExpandoValue(
52 long valueId) {
53 return getService().createExpandoValue(valueId);
54 }
55
56 public static void deleteExpandoValue(long valueId)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException {
59 getService().deleteExpandoValue(valueId);
60 }
61
62 public static void deleteExpandoValue(
63 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
64 throws com.liferay.portal.SystemException {
65 getService().deleteExpandoValue(expandoValue);
66 }
67
68 public static java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
70 throws com.liferay.portal.SystemException {
71 return getService().dynamicQuery(dynamicQuery);
72 }
73
74 public static java.util.List<Object> dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end) throws com.liferay.portal.SystemException {
77 return getService().dynamicQuery(dynamicQuery, start, end);
78 }
79
80 public static com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
81 long valueId)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException {
84 return getService().getExpandoValue(valueId);
85 }
86
87 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
88 int start, int end) throws com.liferay.portal.SystemException {
89 return getService().getExpandoValues(start, end);
90 }
91
92 public static int getExpandoValuesCount()
93 throws com.liferay.portal.SystemException {
94 return getService().getExpandoValuesCount();
95 }
96
97 public static com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
98 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
99 throws com.liferay.portal.SystemException {
100 return getService().updateExpandoValue(expandoValue);
101 }
102
103 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
104 java.lang.String className, java.lang.String tableName,
105 java.lang.String columnName, long classPK, boolean data)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException {
108 return getService()
109 .addValue(className, tableName, columnName, classPK, data);
110 }
111
112 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
113 java.lang.String className, java.lang.String tableName,
114 java.lang.String columnName, long classPK, boolean[] data)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException {
117 return getService()
118 .addValue(className, tableName, columnName, classPK, data);
119 }
120
121 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
122 java.lang.String className, java.lang.String tableName,
123 java.lang.String columnName, long classPK, java.util.Date data)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 return getService()
127 .addValue(className, tableName, columnName, classPK, data);
128 }
129
130 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
131 java.lang.String className, java.lang.String tableName,
132 java.lang.String columnName, long classPK, java.util.Date[] data)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 return getService()
136 .addValue(className, tableName, columnName, classPK, data);
137 }
138
139 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
140 java.lang.String className, java.lang.String tableName,
141 java.lang.String columnName, long classPK, double data)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 return getService()
145 .addValue(className, tableName, columnName, classPK, data);
146 }
147
148 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
149 java.lang.String className, java.lang.String tableName,
150 java.lang.String columnName, long classPK, double[] data)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 return getService()
154 .addValue(className, tableName, columnName, classPK, data);
155 }
156
157 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
158 java.lang.String className, java.lang.String tableName,
159 java.lang.String columnName, long classPK, float data)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException {
162 return getService()
163 .addValue(className, tableName, columnName, classPK, data);
164 }
165
166 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
167 java.lang.String className, java.lang.String tableName,
168 java.lang.String columnName, long classPK, float[] data)
169 throws com.liferay.portal.PortalException,
170 com.liferay.portal.SystemException {
171 return getService()
172 .addValue(className, tableName, columnName, classPK, data);
173 }
174
175 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
176 java.lang.String className, java.lang.String tableName,
177 java.lang.String columnName, long classPK, int data)
178 throws com.liferay.portal.PortalException,
179 com.liferay.portal.SystemException {
180 return getService()
181 .addValue(className, tableName, columnName, classPK, data);
182 }
183
184 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
185 java.lang.String className, java.lang.String tableName,
186 java.lang.String columnName, long classPK, int[] data)
187 throws com.liferay.portal.PortalException,
188 com.liferay.portal.SystemException {
189 return getService()
190 .addValue(className, tableName, columnName, classPK, data);
191 }
192
193 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
194 java.lang.String className, java.lang.String tableName,
195 java.lang.String columnName, long classPK, long data)
196 throws com.liferay.portal.PortalException,
197 com.liferay.portal.SystemException {
198 return getService()
199 .addValue(className, tableName, columnName, classPK, data);
200 }
201
202 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
203 java.lang.String className, java.lang.String tableName,
204 java.lang.String columnName, long classPK, long[] data)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException {
207 return getService()
208 .addValue(className, tableName, columnName, classPK, data);
209 }
210
211 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
212 java.lang.String className, java.lang.String tableName,
213 java.lang.String columnName, long classPK, short data)
214 throws com.liferay.portal.PortalException,
215 com.liferay.portal.SystemException {
216 return getService()
217 .addValue(className, tableName, columnName, classPK, data);
218 }
219
220 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
221 java.lang.String className, java.lang.String tableName,
222 java.lang.String columnName, long classPK, short[] data)
223 throws com.liferay.portal.PortalException,
224 com.liferay.portal.SystemException {
225 return getService()
226 .addValue(className, tableName, columnName, classPK, data);
227 }
228
229 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
230 java.lang.String className, java.lang.String tableName,
231 java.lang.String columnName, long classPK, java.lang.String data)
232 throws com.liferay.portal.PortalException,
233 com.liferay.portal.SystemException {
234 return getService()
235 .addValue(className, tableName, columnName, classPK, data);
236 }
237
238 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
239 java.lang.String className, java.lang.String tableName,
240 java.lang.String columnName, long classPK, java.lang.String[] data)
241 throws com.liferay.portal.PortalException,
242 com.liferay.portal.SystemException {
243 return getService()
244 .addValue(className, tableName, columnName, classPK, data);
245 }
246
247 public static com.liferay.portlet.expando.model.ExpandoValue addValue(
248 long classNameId, long tableId, long columnId, long classPK,
249 java.lang.String data) throws com.liferay.portal.SystemException {
250 return getService()
251 .addValue(classNameId, tableId, columnId, classPK, data);
252 }
253
254 public static void deleteColumnValues(long columnId)
255 throws com.liferay.portal.SystemException {
256 getService().deleteColumnValues(columnId);
257 }
258
259 public static void deleteRowValues(long rowId)
260 throws com.liferay.portal.SystemException {
261 getService().deleteRowValues(rowId);
262 }
263
264 public static void deleteTableValues(long tableId)
265 throws com.liferay.portal.SystemException {
266 getService().deleteTableValues(tableId);
267 }
268
269 public static void deleteValue(long valueId)
270 throws com.liferay.portal.PortalException,
271 com.liferay.portal.SystemException {
272 getService().deleteValue(valueId);
273 }
274
275 public static void deleteValue(long columnId, long rowId)
276 throws com.liferay.portal.PortalException,
277 com.liferay.portal.SystemException {
278 getService().deleteValue(columnId, rowId);
279 }
280
281 public static void deleteValue(java.lang.String className,
282 java.lang.String tableName, java.lang.String columnName, long classPK)
283 throws com.liferay.portal.PortalException,
284 com.liferay.portal.SystemException {
285 getService().deleteValue(className, tableName, columnName, classPK);
286 }
287
288 public static void deleteValue(long classNameId,
289 java.lang.String tableName, java.lang.String columnName, long classPK)
290 throws com.liferay.portal.PortalException,
291 com.liferay.portal.SystemException {
292 getService().deleteValue(classNameId, tableName, columnName, classPK);
293 }
294
295 public static void deleteValues(java.lang.String className, long classPK)
296 throws com.liferay.portal.SystemException {
297 getService().deleteValues(className, classPK);
298 }
299
300 public static void deleteValues(long classNameId, long classPK)
301 throws com.liferay.portal.SystemException {
302 getService().deleteValues(classNameId, classPK);
303 }
304
305 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
306 long columnId, int start, int end)
307 throws com.liferay.portal.SystemException {
308 return getService().getColumnValues(columnId, start, end);
309 }
310
311 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
312 java.lang.String className, java.lang.String tableName,
313 java.lang.String columnName, int start, int end)
314 throws com.liferay.portal.SystemException {
315 return getService()
316 .getColumnValues(className, tableName, columnName, start, end);
317 }
318
319 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
320 long classNameId, java.lang.String tableName,
321 java.lang.String columnName, int start, int end)
322 throws com.liferay.portal.SystemException {
323 return getService()
324 .getColumnValues(classNameId, tableName, columnName, start,
325 end);
326 }
327
328 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
329 java.lang.String className, java.lang.String tableName,
330 java.lang.String columnName, java.lang.String data, int start, int end)
331 throws com.liferay.portal.SystemException {
332 return getService()
333 .getColumnValues(className, tableName, columnName, data,
334 start, end);
335 }
336
337 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
338 long classNameId, java.lang.String tableName,
339 java.lang.String columnName, java.lang.String data, int start, int end)
340 throws com.liferay.portal.SystemException {
341 return getService()
342 .getColumnValues(classNameId, tableName, columnName, data,
343 start, end);
344 }
345
346 public static int getColumnValuesCount(long columnId)
347 throws com.liferay.portal.SystemException {
348 return getService().getColumnValuesCount(columnId);
349 }
350
351 public static int getColumnValuesCount(java.lang.String className,
352 java.lang.String tableName, java.lang.String columnName)
353 throws com.liferay.portal.SystemException {
354 return getService()
355 .getColumnValuesCount(className, tableName, columnName);
356 }
357
358 public static int getColumnValuesCount(long classNameId,
359 java.lang.String tableName, java.lang.String columnName)
360 throws com.liferay.portal.SystemException {
361 return getService()
362 .getColumnValuesCount(classNameId, tableName, columnName);
363 }
364
365 public static int getColumnValuesCount(java.lang.String className,
366 java.lang.String tableName, java.lang.String columnName,
367 java.lang.String data) throws com.liferay.portal.SystemException {
368 return getService()
369 .getColumnValuesCount(className, tableName, columnName, data);
370 }
371
372 public static int getColumnValuesCount(long classNameId,
373 java.lang.String tableName, java.lang.String columnName,
374 java.lang.String data) throws com.liferay.portal.SystemException {
375 return getService()
376 .getColumnValuesCount(classNameId, tableName, columnName,
377 data);
378 }
379
380 public static boolean getData(java.lang.String className,
381 java.lang.String tableName, java.lang.String columnName, long classPK,
382 boolean defaultData)
383 throws com.liferay.portal.PortalException,
384 com.liferay.portal.SystemException {
385 return getService()
386 .getData(className, tableName, columnName, classPK,
387 defaultData);
388 }
389
390 public static boolean[] getData(java.lang.String className,
391 java.lang.String tableName, java.lang.String columnName, long classPK,
392 boolean[] defaultData)
393 throws com.liferay.portal.PortalException,
394 com.liferay.portal.SystemException {
395 return getService()
396 .getData(className, tableName, columnName, classPK,
397 defaultData);
398 }
399
400 public static java.util.Date getData(java.lang.String className,
401 java.lang.String tableName, java.lang.String columnName, long classPK,
402 java.util.Date defaultData)
403 throws com.liferay.portal.PortalException,
404 com.liferay.portal.SystemException {
405 return getService()
406 .getData(className, tableName, columnName, classPK,
407 defaultData);
408 }
409
410 public static java.util.Date[] getData(java.lang.String className,
411 java.lang.String tableName, java.lang.String columnName, long classPK,
412 java.util.Date[] defaultData)
413 throws com.liferay.portal.PortalException,
414 com.liferay.portal.SystemException {
415 return getService()
416 .getData(className, tableName, columnName, classPK,
417 defaultData);
418 }
419
420 public static double getData(java.lang.String className,
421 java.lang.String tableName, java.lang.String columnName, long classPK,
422 double defaultData)
423 throws com.liferay.portal.PortalException,
424 com.liferay.portal.SystemException {
425 return getService()
426 .getData(className, tableName, columnName, classPK,
427 defaultData);
428 }
429
430 public static double[] getData(java.lang.String className,
431 java.lang.String tableName, java.lang.String columnName, long classPK,
432 double[] defaultData)
433 throws com.liferay.portal.PortalException,
434 com.liferay.portal.SystemException {
435 return getService()
436 .getData(className, tableName, columnName, classPK,
437 defaultData);
438 }
439
440 public static float getData(java.lang.String className,
441 java.lang.String tableName, java.lang.String columnName, long classPK,
442 float defaultData)
443 throws com.liferay.portal.PortalException,
444 com.liferay.portal.SystemException {
445 return getService()
446 .getData(className, tableName, columnName, classPK,
447 defaultData);
448 }
449
450 public static float[] getData(java.lang.String className,
451 java.lang.String tableName, java.lang.String columnName, long classPK,
452 float[] defaultData)
453 throws com.liferay.portal.PortalException,
454 com.liferay.portal.SystemException {
455 return getService()
456 .getData(className, tableName, columnName, classPK,
457 defaultData);
458 }
459
460 public static int getData(java.lang.String className,
461 java.lang.String tableName, java.lang.String columnName, long classPK,
462 int defaultData)
463 throws com.liferay.portal.PortalException,
464 com.liferay.portal.SystemException {
465 return getService()
466 .getData(className, tableName, columnName, classPK,
467 defaultData);
468 }
469
470 public static int[] getData(java.lang.String className,
471 java.lang.String tableName, java.lang.String columnName, long classPK,
472 int[] defaultData)
473 throws com.liferay.portal.PortalException,
474 com.liferay.portal.SystemException {
475 return getService()
476 .getData(className, tableName, columnName, classPK,
477 defaultData);
478 }
479
480 public static long getData(java.lang.String className,
481 java.lang.String tableName, java.lang.String columnName, long classPK,
482 long defaultData)
483 throws com.liferay.portal.PortalException,
484 com.liferay.portal.SystemException {
485 return getService()
486 .getData(className, tableName, columnName, classPK,
487 defaultData);
488 }
489
490 public static long[] getData(java.lang.String className,
491 java.lang.String tableName, java.lang.String columnName, long classPK,
492 long[] defaultData)
493 throws com.liferay.portal.PortalException,
494 com.liferay.portal.SystemException {
495 return getService()
496 .getData(className, tableName, columnName, classPK,
497 defaultData);
498 }
499
500 public static short getData(java.lang.String className,
501 java.lang.String tableName, java.lang.String columnName, long classPK,
502 short defaultData)
503 throws com.liferay.portal.PortalException,
504 com.liferay.portal.SystemException {
505 return getService()
506 .getData(className, tableName, columnName, classPK,
507 defaultData);
508 }
509
510 public static short[] getData(java.lang.String className,
511 java.lang.String tableName, java.lang.String columnName, long classPK,
512 short[] defaultData)
513 throws com.liferay.portal.PortalException,
514 com.liferay.portal.SystemException {
515 return getService()
516 .getData(className, tableName, columnName, classPK,
517 defaultData);
518 }
519
520 public static java.lang.String getData(java.lang.String className,
521 java.lang.String tableName, java.lang.String columnName, long classPK,
522 java.lang.String defaultData)
523 throws com.liferay.portal.PortalException,
524 com.liferay.portal.SystemException {
525 return getService()
526 .getData(className, tableName, columnName, classPK,
527 defaultData);
528 }
529
530 public static java.lang.String[] getData(java.lang.String className,
531 java.lang.String tableName, java.lang.String columnName, long classPK,
532 java.lang.String[] defaultData)
533 throws com.liferay.portal.PortalException,
534 com.liferay.portal.SystemException {
535 return getService()
536 .getData(className, tableName, columnName, classPK,
537 defaultData);
538 }
539
540 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
541 java.lang.String className, java.lang.String columnName, int start,
542 int end) throws com.liferay.portal.SystemException {
543 return getService()
544 .getDefaultTableColumnValues(className, columnName, start,
545 end);
546 }
547
548 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
549 long classNameId, java.lang.String columnName, int start, int end)
550 throws com.liferay.portal.SystemException {
551 return getService()
552 .getDefaultTableColumnValues(classNameId, columnName, start,
553 end);
554 }
555
556 public static int getDefaultTableColumnValuesCount(
557 java.lang.String className, java.lang.String columnName)
558 throws com.liferay.portal.SystemException {
559 return getService()
560 .getDefaultTableColumnValuesCount(className, columnName);
561 }
562
563 public static int getDefaultTableColumnValuesCount(long classNameId,
564 java.lang.String columnName) throws com.liferay.portal.SystemException {
565 return getService()
566 .getDefaultTableColumnValuesCount(classNameId, columnName);
567 }
568
569 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
570 long rowId) throws com.liferay.portal.SystemException {
571 return getService().getRowValues(rowId);
572 }
573
574 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
575 long rowId, int start, int end)
576 throws com.liferay.portal.SystemException {
577 return getService().getRowValues(rowId, start, end);
578 }
579
580 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
581 java.lang.String className, java.lang.String tableName, long classPK,
582 int start, int end) throws com.liferay.portal.SystemException {
583 return getService()
584 .getRowValues(className, tableName, classPK, start, end);
585 }
586
587 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
588 long classNameId, java.lang.String tableName, long classPK, int start,
589 int end) throws com.liferay.portal.SystemException {
590 return getService()
591 .getRowValues(classNameId, tableName, classPK, start, end);
592 }
593
594 public static int getRowValuesCount(long rowId)
595 throws com.liferay.portal.SystemException {
596 return getService().getRowValuesCount(rowId);
597 }
598
599 public static int getRowValuesCount(java.lang.String className,
600 java.lang.String tableName, long classPK)
601 throws com.liferay.portal.SystemException {
602 return getService().getRowValuesCount(className, tableName, classPK);
603 }
604
605 public static int getRowValuesCount(long classNameId,
606 java.lang.String tableName, long classPK)
607 throws com.liferay.portal.SystemException {
608 return getService().getRowValuesCount(classNameId, tableName, classPK);
609 }
610
611 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
612 long valueId)
613 throws com.liferay.portal.PortalException,
614 com.liferay.portal.SystemException {
615 return getService().getValue(valueId);
616 }
617
618 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
619 long columnId, long rowId)
620 throws com.liferay.portal.PortalException,
621 com.liferay.portal.SystemException {
622 return getService().getValue(columnId, rowId);
623 }
624
625 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
626 java.lang.String className, java.lang.String tableName,
627 java.lang.String columnName, long classPK)
628 throws com.liferay.portal.SystemException {
629 return getService().getValue(className, tableName, columnName, classPK);
630 }
631
632 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
633 long classNameId, java.lang.String tableName,
634 java.lang.String columnName, long classPK)
635 throws com.liferay.portal.SystemException {
636 return getService().getValue(classNameId, tableName, columnName, classPK);
637 }
638
639 public static ExpandoValueLocalService getService() {
640 if (_service == null) {
641 throw new RuntimeException("ExpandoValueLocalService is not set");
642 }
643
644 return _service;
645 }
646
647 public void setService(ExpandoValueLocalService service) {
648 _service = service;
649 }
650
651 private static ExpandoValueLocalService _service;
652 }