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