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