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