1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.expando.service;
24  
25  
26  /**
27   * <a href="ExpandoValueLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class provides static methods for the
36   * <code>com.liferay.portlet.expando.service.ExpandoValueLocalService</code>
37   * bean. The static methods of this class calls the same methods of the bean
38   * instance. It's convenient to be able to just write one line to call a method
39   * on a bean instead of writing a lookup call and a method call.
40   * </p>
41   *
42   * @author Brian Wing Shun Chan
43   *
44   * @see com.liferay.portlet.expando.service.ExpandoValueLocalService
45   *
46   */
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, short 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, java.lang.String 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 void addValues(long classNameId, long tableId,
264         java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
265         long classPK, java.util.Map<String, String> data)
266         throws com.liferay.portal.SystemException {
267         getService().addValues(classNameId, tableId, columns, classPK, data);
268     }
269 
270     public static void deleteColumnValues(long columnId)
271         throws com.liferay.portal.SystemException {
272         getService().deleteColumnValues(columnId);
273     }
274 
275     public static void deleteRowValues(long rowId)
276         throws com.liferay.portal.SystemException {
277         getService().deleteRowValues(rowId);
278     }
279 
280     public static void deleteTableValues(long tableId)
281         throws com.liferay.portal.SystemException {
282         getService().deleteTableValues(tableId);
283     }
284 
285     public static void deleteValue(long valueId)
286         throws com.liferay.portal.PortalException,
287             com.liferay.portal.SystemException {
288         getService().deleteValue(valueId);
289     }
290 
291     public static void deleteValue(long columnId, long rowId)
292         throws com.liferay.portal.PortalException,
293             com.liferay.portal.SystemException {
294         getService().deleteValue(columnId, rowId);
295     }
296 
297     public static void deleteValue(long classNameId,
298         java.lang.String tableName, java.lang.String columnName, long classPK)
299         throws com.liferay.portal.PortalException,
300             com.liferay.portal.SystemException {
301         getService().deleteValue(classNameId, tableName, columnName, classPK);
302     }
303 
304     public static void deleteValue(java.lang.String className,
305         java.lang.String tableName, java.lang.String columnName, long classPK)
306         throws com.liferay.portal.PortalException,
307             com.liferay.portal.SystemException {
308         getService().deleteValue(className, tableName, columnName, classPK);
309     }
310 
311     public static void deleteValues(long classNameId, long classPK)
312         throws com.liferay.portal.SystemException {
313         getService().deleteValues(classNameId, classPK);
314     }
315 
316     public static void deleteValues(java.lang.String className, long classPK)
317         throws com.liferay.portal.SystemException {
318         getService().deleteValues(className, classPK);
319     }
320 
321     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
322         long columnId, int start, int end)
323         throws com.liferay.portal.SystemException {
324         return getService().getColumnValues(columnId, start, end);
325     }
326 
327     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
328         long classNameId, java.lang.String tableName,
329         java.lang.String columnName, int start, int end)
330         throws com.liferay.portal.SystemException {
331         return getService()
332                    .getColumnValues(classNameId, tableName, columnName, start,
333             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, java.lang.String data, int start, int end)
339         throws com.liferay.portal.SystemException {
340         return getService()
341                    .getColumnValues(classNameId, tableName, columnName, data,
342             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, int start, int end)
348         throws com.liferay.portal.SystemException {
349         return getService()
350                    .getColumnValues(className, tableName, columnName, 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, java.lang.String data, int start, int end)
356         throws com.liferay.portal.SystemException {
357         return getService()
358                    .getColumnValues(className, tableName, columnName, data,
359             start, end);
360     }
361 
362     public static int getColumnValuesCount(long columnId)
363         throws com.liferay.portal.SystemException {
364         return getService().getColumnValuesCount(columnId);
365     }
366 
367     public static int getColumnValuesCount(long classNameId,
368         java.lang.String tableName, java.lang.String columnName)
369         throws com.liferay.portal.SystemException {
370         return getService()
371                    .getColumnValuesCount(classNameId, tableName, columnName);
372     }
373 
374     public static int getColumnValuesCount(long classNameId,
375         java.lang.String tableName, java.lang.String columnName,
376         java.lang.String data) throws com.liferay.portal.SystemException {
377         return getService()
378                    .getColumnValuesCount(classNameId, tableName, columnName,
379             data);
380     }
381 
382     public static int getColumnValuesCount(java.lang.String className,
383         java.lang.String tableName, java.lang.String columnName)
384         throws com.liferay.portal.SystemException {
385         return getService()
386                    .getColumnValuesCount(className, tableName, columnName);
387     }
388 
389     public static int getColumnValuesCount(java.lang.String className,
390         java.lang.String tableName, java.lang.String columnName,
391         java.lang.String data) throws com.liferay.portal.SystemException {
392         return getService()
393                    .getColumnValuesCount(className, tableName, columnName, data);
394     }
395 
396     public static boolean getData(java.lang.String className,
397         java.lang.String tableName, java.lang.String columnName, long classPK,
398         boolean defaultData)
399         throws com.liferay.portal.PortalException,
400             com.liferay.portal.SystemException {
401         return getService()
402                    .getData(className, tableName, columnName, classPK,
403             defaultData);
404     }
405 
406     public static boolean[] getData(java.lang.String className,
407         java.lang.String tableName, java.lang.String columnName, long classPK,
408         boolean[] defaultData)
409         throws com.liferay.portal.PortalException,
410             com.liferay.portal.SystemException {
411         return getService()
412                    .getData(className, tableName, columnName, classPK,
413             defaultData);
414     }
415 
416     public static java.util.Date getData(java.lang.String className,
417         java.lang.String tableName, java.lang.String columnName, long classPK,
418         java.util.Date defaultData)
419         throws com.liferay.portal.PortalException,
420             com.liferay.portal.SystemException {
421         return getService()
422                    .getData(className, tableName, columnName, classPK,
423             defaultData);
424     }
425 
426     public static java.util.Date[] getData(java.lang.String className,
427         java.lang.String tableName, java.lang.String columnName, long classPK,
428         java.util.Date[] defaultData)
429         throws com.liferay.portal.PortalException,
430             com.liferay.portal.SystemException {
431         return getService()
432                    .getData(className, tableName, columnName, classPK,
433             defaultData);
434     }
435 
436     public static double getData(java.lang.String className,
437         java.lang.String tableName, java.lang.String columnName, long classPK,
438         double defaultData)
439         throws com.liferay.portal.PortalException,
440             com.liferay.portal.SystemException {
441         return getService()
442                    .getData(className, tableName, columnName, classPK,
443             defaultData);
444     }
445 
446     public static double[] getData(java.lang.String className,
447         java.lang.String tableName, java.lang.String columnName, long classPK,
448         double[] defaultData)
449         throws com.liferay.portal.PortalException,
450             com.liferay.portal.SystemException {
451         return getService()
452                    .getData(className, tableName, columnName, classPK,
453             defaultData);
454     }
455 
456     public static float getData(java.lang.String className,
457         java.lang.String tableName, java.lang.String columnName, long classPK,
458         float defaultData)
459         throws com.liferay.portal.PortalException,
460             com.liferay.portal.SystemException {
461         return getService()
462                    .getData(className, tableName, columnName, classPK,
463             defaultData);
464     }
465 
466     public static float[] getData(java.lang.String className,
467         java.lang.String tableName, java.lang.String columnName, long classPK,
468         float[] defaultData)
469         throws com.liferay.portal.PortalException,
470             com.liferay.portal.SystemException {
471         return getService()
472                    .getData(className, tableName, columnName, classPK,
473             defaultData);
474     }
475 
476     public static int getData(java.lang.String className,
477         java.lang.String tableName, java.lang.String columnName, long classPK,
478         int defaultData)
479         throws com.liferay.portal.PortalException,
480             com.liferay.portal.SystemException {
481         return getService()
482                    .getData(className, tableName, columnName, classPK,
483             defaultData);
484     }
485 
486     public static int[] getData(java.lang.String className,
487         java.lang.String tableName, java.lang.String columnName, long classPK,
488         int[] defaultData)
489         throws com.liferay.portal.PortalException,
490             com.liferay.portal.SystemException {
491         return getService()
492                    .getData(className, tableName, columnName, classPK,
493             defaultData);
494     }
495 
496     public static long getData(java.lang.String className,
497         java.lang.String tableName, java.lang.String columnName, long classPK,
498         long defaultData)
499         throws com.liferay.portal.PortalException,
500             com.liferay.portal.SystemException {
501         return getService()
502                    .getData(className, tableName, columnName, classPK,
503             defaultData);
504     }
505 
506     public static long[] getData(java.lang.String className,
507         java.lang.String tableName, java.lang.String columnName, long classPK,
508         long[] defaultData)
509         throws com.liferay.portal.PortalException,
510             com.liferay.portal.SystemException {
511         return getService()
512                    .getData(className, tableName, columnName, classPK,
513             defaultData);
514     }
515 
516     public static short getData(java.lang.String className,
517         java.lang.String tableName, java.lang.String columnName, long classPK,
518         short defaultData)
519         throws com.liferay.portal.PortalException,
520             com.liferay.portal.SystemException {
521         return getService()
522                    .getData(className, tableName, columnName, classPK,
523             defaultData);
524     }
525 
526     public static short[] getData(java.lang.String className,
527         java.lang.String tableName, java.lang.String columnName, long classPK,
528         short[] defaultData)
529         throws com.liferay.portal.PortalException,
530             com.liferay.portal.SystemException {
531         return getService()
532                    .getData(className, tableName, columnName, classPK,
533             defaultData);
534     }
535 
536     public static java.lang.String getData(java.lang.String className,
537         java.lang.String tableName, java.lang.String columnName, long classPK,
538         java.lang.String defaultData)
539         throws com.liferay.portal.PortalException,
540             com.liferay.portal.SystemException {
541         return getService()
542                    .getData(className, tableName, columnName, classPK,
543             defaultData);
544     }
545 
546     public static java.lang.String[] getData(java.lang.String className,
547         java.lang.String tableName, java.lang.String columnName, long classPK,
548         java.lang.String[] defaultData)
549         throws com.liferay.portal.PortalException,
550             com.liferay.portal.SystemException {
551         return getService()
552                    .getData(className, tableName, columnName, classPK,
553             defaultData);
554     }
555 
556     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
557         long classNameId, java.lang.String columnName, int start, int end)
558         throws com.liferay.portal.SystemException {
559         return getService()
560                    .getDefaultTableColumnValues(classNameId, columnName, start,
561             end);
562     }
563 
564     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
565         java.lang.String className, java.lang.String columnName, int start,
566         int end) throws com.liferay.portal.SystemException {
567         return getService()
568                    .getDefaultTableColumnValues(className, columnName, start,
569             end);
570     }
571 
572     public static int getDefaultTableColumnValuesCount(long classNameId,
573         java.lang.String columnName) throws com.liferay.portal.SystemException {
574         return getService()
575                    .getDefaultTableColumnValuesCount(classNameId, columnName);
576     }
577 
578     public static int getDefaultTableColumnValuesCount(
579         java.lang.String className, java.lang.String columnName)
580         throws com.liferay.portal.SystemException {
581         return getService()
582                    .getDefaultTableColumnValuesCount(className, columnName);
583     }
584 
585     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
586         long rowId) throws com.liferay.portal.SystemException {
587         return getService().getRowValues(rowId);
588     }
589 
590     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
591         long rowId, int start, int end)
592         throws com.liferay.portal.SystemException {
593         return getService().getRowValues(rowId, start, end);
594     }
595 
596     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
597         long classNameId, java.lang.String tableName, long classPK, int start,
598         int end) throws com.liferay.portal.SystemException {
599         return getService()
600                    .getRowValues(classNameId, tableName, classPK, start, end);
601     }
602 
603     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
604         java.lang.String className, java.lang.String tableName, long classPK,
605         int start, int end) throws com.liferay.portal.SystemException {
606         return getService()
607                    .getRowValues(className, tableName, classPK, start, end);
608     }
609 
610     public static int getRowValuesCount(long rowId)
611         throws com.liferay.portal.SystemException {
612         return getService().getRowValuesCount(rowId);
613     }
614 
615     public static int getRowValuesCount(long classNameId,
616         java.lang.String tableName, long classPK)
617         throws com.liferay.portal.SystemException {
618         return getService().getRowValuesCount(classNameId, tableName, classPK);
619     }
620 
621     public static int getRowValuesCount(java.lang.String className,
622         java.lang.String tableName, long classPK)
623         throws com.liferay.portal.SystemException {
624         return getService().getRowValuesCount(className, tableName, classPK);
625     }
626 
627     public static com.liferay.portlet.expando.model.ExpandoValue getValue(
628         long valueId)
629         throws com.liferay.portal.PortalException,
630             com.liferay.portal.SystemException {
631         return getService().getValue(valueId);
632     }
633 
634     public static com.liferay.portlet.expando.model.ExpandoValue getValue(
635         long columnId, long rowId)
636         throws com.liferay.portal.PortalException,
637             com.liferay.portal.SystemException {
638         return getService().getValue(columnId, rowId);
639     }
640 
641     public static com.liferay.portlet.expando.model.ExpandoValue getValue(
642         long tableId, long columnId, long classPK)
643         throws com.liferay.portal.SystemException {
644         return getService().getValue(tableId, columnId, classPK);
645     }
646 
647     public static com.liferay.portlet.expando.model.ExpandoValue getValue(
648         long classNameId, java.lang.String tableName,
649         java.lang.String columnName, long classPK)
650         throws com.liferay.portal.SystemException {
651         return getService().getValue(classNameId, tableName, columnName, classPK);
652     }
653 
654     public static com.liferay.portlet.expando.model.ExpandoValue getValue(
655         java.lang.String className, java.lang.String tableName,
656         java.lang.String columnName, long classPK)
657         throws com.liferay.portal.SystemException {
658         return getService().getValue(className, tableName, columnName, classPK);
659     }
660 
661     public static ExpandoValueLocalService getService() {
662         if (_service == null) {
663             throw new RuntimeException("ExpandoValueLocalService is not set");
664         }
665 
666         return _service;
667     }
668 
669     public void setService(ExpandoValueLocalService service) {
670         _service = service;
671     }
672 
673     private static ExpandoValueLocalService _service;
674 }