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      public java.util.List<Object> dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.SystemException;
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException;
72  
73      public java.util.List<Object> dynamicQuery(
74          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75          int end,
76          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77          throws com.liferay.portal.SystemException;
78  
79      public int dynamicQueryCount(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
81          throws com.liferay.portal.SystemException;
82  
83      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
84      public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
85          long valueId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException;
88  
89      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
90      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
91          int start, int end) throws com.liferay.portal.SystemException;
92  
93      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
94      public int getExpandoValuesCount()
95          throws com.liferay.portal.SystemException;
96  
97      public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
98          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
99          throws com.liferay.portal.SystemException;
100 
101     public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
102         com.liferay.portlet.expando.model.ExpandoValue expandoValue,
103         boolean merge) throws com.liferay.portal.SystemException;
104 
105     public com.liferay.portlet.expando.model.ExpandoValue addValue(
106         long classNameId, long tableId, long columnId, long classPK,
107         java.lang.String data) throws com.liferay.portal.SystemException;
108 
109     public 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 
115     public com.liferay.portlet.expando.model.ExpandoValue addValue(
116         java.lang.String className, java.lang.String tableName,
117         java.lang.String columnName, long classPK, boolean[] data)
118         throws com.liferay.portal.PortalException,
119             com.liferay.portal.SystemException;
120 
121     public com.liferay.portlet.expando.model.ExpandoValue addValue(
122         java.lang.String className, java.lang.String tableName,
123         java.lang.String columnName, long classPK, java.util.Date data)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException;
126 
127     public com.liferay.portlet.expando.model.ExpandoValue addValue(
128         java.lang.String className, java.lang.String tableName,
129         java.lang.String columnName, long classPK, java.util.Date[] data)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException;
132 
133     public 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 
139     public com.liferay.portlet.expando.model.ExpandoValue addValue(
140         java.lang.String className, java.lang.String tableName,
141         java.lang.String columnName, long classPK, double[] data)
142         throws com.liferay.portal.PortalException,
143             com.liferay.portal.SystemException;
144 
145     public com.liferay.portlet.expando.model.ExpandoValue addValue(
146         java.lang.String className, java.lang.String tableName,
147         java.lang.String columnName, long classPK, float data)
148         throws com.liferay.portal.PortalException,
149             com.liferay.portal.SystemException;
150 
151     public com.liferay.portlet.expando.model.ExpandoValue addValue(
152         java.lang.String className, java.lang.String tableName,
153         java.lang.String columnName, long classPK, float[] data)
154         throws com.liferay.portal.PortalException,
155             com.liferay.portal.SystemException;
156 
157     public com.liferay.portlet.expando.model.ExpandoValue addValue(
158         java.lang.String className, java.lang.String tableName,
159         java.lang.String columnName, long classPK, int data)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException;
162 
163     public com.liferay.portlet.expando.model.ExpandoValue addValue(
164         java.lang.String className, java.lang.String tableName,
165         java.lang.String columnName, long classPK, int[] data)
166         throws com.liferay.portal.PortalException,
167             com.liferay.portal.SystemException;
168 
169     public com.liferay.portlet.expando.model.ExpandoValue addValue(
170         java.lang.String className, java.lang.String tableName,
171         java.lang.String columnName, long classPK, long data)
172         throws com.liferay.portal.PortalException,
173             com.liferay.portal.SystemException;
174 
175     public com.liferay.portlet.expando.model.ExpandoValue addValue(
176         java.lang.String className, java.lang.String tableName,
177         java.lang.String columnName, long classPK, long[] data)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException;
180 
181     public com.liferay.portlet.expando.model.ExpandoValue addValue(
182         java.lang.String className, java.lang.String tableName,
183         java.lang.String columnName, long classPK, java.lang.Object data)
184         throws com.liferay.portal.PortalException,
185             com.liferay.portal.SystemException;
186 
187     public com.liferay.portlet.expando.model.ExpandoValue addValue(
188         java.lang.String className, java.lang.String tableName,
189         java.lang.String columnName, long classPK, short data)
190         throws com.liferay.portal.PortalException,
191             com.liferay.portal.SystemException;
192 
193     public com.liferay.portlet.expando.model.ExpandoValue addValue(
194         java.lang.String className, java.lang.String tableName,
195         java.lang.String columnName, long classPK, short[] data)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException;
198 
199     public com.liferay.portlet.expando.model.ExpandoValue addValue(
200         java.lang.String className, java.lang.String tableName,
201         java.lang.String columnName, long classPK, java.lang.String data)
202         throws com.liferay.portal.PortalException,
203             com.liferay.portal.SystemException;
204 
205     public com.liferay.portlet.expando.model.ExpandoValue addValue(
206         java.lang.String className, java.lang.String tableName,
207         java.lang.String columnName, long classPK, java.lang.String[] data)
208         throws com.liferay.portal.PortalException,
209             com.liferay.portal.SystemException;
210 
211     public void addValues(long classNameId, long tableId,
212         java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
213         long classPK, java.util.Map<String, String> data)
214         throws com.liferay.portal.SystemException;
215 
216     public void deleteColumnValues(long columnId)
217         throws com.liferay.portal.SystemException;
218 
219     public void deleteRowValues(long rowId)
220         throws com.liferay.portal.SystemException;
221 
222     public void deleteTableValues(long tableId)
223         throws com.liferay.portal.SystemException;
224 
225     public void deleteValue(long valueId)
226         throws com.liferay.portal.PortalException,
227             com.liferay.portal.SystemException;
228 
229     public void deleteValue(long columnId, long rowId)
230         throws com.liferay.portal.PortalException,
231             com.liferay.portal.SystemException;
232 
233     public void deleteValue(long classNameId, java.lang.String tableName,
234         java.lang.String columnName, long classPK)
235         throws com.liferay.portal.PortalException,
236             com.liferay.portal.SystemException;
237 
238     public void deleteValue(java.lang.String className,
239         java.lang.String tableName, java.lang.String columnName, long classPK)
240         throws com.liferay.portal.PortalException,
241             com.liferay.portal.SystemException;
242 
243     public void deleteValues(long classNameId, long classPK)
244         throws com.liferay.portal.SystemException;
245 
246     public void deleteValues(java.lang.String className, long classPK)
247         throws com.liferay.portal.SystemException;
248 
249     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
250     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
251         long columnId, int start, int end)
252         throws com.liferay.portal.SystemException;
253 
254     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
255     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
256         long classNameId, java.lang.String tableName,
257         java.lang.String columnName, int start, int end)
258         throws com.liferay.portal.SystemException;
259 
260     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
261     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
262         long classNameId, java.lang.String tableName,
263         java.lang.String columnName, java.lang.String data, int start, int end)
264         throws com.liferay.portal.SystemException;
265 
266     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
267     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
268         java.lang.String className, java.lang.String tableName,
269         java.lang.String columnName, int start, int end)
270         throws com.liferay.portal.SystemException;
271 
272     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
273     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
274         java.lang.String className, java.lang.String tableName,
275         java.lang.String columnName, java.lang.String data, int start, int end)
276         throws com.liferay.portal.SystemException;
277 
278     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
279     public int getColumnValuesCount(long columnId)
280         throws com.liferay.portal.SystemException;
281 
282     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283     public int getColumnValuesCount(long classNameId,
284         java.lang.String tableName, java.lang.String columnName)
285         throws com.liferay.portal.SystemException;
286 
287     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
288     public int getColumnValuesCount(long classNameId,
289         java.lang.String tableName, java.lang.String columnName,
290         java.lang.String data) throws com.liferay.portal.SystemException;
291 
292     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
293     public int getColumnValuesCount(java.lang.String className,
294         java.lang.String tableName, java.lang.String columnName)
295         throws com.liferay.portal.SystemException;
296 
297     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
298     public int getColumnValuesCount(java.lang.String className,
299         java.lang.String tableName, java.lang.String columnName,
300         java.lang.String data) throws com.liferay.portal.SystemException;
301 
302     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
303     public java.io.Serializable getData(java.lang.String className,
304         java.lang.String tableName, java.lang.String columnName, long classPK)
305         throws com.liferay.portal.PortalException,
306             com.liferay.portal.SystemException;
307 
308     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
309     public boolean getData(java.lang.String className,
310         java.lang.String tableName, java.lang.String columnName, long classPK,
311         boolean defaultData)
312         throws com.liferay.portal.PortalException,
313             com.liferay.portal.SystemException;
314 
315     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
316     public boolean[] getData(java.lang.String className,
317         java.lang.String tableName, java.lang.String columnName, long classPK,
318         boolean[] defaultData)
319         throws com.liferay.portal.PortalException,
320             com.liferay.portal.SystemException;
321 
322     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
323     public java.util.Date getData(java.lang.String className,
324         java.lang.String tableName, java.lang.String columnName, long classPK,
325         java.util.Date defaultData)
326         throws com.liferay.portal.PortalException,
327             com.liferay.portal.SystemException;
328 
329     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
330     public java.util.Date[] getData(java.lang.String className,
331         java.lang.String tableName, java.lang.String columnName, long classPK,
332         java.util.Date[] defaultData)
333         throws com.liferay.portal.PortalException,
334             com.liferay.portal.SystemException;
335 
336     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
337     public double getData(java.lang.String className,
338         java.lang.String tableName, java.lang.String columnName, long classPK,
339         double defaultData)
340         throws com.liferay.portal.PortalException,
341             com.liferay.portal.SystemException;
342 
343     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344     public double[] getData(java.lang.String className,
345         java.lang.String tableName, java.lang.String columnName, long classPK,
346         double[] defaultData)
347         throws com.liferay.portal.PortalException,
348             com.liferay.portal.SystemException;
349 
350     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
351     public float getData(java.lang.String className,
352         java.lang.String tableName, java.lang.String columnName, long classPK,
353         float defaultData)
354         throws com.liferay.portal.PortalException,
355             com.liferay.portal.SystemException;
356 
357     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
358     public float[] getData(java.lang.String className,
359         java.lang.String tableName, java.lang.String columnName, long classPK,
360         float[] defaultData)
361         throws com.liferay.portal.PortalException,
362             com.liferay.portal.SystemException;
363 
364     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
365     public int getData(java.lang.String className, java.lang.String tableName,
366         java.lang.String columnName, long classPK, int defaultData)
367         throws com.liferay.portal.PortalException,
368             com.liferay.portal.SystemException;
369 
370     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
371     public int[] getData(java.lang.String className,
372         java.lang.String tableName, java.lang.String columnName, long classPK,
373         int[] defaultData)
374         throws com.liferay.portal.PortalException,
375             com.liferay.portal.SystemException;
376 
377     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
378     public long getData(java.lang.String className, java.lang.String tableName,
379         java.lang.String columnName, long classPK, long defaultData)
380         throws com.liferay.portal.PortalException,
381             com.liferay.portal.SystemException;
382 
383     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
384     public long[] getData(java.lang.String className,
385         java.lang.String tableName, java.lang.String columnName, long classPK,
386         long[] defaultData)
387         throws com.liferay.portal.PortalException,
388             com.liferay.portal.SystemException;
389 
390     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
391     public short getData(java.lang.String className,
392         java.lang.String tableName, java.lang.String columnName, long classPK,
393         short defaultData)
394         throws com.liferay.portal.PortalException,
395             com.liferay.portal.SystemException;
396 
397     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
398     public short[] getData(java.lang.String className,
399         java.lang.String tableName, java.lang.String columnName, long classPK,
400         short[] defaultData)
401         throws com.liferay.portal.PortalException,
402             com.liferay.portal.SystemException;
403 
404     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
405     public java.lang.String getData(java.lang.String className,
406         java.lang.String tableName, java.lang.String columnName, long classPK,
407         java.lang.String defaultData)
408         throws com.liferay.portal.PortalException,
409             com.liferay.portal.SystemException;
410 
411     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
412     public java.lang.String[] getData(java.lang.String className,
413         java.lang.String tableName, java.lang.String columnName, long classPK,
414         java.lang.String[] defaultData)
415         throws com.liferay.portal.PortalException,
416             com.liferay.portal.SystemException;
417 
418     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
419     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
420         long classNameId, java.lang.String columnName, int start, int end)
421         throws com.liferay.portal.SystemException;
422 
423     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
424     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
425         java.lang.String className, java.lang.String columnName, int start,
426         int end) throws com.liferay.portal.SystemException;
427 
428     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
429     public int getDefaultTableColumnValuesCount(long classNameId,
430         java.lang.String columnName) throws com.liferay.portal.SystemException;
431 
432     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
433     public int getDefaultTableColumnValuesCount(java.lang.String className,
434         java.lang.String columnName) throws com.liferay.portal.SystemException;
435 
436     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
438         long rowId) throws com.liferay.portal.SystemException;
439 
440     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
441     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
442         long rowId, int start, int end)
443         throws com.liferay.portal.SystemException;
444 
445     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
446     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
447         long classNameId, java.lang.String tableName, long classPK, int start,
448         int end) throws com.liferay.portal.SystemException;
449 
450     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
451     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
452         java.lang.String className, java.lang.String tableName, long classPK,
453         int start, int end) throws com.liferay.portal.SystemException;
454 
455     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456     public int getRowValuesCount(long rowId)
457         throws com.liferay.portal.SystemException;
458 
459     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
460     public int getRowValuesCount(long classNameId, java.lang.String tableName,
461         long classPK) throws com.liferay.portal.SystemException;
462 
463     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
464     public int getRowValuesCount(java.lang.String className,
465         java.lang.String tableName, long classPK)
466         throws com.liferay.portal.SystemException;
467 
468     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
469     public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
470         throws com.liferay.portal.PortalException,
471             com.liferay.portal.SystemException;
472 
473     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
474     public com.liferay.portlet.expando.model.ExpandoValue getValue(
475         long columnId, long rowId)
476         throws com.liferay.portal.PortalException,
477             com.liferay.portal.SystemException;
478 
479     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
480     public com.liferay.portlet.expando.model.ExpandoValue getValue(
481         long tableId, long columnId, long classPK)
482         throws com.liferay.portal.SystemException;
483 
484     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
485     public com.liferay.portlet.expando.model.ExpandoValue getValue(
486         long classNameId, java.lang.String tableName,
487         java.lang.String columnName, long classPK)
488         throws com.liferay.portal.SystemException;
489 
490     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
491     public com.liferay.portlet.expando.model.ExpandoValue getValue(
492         java.lang.String className, java.lang.String tableName,
493         java.lang.String columnName, long classPK)
494         throws com.liferay.portal.SystemException;
495 }