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, java.lang.Object 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, short[] 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 com.liferay.portlet.expando.model.ExpandoValue addValue(
261 java.lang.String className, java.lang.String tableName,
262 java.lang.String columnName, long classPK, java.lang.String[] data)
263 throws com.liferay.portal.PortalException,
264 com.liferay.portal.SystemException {
265 return getService()
266 .addValue(className, tableName, columnName, classPK, data);
267 }
268
269 public static void addValues(long classNameId, long tableId,
270 java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
271 long classPK, java.util.Map<String, String> data)
272 throws com.liferay.portal.SystemException {
273 getService().addValues(classNameId, tableId, columns, classPK, data);
274 }
275
276 public static void deleteColumnValues(long columnId)
277 throws com.liferay.portal.SystemException {
278 getService().deleteColumnValues(columnId);
279 }
280
281 public static void deleteRowValues(long rowId)
282 throws com.liferay.portal.SystemException {
283 getService().deleteRowValues(rowId);
284 }
285
286 public static void deleteTableValues(long tableId)
287 throws com.liferay.portal.SystemException {
288 getService().deleteTableValues(tableId);
289 }
290
291 public static void deleteValue(long valueId)
292 throws com.liferay.portal.PortalException,
293 com.liferay.portal.SystemException {
294 getService().deleteValue(valueId);
295 }
296
297 public static void deleteValue(long columnId, long rowId)
298 throws com.liferay.portal.PortalException,
299 com.liferay.portal.SystemException {
300 getService().deleteValue(columnId, rowId);
301 }
302
303 public static void deleteValue(long classNameId,
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(classNameId, tableName, columnName, classPK);
308 }
309
310 public static void deleteValue(java.lang.String className,
311 java.lang.String tableName, java.lang.String columnName, long classPK)
312 throws com.liferay.portal.PortalException,
313 com.liferay.portal.SystemException {
314 getService().deleteValue(className, tableName, columnName, classPK);
315 }
316
317 public static void deleteValues(long classNameId, long classPK)
318 throws com.liferay.portal.SystemException {
319 getService().deleteValues(classNameId, classPK);
320 }
321
322 public static void deleteValues(java.lang.String className, long classPK)
323 throws com.liferay.portal.SystemException {
324 getService().deleteValues(className, classPK);
325 }
326
327 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
328 long columnId, int start, int end)
329 throws com.liferay.portal.SystemException {
330 return getService().getColumnValues(columnId, start, 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, int start, int end)
336 throws com.liferay.portal.SystemException {
337 return getService()
338 .getColumnValues(classNameId, tableName, columnName, start,
339 end);
340 }
341
342 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
343 long classNameId, java.lang.String tableName,
344 java.lang.String columnName, java.lang.String data, int start, int end)
345 throws com.liferay.portal.SystemException {
346 return getService()
347 .getColumnValues(classNameId, tableName, columnName, data,
348 start, end);
349 }
350
351 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
352 java.lang.String className, java.lang.String tableName,
353 java.lang.String columnName, int start, int end)
354 throws com.liferay.portal.SystemException {
355 return getService()
356 .getColumnValues(className, tableName, columnName, start, end);
357 }
358
359 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
360 java.lang.String className, java.lang.String tableName,
361 java.lang.String columnName, java.lang.String data, int start, int end)
362 throws com.liferay.portal.SystemException {
363 return getService()
364 .getColumnValues(className, tableName, columnName, data,
365 start, end);
366 }
367
368 public static int getColumnValuesCount(long columnId)
369 throws com.liferay.portal.SystemException {
370 return getService().getColumnValuesCount(columnId);
371 }
372
373 public static int getColumnValuesCount(long classNameId,
374 java.lang.String tableName, java.lang.String columnName)
375 throws com.liferay.portal.SystemException {
376 return getService()
377 .getColumnValuesCount(classNameId, tableName, columnName);
378 }
379
380 public static int getColumnValuesCount(long classNameId,
381 java.lang.String tableName, java.lang.String columnName,
382 java.lang.String data) throws com.liferay.portal.SystemException {
383 return getService()
384 .getColumnValuesCount(classNameId, tableName, columnName,
385 data);
386 }
387
388 public static int getColumnValuesCount(java.lang.String className,
389 java.lang.String tableName, java.lang.String columnName)
390 throws com.liferay.portal.SystemException {
391 return getService()
392 .getColumnValuesCount(className, tableName, columnName);
393 }
394
395 public static int getColumnValuesCount(java.lang.String className,
396 java.lang.String tableName, java.lang.String columnName,
397 java.lang.String data) throws com.liferay.portal.SystemException {
398 return getService()
399 .getColumnValuesCount(className, tableName, columnName, data);
400 }
401
402 public static java.io.Serializable getData(java.lang.String className,
403 java.lang.String tableName, java.lang.String columnName, long classPK)
404 throws com.liferay.portal.PortalException,
405 com.liferay.portal.SystemException {
406 return getService().getData(className, tableName, columnName, classPK);
407 }
408
409 public static boolean getData(java.lang.String className,
410 java.lang.String tableName, java.lang.String columnName, long classPK,
411 boolean defaultData)
412 throws com.liferay.portal.PortalException,
413 com.liferay.portal.SystemException {
414 return getService()
415 .getData(className, tableName, columnName, classPK,
416 defaultData);
417 }
418
419 public static boolean[] getData(java.lang.String className,
420 java.lang.String tableName, java.lang.String columnName, long classPK,
421 boolean[] defaultData)
422 throws com.liferay.portal.PortalException,
423 com.liferay.portal.SystemException {
424 return getService()
425 .getData(className, tableName, columnName, classPK,
426 defaultData);
427 }
428
429 public static java.util.Date getData(java.lang.String className,
430 java.lang.String tableName, java.lang.String columnName, long classPK,
431 java.util.Date defaultData)
432 throws com.liferay.portal.PortalException,
433 com.liferay.portal.SystemException {
434 return getService()
435 .getData(className, tableName, columnName, classPK,
436 defaultData);
437 }
438
439 public static java.util.Date[] getData(java.lang.String className,
440 java.lang.String tableName, java.lang.String columnName, long classPK,
441 java.util.Date[] defaultData)
442 throws com.liferay.portal.PortalException,
443 com.liferay.portal.SystemException {
444 return getService()
445 .getData(className, tableName, columnName, classPK,
446 defaultData);
447 }
448
449 public static double getData(java.lang.String className,
450 java.lang.String tableName, java.lang.String columnName, long classPK,
451 double defaultData)
452 throws com.liferay.portal.PortalException,
453 com.liferay.portal.SystemException {
454 return getService()
455 .getData(className, tableName, columnName, classPK,
456 defaultData);
457 }
458
459 public static double[] getData(java.lang.String className,
460 java.lang.String tableName, java.lang.String columnName, long classPK,
461 double[] defaultData)
462 throws com.liferay.portal.PortalException,
463 com.liferay.portal.SystemException {
464 return getService()
465 .getData(className, tableName, columnName, classPK,
466 defaultData);
467 }
468
469 public static float getData(java.lang.String className,
470 java.lang.String tableName, java.lang.String columnName, long classPK,
471 float defaultData)
472 throws com.liferay.portal.PortalException,
473 com.liferay.portal.SystemException {
474 return getService()
475 .getData(className, tableName, columnName, classPK,
476 defaultData);
477 }
478
479 public static float[] getData(java.lang.String className,
480 java.lang.String tableName, java.lang.String columnName, long classPK,
481 float[] defaultData)
482 throws com.liferay.portal.PortalException,
483 com.liferay.portal.SystemException {
484 return getService()
485 .getData(className, tableName, columnName, classPK,
486 defaultData);
487 }
488
489 public static int getData(java.lang.String className,
490 java.lang.String tableName, java.lang.String columnName, long classPK,
491 int defaultData)
492 throws com.liferay.portal.PortalException,
493 com.liferay.portal.SystemException {
494 return getService()
495 .getData(className, tableName, columnName, classPK,
496 defaultData);
497 }
498
499 public static int[] getData(java.lang.String className,
500 java.lang.String tableName, java.lang.String columnName, long classPK,
501 int[] defaultData)
502 throws com.liferay.portal.PortalException,
503 com.liferay.portal.SystemException {
504 return getService()
505 .getData(className, tableName, columnName, classPK,
506 defaultData);
507 }
508
509 public static long getData(java.lang.String className,
510 java.lang.String tableName, java.lang.String columnName, long classPK,
511 long defaultData)
512 throws com.liferay.portal.PortalException,
513 com.liferay.portal.SystemException {
514 return getService()
515 .getData(className, tableName, columnName, classPK,
516 defaultData);
517 }
518
519 public static long[] getData(java.lang.String className,
520 java.lang.String tableName, java.lang.String columnName, long classPK,
521 long[] defaultData)
522 throws com.liferay.portal.PortalException,
523 com.liferay.portal.SystemException {
524 return getService()
525 .getData(className, tableName, columnName, classPK,
526 defaultData);
527 }
528
529 public static short getData(java.lang.String className,
530 java.lang.String tableName, java.lang.String columnName, long classPK,
531 short defaultData)
532 throws com.liferay.portal.PortalException,
533 com.liferay.portal.SystemException {
534 return getService()
535 .getData(className, tableName, columnName, classPK,
536 defaultData);
537 }
538
539 public static short[] getData(java.lang.String className,
540 java.lang.String tableName, java.lang.String columnName, long classPK,
541 short[] defaultData)
542 throws com.liferay.portal.PortalException,
543 com.liferay.portal.SystemException {
544 return getService()
545 .getData(className, tableName, columnName, classPK,
546 defaultData);
547 }
548
549 public static java.lang.String getData(java.lang.String className,
550 java.lang.String tableName, java.lang.String columnName, long classPK,
551 java.lang.String defaultData)
552 throws com.liferay.portal.PortalException,
553 com.liferay.portal.SystemException {
554 return getService()
555 .getData(className, tableName, columnName, classPK,
556 defaultData);
557 }
558
559 public static java.lang.String[] getData(java.lang.String className,
560 java.lang.String tableName, java.lang.String columnName, long classPK,
561 java.lang.String[] defaultData)
562 throws com.liferay.portal.PortalException,
563 com.liferay.portal.SystemException {
564 return getService()
565 .getData(className, tableName, columnName, classPK,
566 defaultData);
567 }
568
569 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
570 long classNameId, java.lang.String columnName, int start, int end)
571 throws com.liferay.portal.SystemException {
572 return getService()
573 .getDefaultTableColumnValues(classNameId, columnName, start,
574 end);
575 }
576
577 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
578 java.lang.String className, java.lang.String columnName, int start,
579 int end) throws com.liferay.portal.SystemException {
580 return getService()
581 .getDefaultTableColumnValues(className, columnName, start,
582 end);
583 }
584
585 public static int getDefaultTableColumnValuesCount(long classNameId,
586 java.lang.String columnName) throws com.liferay.portal.SystemException {
587 return getService()
588 .getDefaultTableColumnValuesCount(classNameId, columnName);
589 }
590
591 public static int getDefaultTableColumnValuesCount(
592 java.lang.String className, java.lang.String columnName)
593 throws com.liferay.portal.SystemException {
594 return getService()
595 .getDefaultTableColumnValuesCount(className, columnName);
596 }
597
598 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
599 long rowId) throws com.liferay.portal.SystemException {
600 return getService().getRowValues(rowId);
601 }
602
603 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
604 long rowId, int start, int end)
605 throws com.liferay.portal.SystemException {
606 return getService().getRowValues(rowId, start, end);
607 }
608
609 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
610 long classNameId, java.lang.String tableName, long classPK, int start,
611 int end) throws com.liferay.portal.SystemException {
612 return getService()
613 .getRowValues(classNameId, tableName, classPK, start, end);
614 }
615
616 public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
617 java.lang.String className, java.lang.String tableName, long classPK,
618 int start, int end) throws com.liferay.portal.SystemException {
619 return getService()
620 .getRowValues(className, tableName, classPK, start, end);
621 }
622
623 public static int getRowValuesCount(long rowId)
624 throws com.liferay.portal.SystemException {
625 return getService().getRowValuesCount(rowId);
626 }
627
628 public static int getRowValuesCount(long classNameId,
629 java.lang.String tableName, long classPK)
630 throws com.liferay.portal.SystemException {
631 return getService().getRowValuesCount(classNameId, tableName, classPK);
632 }
633
634 public static int getRowValuesCount(java.lang.String className,
635 java.lang.String tableName, long classPK)
636 throws com.liferay.portal.SystemException {
637 return getService().getRowValuesCount(className, tableName, classPK);
638 }
639
640 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
641 long valueId)
642 throws com.liferay.portal.PortalException,
643 com.liferay.portal.SystemException {
644 return getService().getValue(valueId);
645 }
646
647 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
648 long columnId, long rowId)
649 throws com.liferay.portal.PortalException,
650 com.liferay.portal.SystemException {
651 return getService().getValue(columnId, rowId);
652 }
653
654 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
655 long tableId, long columnId, long classPK)
656 throws com.liferay.portal.SystemException {
657 return getService().getValue(tableId, columnId, classPK);
658 }
659
660 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
661 long classNameId, java.lang.String tableName,
662 java.lang.String columnName, long classPK)
663 throws com.liferay.portal.SystemException {
664 return getService().getValue(classNameId, tableName, columnName, classPK);
665 }
666
667 public static com.liferay.portlet.expando.model.ExpandoValue getValue(
668 java.lang.String className, java.lang.String tableName,
669 java.lang.String columnName, long classPK)
670 throws com.liferay.portal.SystemException {
671 return getService().getValue(className, tableName, columnName, classPK);
672 }
673
674 public static ExpandoValueLocalService getService() {
675 if (_service == null) {
676 throw new RuntimeException("ExpandoValueLocalService is not set");
677 }
678
679 return _service;
680 }
681
682 public void setService(ExpandoValueLocalService service) {
683 _service = service;
684 }
685
686 private static ExpandoValueLocalService _service;
687 }