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