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