1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.expando.service;
16  
17  import com.liferay.portal.PortalException;
18  import com.liferay.portal.SystemException;
19  import com.liferay.portal.kernel.annotation.Isolation;
20  import com.liferay.portal.kernel.annotation.Propagation;
21  import com.liferay.portal.kernel.annotation.Transactional;
22  
23  /**
24   * <a href="ExpandoValueLocalService.java.html"><b><i>View Source</i></b></a>
25   *
26   * <p>
27   * ServiceBuilder generated this class. Modifications in this class will be
28   * overwritten the next time is generated.
29   * </p>
30   *
31   * <p>
32   * This interface defines the service. The default implementation is
33   * {@link
34   * com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl}}.
35   * Modify methods in that class and rerun ServiceBuilder to populate this class
36   * and all other generated classes.
37   * </p>
38   *
39   * <p>
40   * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
41   * </p>
42   *
43   * @author    Brian Wing Shun Chan
44   * @see       ExpandoValueLocalServiceUtil
45   * @generated
46   */
47  @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
48      PortalException.class, SystemException.class})
49  public interface ExpandoValueLocalService {
50      public com.liferay.portlet.expando.model.ExpandoValue addExpandoValue(
51          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
52          throws com.liferay.portal.SystemException;
53  
54      public com.liferay.portlet.expando.model.ExpandoValue createExpandoValue(
55          long valueId);
56  
57      public void deleteExpandoValue(long valueId)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException;
60  
61      public void deleteExpandoValue(
62          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
63          throws com.liferay.portal.SystemException;
64  
65      @SuppressWarnings("rawtypes")
66      public java.util.List dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68          throws com.liferay.portal.SystemException;
69  
70      @SuppressWarnings("rawtypes")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.SystemException;
74  
75      @SuppressWarnings("rawtypes")
76      public java.util.List dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.SystemException;
81  
82      public int dynamicQueryCount(
83          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
84          throws com.liferay.portal.SystemException;
85  
86      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87      public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
88          long valueId)
89          throws com.liferay.portal.PortalException,
90              com.liferay.portal.SystemException;
91  
92      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
93      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
94          int start, int end) throws com.liferay.portal.SystemException;
95  
96      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
97      public int getExpandoValuesCount()
98          throws com.liferay.portal.SystemException;
99  
100     public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
101         com.liferay.portlet.expando.model.ExpandoValue expandoValue)
102         throws com.liferay.portal.SystemException;
103 
104     public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
105         com.liferay.portlet.expando.model.ExpandoValue expandoValue,
106         boolean merge) throws com.liferay.portal.SystemException;
107 
108     public com.liferay.portlet.expando.model.ExpandoValue addValue(
109         long classNameId, long tableId, long columnId, long classPK,
110         java.lang.String data) throws com.liferay.portal.SystemException;
111 
112     public com.liferay.portlet.expando.model.ExpandoValue addValue(
113         java.lang.String className, java.lang.String tableName,
114         java.lang.String columnName, long classPK, boolean data)
115         throws com.liferay.portal.PortalException,
116             com.liferay.portal.SystemException;
117 
118     public com.liferay.portlet.expando.model.ExpandoValue addValue(
119         java.lang.String className, java.lang.String tableName,
120         java.lang.String columnName, long classPK, boolean[] data)
121         throws com.liferay.portal.PortalException,
122             com.liferay.portal.SystemException;
123 
124     public com.liferay.portlet.expando.model.ExpandoValue addValue(
125         java.lang.String className, java.lang.String tableName,
126         java.lang.String columnName, long classPK, java.util.Date data)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException;
129 
130     public com.liferay.portlet.expando.model.ExpandoValue addValue(
131         java.lang.String className, java.lang.String tableName,
132         java.lang.String columnName, long classPK, java.util.Date[] data)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException;
135 
136     public com.liferay.portlet.expando.model.ExpandoValue addValue(
137         java.lang.String className, java.lang.String tableName,
138         java.lang.String columnName, long classPK, double data)
139         throws com.liferay.portal.PortalException,
140             com.liferay.portal.SystemException;
141 
142     public com.liferay.portlet.expando.model.ExpandoValue addValue(
143         java.lang.String className, java.lang.String tableName,
144         java.lang.String columnName, long classPK, double[] data)
145         throws com.liferay.portal.PortalException,
146             com.liferay.portal.SystemException;
147 
148     public com.liferay.portlet.expando.model.ExpandoValue addValue(
149         java.lang.String className, java.lang.String tableName,
150         java.lang.String columnName, long classPK, float data)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException;
153 
154     public com.liferay.portlet.expando.model.ExpandoValue addValue(
155         java.lang.String className, java.lang.String tableName,
156         java.lang.String columnName, long classPK, float[] data)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException;
159 
160     public com.liferay.portlet.expando.model.ExpandoValue addValue(
161         java.lang.String className, java.lang.String tableName,
162         java.lang.String columnName, long classPK, int data)
163         throws com.liferay.portal.PortalException,
164             com.liferay.portal.SystemException;
165 
166     public com.liferay.portlet.expando.model.ExpandoValue addValue(
167         java.lang.String className, java.lang.String tableName,
168         java.lang.String columnName, long classPK, int[] data)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException;
171 
172     public com.liferay.portlet.expando.model.ExpandoValue addValue(
173         java.lang.String className, java.lang.String tableName,
174         java.lang.String columnName, long classPK, long data)
175         throws com.liferay.portal.PortalException,
176             com.liferay.portal.SystemException;
177 
178     public com.liferay.portlet.expando.model.ExpandoValue addValue(
179         java.lang.String className, java.lang.String tableName,
180         java.lang.String columnName, long classPK, long[] data)
181         throws com.liferay.portal.PortalException,
182             com.liferay.portal.SystemException;
183 
184     public com.liferay.portlet.expando.model.ExpandoValue addValue(
185         java.lang.String className, java.lang.String tableName,
186         java.lang.String columnName, long classPK, java.lang.Object data)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException;
189 
190     public com.liferay.portlet.expando.model.ExpandoValue addValue(
191         java.lang.String className, java.lang.String tableName,
192         java.lang.String columnName, long classPK, short data)
193         throws com.liferay.portal.PortalException,
194             com.liferay.portal.SystemException;
195 
196     public com.liferay.portlet.expando.model.ExpandoValue addValue(
197         java.lang.String className, java.lang.String tableName,
198         java.lang.String columnName, long classPK, short[] data)
199         throws com.liferay.portal.PortalException,
200             com.liferay.portal.SystemException;
201 
202     public com.liferay.portlet.expando.model.ExpandoValue addValue(
203         java.lang.String className, java.lang.String tableName,
204         java.lang.String columnName, long classPK, java.lang.String data)
205         throws com.liferay.portal.PortalException,
206             com.liferay.portal.SystemException;
207 
208     public com.liferay.portlet.expando.model.ExpandoValue addValue(
209         java.lang.String className, java.lang.String tableName,
210         java.lang.String columnName, long classPK, java.lang.String[] data)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException;
213 
214     public void addValues(long classNameId, long tableId,
215         java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
216         long classPK, java.util.Map<java.lang.String, java.lang.String> data)
217         throws com.liferay.portal.SystemException;
218 
219     public void deleteColumnValues(long columnId)
220         throws com.liferay.portal.SystemException;
221 
222     public void deleteRowValues(long rowId)
223         throws com.liferay.portal.SystemException;
224 
225     public void deleteTableValues(long tableId)
226         throws com.liferay.portal.SystemException;
227 
228     public void deleteValue(long valueId)
229         throws com.liferay.portal.PortalException,
230             com.liferay.portal.SystemException;
231 
232     public void deleteValue(long columnId, long rowId)
233         throws com.liferay.portal.PortalException,
234             com.liferay.portal.SystemException;
235 
236     public void deleteValue(long classNameId, java.lang.String tableName,
237         java.lang.String columnName, long classPK)
238         throws com.liferay.portal.PortalException,
239             com.liferay.portal.SystemException;
240 
241     public void deleteValue(java.lang.String className,
242         java.lang.String tableName, java.lang.String columnName, long classPK)
243         throws com.liferay.portal.PortalException,
244             com.liferay.portal.SystemException;
245 
246     public void deleteValues(long classNameId, long classPK)
247         throws com.liferay.portal.SystemException;
248 
249     public void deleteValues(java.lang.String className, long classPK)
250         throws com.liferay.portal.SystemException;
251 
252     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
254         long columnId, int start, int end)
255         throws com.liferay.portal.SystemException;
256 
257     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
258     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
259         long classNameId, java.lang.String tableName,
260         java.lang.String columnName, int start, int end)
261         throws com.liferay.portal.SystemException;
262 
263     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
264     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
265         long classNameId, java.lang.String tableName,
266         java.lang.String columnName, java.lang.String data, int start, int end)
267         throws com.liferay.portal.SystemException;
268 
269     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
270     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
271         java.lang.String className, java.lang.String tableName,
272         java.lang.String columnName, int start, int end)
273         throws com.liferay.portal.SystemException;
274 
275     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
276     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
277         java.lang.String className, java.lang.String tableName,
278         java.lang.String columnName, java.lang.String data, int start, int end)
279         throws com.liferay.portal.SystemException;
280 
281     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282     public int getColumnValuesCount(long columnId)
283         throws com.liferay.portal.SystemException;
284 
285     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
286     public int getColumnValuesCount(long classNameId,
287         java.lang.String tableName, java.lang.String columnName)
288         throws com.liferay.portal.SystemException;
289 
290     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
291     public int getColumnValuesCount(long classNameId,
292         java.lang.String tableName, java.lang.String columnName,
293         java.lang.String data) throws com.liferay.portal.SystemException;
294 
295     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
296     public int getColumnValuesCount(java.lang.String className,
297         java.lang.String tableName, java.lang.String columnName)
298         throws com.liferay.portal.SystemException;
299 
300     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301     public int getColumnValuesCount(java.lang.String className,
302         java.lang.String tableName, java.lang.String columnName,
303         java.lang.String data) throws com.liferay.portal.SystemException;
304 
305     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306     public java.io.Serializable getData(java.lang.String className,
307         java.lang.String tableName, java.lang.String columnName, long classPK)
308         throws com.liferay.portal.PortalException,
309             com.liferay.portal.SystemException;
310 
311     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
312     public boolean getData(java.lang.String className,
313         java.lang.String tableName, java.lang.String columnName, long classPK,
314         boolean defaultData)
315         throws com.liferay.portal.PortalException,
316             com.liferay.portal.SystemException;
317 
318     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
319     public boolean[] getData(java.lang.String className,
320         java.lang.String tableName, java.lang.String columnName, long classPK,
321         boolean[] defaultData)
322         throws com.liferay.portal.PortalException,
323             com.liferay.portal.SystemException;
324 
325     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
326     public java.util.Date getData(java.lang.String className,
327         java.lang.String tableName, java.lang.String columnName, long classPK,
328         java.util.Date defaultData)
329         throws com.liferay.portal.PortalException,
330             com.liferay.portal.SystemException;
331 
332     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
333     public java.util.Date[] getData(java.lang.String className,
334         java.lang.String tableName, java.lang.String columnName, long classPK,
335         java.util.Date[] defaultData)
336         throws com.liferay.portal.PortalException,
337             com.liferay.portal.SystemException;
338 
339     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
340     public double getData(java.lang.String className,
341         java.lang.String tableName, java.lang.String columnName, long classPK,
342         double defaultData)
343         throws com.liferay.portal.PortalException,
344             com.liferay.portal.SystemException;
345 
346     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
347     public double[] getData(java.lang.String className,
348         java.lang.String tableName, java.lang.String columnName, long classPK,
349         double[] defaultData)
350         throws com.liferay.portal.PortalException,
351             com.liferay.portal.SystemException;
352 
353     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
354     public float getData(java.lang.String className,
355         java.lang.String tableName, java.lang.String columnName, long classPK,
356         float defaultData)
357         throws com.liferay.portal.PortalException,
358             com.liferay.portal.SystemException;
359 
360     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
361     public float[] getData(java.lang.String className,
362         java.lang.String tableName, java.lang.String columnName, long classPK,
363         float[] defaultData)
364         throws com.liferay.portal.PortalException,
365             com.liferay.portal.SystemException;
366 
367     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
368     public int getData(java.lang.String className, java.lang.String tableName,
369         java.lang.String columnName, long classPK, int defaultData)
370         throws com.liferay.portal.PortalException,
371             com.liferay.portal.SystemException;
372 
373     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
374     public int[] getData(java.lang.String className,
375         java.lang.String tableName, java.lang.String columnName, long classPK,
376         int[] defaultData)
377         throws com.liferay.portal.PortalException,
378             com.liferay.portal.SystemException;
379 
380     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
381     public long getData(java.lang.String className, java.lang.String tableName,
382         java.lang.String columnName, long classPK, long defaultData)
383         throws com.liferay.portal.PortalException,
384             com.liferay.portal.SystemException;
385 
386     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
387     public long[] getData(java.lang.String className,
388         java.lang.String tableName, java.lang.String columnName, long classPK,
389         long[] defaultData)
390         throws com.liferay.portal.PortalException,
391             com.liferay.portal.SystemException;
392 
393     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394     public short getData(java.lang.String className,
395         java.lang.String tableName, java.lang.String columnName, long classPK,
396         short defaultData)
397         throws com.liferay.portal.PortalException,
398             com.liferay.portal.SystemException;
399 
400     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
401     public short[] getData(java.lang.String className,
402         java.lang.String tableName, java.lang.String columnName, long classPK,
403         short[] defaultData)
404         throws com.liferay.portal.PortalException,
405             com.liferay.portal.SystemException;
406 
407     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
408     public java.lang.String getData(java.lang.String className,
409         java.lang.String tableName, java.lang.String columnName, long classPK,
410         java.lang.String defaultData)
411         throws com.liferay.portal.PortalException,
412             com.liferay.portal.SystemException;
413 
414     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415     public java.lang.String[] getData(java.lang.String className,
416         java.lang.String tableName, java.lang.String columnName, long classPK,
417         java.lang.String[] defaultData)
418         throws com.liferay.portal.PortalException,
419             com.liferay.portal.SystemException;
420 
421     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
423         long classNameId, java.lang.String columnName, int start, int end)
424         throws com.liferay.portal.SystemException;
425 
426     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
427     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
428         java.lang.String className, java.lang.String columnName, int start,
429         int end) throws com.liferay.portal.SystemException;
430 
431     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
432     public int getDefaultTableColumnValuesCount(long classNameId,
433         java.lang.String columnName) throws com.liferay.portal.SystemException;
434 
435     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
436     public int getDefaultTableColumnValuesCount(java.lang.String className,
437         java.lang.String columnName) throws com.liferay.portal.SystemException;
438 
439     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
441         long rowId) throws com.liferay.portal.SystemException;
442 
443     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
444     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
445         long rowId, int start, int end)
446         throws com.liferay.portal.SystemException;
447 
448     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
449     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
450         long classNameId, java.lang.String tableName, long classPK, int start,
451         int end) throws com.liferay.portal.SystemException;
452 
453     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
454     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
455         java.lang.String className, java.lang.String tableName, long classPK,
456         int start, int end) throws com.liferay.portal.SystemException;
457 
458     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
459     public int getRowValuesCount(long rowId)
460         throws com.liferay.portal.SystemException;
461 
462     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
463     public int getRowValuesCount(long classNameId, java.lang.String tableName,
464         long classPK) throws com.liferay.portal.SystemException;
465 
466     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
467     public int getRowValuesCount(java.lang.String className,
468         java.lang.String tableName, long classPK)
469         throws com.liferay.portal.SystemException;
470 
471     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
472     public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
473         throws com.liferay.portal.PortalException,
474             com.liferay.portal.SystemException;
475 
476     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
477     public com.liferay.portlet.expando.model.ExpandoValue getValue(
478         long columnId, long rowId)
479         throws com.liferay.portal.PortalException,
480             com.liferay.portal.SystemException;
481 
482     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
483     public com.liferay.portlet.expando.model.ExpandoValue getValue(
484         long tableId, long columnId, long classPK)
485         throws com.liferay.portal.SystemException;
486 
487     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
488     public com.liferay.portlet.expando.model.ExpandoValue getValue(
489         long classNameId, java.lang.String tableName,
490         java.lang.String columnName, long classPK)
491         throws com.liferay.portal.SystemException;
492 
493     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
494     public com.liferay.portlet.expando.model.ExpandoValue getValue(
495         java.lang.String className, java.lang.String tableName,
496         java.lang.String columnName, long classPK)
497         throws com.liferay.portal.SystemException;
498 }