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