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