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