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