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 long classNameId, long tableId, long columnId, long classPK,
252 java.lang.String data) throws com.liferay.portal.SystemException {
253 return getService()
254 .addValue(classNameId, tableId, columnId, classPK, data);
255 }
256
257 public static void deleteColumnValues(long columnId)
258 throws com.liferay.portal.SystemException {
259 getService().deleteColumnValues(columnId);
260 }
261
262 public static void deleteRowValues(long rowId)
263 throws com.liferay.portal.SystemException {
264 getService().deleteRowValues(rowId);
265 }
266
267 public static void deleteTableValues(long tableId)
268 throws com.liferay.portal.SystemException {
269 getService().deleteTableValues(tableId);
270 }
271
272 public static void deleteValue(long valueId)
273 throws com.liferay.portal.PortalException,
274 com.liferay.portal.SystemException {
275 getService().deleteValue(valueId);
276 }
277
278 public static void deleteValue(long columnId, long rowId)
279 throws com.liferay.portal.PortalException,
280 com.liferay.portal.SystemException {
281 getService().deleteValue(columnId, rowId);
282 }
283
284 public static void deleteValue(java.lang.String className,
285 java.lang.String tableName, java.lang.String columnName, long classPK)
286 throws com.liferay.portal.PortalException,
287 com.liferay.portal.SystemException {
288 getService().deleteValue(className, tableName, columnName, classPK);
289 }
290
291 public static void deleteValue(long classNameId,
292 java.lang.String tableName, java.lang.String columnName, long classPK)
293 throws com.liferay.portal.PortalException,
294 com.liferay.portal.SystemException {
295 getService().deleteValue(classNameId, tableName, columnName, classPK);
296 }
297
298 public static void deleteValues(java.lang.String className, long classPK)
299 throws com.liferay.portal.SystemException {
300 getService().deleteValues(className, classPK);
301 }
302
303 public static void deleteValues(long classNameId, long classPK)
304 throws com.liferay.portal.SystemException {
305 getService().deleteValues(classNameId, classPK);
306 }
307
308 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
309 long columnId, int start, int end)
310 throws com.liferay.portal.SystemException {
311 return getService().getColumnValues(columnId, start, end);
312 }
313
314 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
315 java.lang.String className, java.lang.String tableName,
316 java.lang.String columnName, int start, int end)
317 throws com.liferay.portal.SystemException {
318 return getService()
319 .getColumnValues(className, tableName, columnName, start, end);
320 }
321
322 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
323 long classNameId, java.lang.String tableName,
324 java.lang.String columnName, int start, int end)
325 throws com.liferay.portal.SystemException {
326 return getService()
327 .getColumnValues(classNameId, tableName, columnName, start,
328 end);
329 }
330
331 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
332 java.lang.String className, java.lang.String tableName,
333 java.lang.String columnName, java.lang.String data, int start, int end)
334 throws com.liferay.portal.SystemException {
335 return getService()
336 .getColumnValues(className, tableName, columnName, data,
337 start, end);
338 }
339
340 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
341 long classNameId, 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(classNameId, tableName, columnName, data,
346 start, end);
347 }
348
349 public static int getColumnValuesCount(long columnId)
350 throws com.liferay.portal.SystemException {
351 return getService().getColumnValuesCount(columnId);
352 }
353
354 public static int getColumnValuesCount(java.lang.String className,
355 java.lang.String tableName, java.lang.String columnName)
356 throws com.liferay.portal.SystemException {
357 return getService()
358 .getColumnValuesCount(className, tableName, columnName);
359 }
360
361 public static int getColumnValuesCount(long classNameId,
362 java.lang.String tableName, java.lang.String columnName)
363 throws com.liferay.portal.SystemException {
364 return getService()
365 .getColumnValuesCount(classNameId, tableName, columnName);
366 }
367
368 public static int getColumnValuesCount(java.lang.String className,
369 java.lang.String tableName, java.lang.String columnName,
370 java.lang.String data) throws com.liferay.portal.SystemException {
371 return getService()
372 .getColumnValuesCount(className, tableName, columnName, data);
373 }
374
375 public static int getColumnValuesCount(long classNameId,
376 java.lang.String tableName, java.lang.String columnName,
377 java.lang.String data) throws com.liferay.portal.SystemException {
378 return getService()
379 .getColumnValuesCount(classNameId, tableName, columnName,
380 data);
381 }
382
383 public static boolean getData(java.lang.String className,
384 java.lang.String tableName, java.lang.String columnName, long classPK,
385 boolean defaultData)
386 throws com.liferay.portal.PortalException,
387 com.liferay.portal.SystemException {
388 return getService()
389 .getData(className, tableName, columnName, classPK,
390 defaultData);
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 java.util.Date getData(java.lang.String className,
404 java.lang.String tableName, java.lang.String columnName, long classPK,
405 java.util.Date 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 double getData(java.lang.String className,
424 java.lang.String tableName, java.lang.String columnName, long classPK,
425 double 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 float getData(java.lang.String className,
444 java.lang.String tableName, java.lang.String columnName, long classPK,
445 float 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 int getData(java.lang.String className,
464 java.lang.String tableName, java.lang.String columnName, long classPK,
465 int 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 long getData(java.lang.String className,
484 java.lang.String tableName, java.lang.String columnName, long classPK,
485 long 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 short getData(java.lang.String className,
504 java.lang.String tableName, java.lang.String columnName, long classPK,
505 short 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 java.lang.String getData(java.lang.String className,
524 java.lang.String tableName, java.lang.String columnName, long classPK,
525 java.lang.String 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.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
544 java.lang.String className, java.lang.String columnName, int start,
545 int end) throws com.liferay.portal.SystemException {
546 return getService()
547 .getDefaultTableColumnValues(className, columnName, start,
548 end);
549 }
550
551 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
552 long classNameId, java.lang.String columnName, int start, int end)
553 throws com.liferay.portal.SystemException {
554 return getService()
555 .getDefaultTableColumnValues(classNameId, columnName, start,
556 end);
557 }
558
559 public static int getDefaultTableColumnValuesCount(
560 java.lang.String className, java.lang.String columnName)
561 throws com.liferay.portal.SystemException {
562 return getService()
563 .getDefaultTableColumnValuesCount(className, columnName);
564 }
565
566 public static int getDefaultTableColumnValuesCount(long classNameId,
567 java.lang.String columnName) throws com.liferay.portal.SystemException {
568 return getService()
569 .getDefaultTableColumnValuesCount(classNameId, columnName);
570 }
571
572 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
573 long rowId) throws com.liferay.portal.SystemException {
574 return getService().getRowValues(rowId);
575 }
576
577 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
578 long rowId, int start, int end)
579 throws com.liferay.portal.SystemException {
580 return getService().getRowValues(rowId, start, end);
581 }
582
583 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
584 java.lang.String className, java.lang.String tableName, long classPK,
585 int start, int end) throws com.liferay.portal.SystemException {
586 return getService()
587 .getRowValues(className, tableName, classPK, start, end);
588 }
589
590 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
591 long classNameId, java.lang.String tableName, long classPK, int start,
592 int end) throws com.liferay.portal.SystemException {
593 return getService()
594 .getRowValues(classNameId, tableName, classPK, start, end);
595 }
596
597 public static int getRowValuesCount(long rowId)
598 throws com.liferay.portal.SystemException {
599 return getService().getRowValuesCount(rowId);
600 }
601
602 public static int getRowValuesCount(java.lang.String className,
603 java.lang.String tableName, long classPK)
604 throws com.liferay.portal.SystemException {
605 return getService().getRowValuesCount(className, tableName, classPK);
606 }
607
608 public static int getRowValuesCount(long classNameId,
609 java.lang.String tableName, long classPK)
610 throws com.liferay.portal.SystemException {
611 return getService().getRowValuesCount(classNameId, tableName, classPK);
612 }
613
614 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
615 long valueId)
616 throws com.liferay.portal.PortalException,
617 com.liferay.portal.SystemException {
618 return getService().getValue(valueId);
619 }
620
621 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
622 long columnId, long rowId)
623 throws com.liferay.portal.PortalException,
624 com.liferay.portal.SystemException {
625 return getService().getValue(columnId, rowId);
626 }
627
628 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
629 java.lang.String className, java.lang.String tableName,
630 java.lang.String columnName, long classPK)
631 throws com.liferay.portal.SystemException {
632 return getService().getValue(className, tableName, columnName, classPK);
633 }
634
635 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
636 long classNameId, java.lang.String tableName,
637 java.lang.String columnName, long classPK)
638 throws com.liferay.portal.SystemException {
639 return getService().getValue(classNameId, tableName, columnName, classPK);
640 }
641
642 public static ExpandoValueLocalService getService() {
643 if (_service == null) {
644 throw new RuntimeException("ExpandoValueLocalService is not set");
645 }
646
647 return _service;
648 }
649
650 public void setService(ExpandoValueLocalService service) {
651 _service = service;
652 }
653
654 private static ExpandoValueLocalService _service;
655 }