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="ExpandoValueLocalService.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 interface defines the service. The default implementation is
36   * <code>com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl</code>.
37   * Modify methods in that class and rerun ServiceBuilder to populate this class
38   * and all other generated classes.
39   * </p>
40   *
41   * <p>
42   * 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.
43   * </p>
44   *
45   * @author Brian Wing Shun Chan
46   *
47   * @see com.liferay.portlet.expando.service.ExpandoValueLocalServiceFactory
48   * @see com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil
49   *
50   */
51  public interface ExpandoValueLocalService {
52      public com.liferay.portlet.expando.model.ExpandoValue addExpandoValue(
53          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
54          throws com.liferay.portal.SystemException;
55  
56      public void deleteExpandoValue(long valueId)
57          throws com.liferay.portal.SystemException,
58              com.liferay.portal.PortalException;
59  
60      public void deleteExpandoValue(
61          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
62          throws com.liferay.portal.SystemException;
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException;
67  
68      public java.util.List<Object> dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.SystemException;
71  
72      public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
73          long valueId)
74          throws com.liferay.portal.SystemException,
75              com.liferay.portal.PortalException;
76  
77      public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
78          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
79          throws com.liferay.portal.SystemException;
80  
81      public com.liferay.portlet.expando.model.ExpandoValue addValue(
82          java.lang.String className, java.lang.String tableName,
83          java.lang.String columnName, long classPK, boolean data)
84          throws com.liferay.portal.PortalException,
85              com.liferay.portal.SystemException;
86  
87      public com.liferay.portlet.expando.model.ExpandoValue addValue(
88          java.lang.String className, java.lang.String tableName,
89          java.lang.String columnName, long classPK, boolean[] data)
90          throws com.liferay.portal.PortalException,
91              com.liferay.portal.SystemException;
92  
93      public com.liferay.portlet.expando.model.ExpandoValue addValue(
94          java.lang.String className, java.lang.String tableName,
95          java.lang.String columnName, long classPK, java.util.Date data)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException;
98  
99      public com.liferay.portlet.expando.model.ExpandoValue addValue(
100         java.lang.String className, java.lang.String tableName,
101         java.lang.String columnName, long classPK, java.util.Date[] data)
102         throws com.liferay.portal.PortalException,
103             com.liferay.portal.SystemException;
104 
105     public com.liferay.portlet.expando.model.ExpandoValue addValue(
106         java.lang.String className, java.lang.String tableName,
107         java.lang.String columnName, long classPK, double data)
108         throws com.liferay.portal.PortalException,
109             com.liferay.portal.SystemException;
110 
111     public com.liferay.portlet.expando.model.ExpandoValue addValue(
112         java.lang.String className, java.lang.String tableName,
113         java.lang.String columnName, long classPK, double[] data)
114         throws com.liferay.portal.PortalException,
115             com.liferay.portal.SystemException;
116 
117     public com.liferay.portlet.expando.model.ExpandoValue addValue(
118         java.lang.String className, java.lang.String tableName,
119         java.lang.String columnName, long classPK, float data)
120         throws com.liferay.portal.PortalException,
121             com.liferay.portal.SystemException;
122 
123     public com.liferay.portlet.expando.model.ExpandoValue addValue(
124         java.lang.String className, java.lang.String tableName,
125         java.lang.String columnName, long classPK, float[] data)
126         throws com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException;
128 
129     public com.liferay.portlet.expando.model.ExpandoValue addValue(
130         java.lang.String className, java.lang.String tableName,
131         java.lang.String columnName, long classPK, int data)
132         throws com.liferay.portal.PortalException,
133             com.liferay.portal.SystemException;
134 
135     public com.liferay.portlet.expando.model.ExpandoValue addValue(
136         java.lang.String className, java.lang.String tableName,
137         java.lang.String columnName, long classPK, int[] data)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException;
140 
141     public com.liferay.portlet.expando.model.ExpandoValue addValue(
142         java.lang.String className, java.lang.String tableName,
143         java.lang.String columnName, long classPK, long data)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException;
146 
147     public com.liferay.portlet.expando.model.ExpandoValue addValue(
148         java.lang.String className, java.lang.String tableName,
149         java.lang.String columnName, long classPK, long[] data)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException;
152 
153     public com.liferay.portlet.expando.model.ExpandoValue addValue(
154         java.lang.String className, java.lang.String tableName,
155         java.lang.String columnName, long classPK, short data)
156         throws com.liferay.portal.PortalException,
157             com.liferay.portal.SystemException;
158 
159     public com.liferay.portlet.expando.model.ExpandoValue addValue(
160         java.lang.String className, java.lang.String tableName,
161         java.lang.String columnName, long classPK, short[] data)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException;
164 
165     public com.liferay.portlet.expando.model.ExpandoValue addValue(
166         java.lang.String className, java.lang.String tableName,
167         java.lang.String columnName, long classPK, java.lang.String data)
168         throws com.liferay.portal.PortalException,
169             com.liferay.portal.SystemException;
170 
171     public com.liferay.portlet.expando.model.ExpandoValue addValue(
172         java.lang.String className, java.lang.String tableName,
173         java.lang.String columnName, long classPK, java.lang.String[] data)
174         throws com.liferay.portal.PortalException,
175             com.liferay.portal.SystemException;
176 
177     public com.liferay.portlet.expando.model.ExpandoValue addValue(
178         long classNameId, long tableId, long columnId, long classPK,
179         java.lang.String data) throws com.liferay.portal.SystemException;
180 
181     public void deleteColumnValues(long columnId)
182         throws com.liferay.portal.SystemException;
183 
184     public void deleteRowValues(long rowId)
185         throws com.liferay.portal.SystemException;
186 
187     public void deleteTableValues(long tableId)
188         throws com.liferay.portal.SystemException;
189 
190     public void deleteValue(long valueId)
191         throws com.liferay.portal.PortalException,
192             com.liferay.portal.SystemException;
193 
194     public void deleteValue(long columnId, long rowId)
195         throws com.liferay.portal.PortalException,
196             com.liferay.portal.SystemException;
197 
198     public void deleteValue(java.lang.String className,
199         java.lang.String tableName, java.lang.String columnName, long classPK)
200         throws com.liferay.portal.PortalException,
201             com.liferay.portal.SystemException;
202 
203     public void deleteValue(long classNameId, java.lang.String tableName,
204         java.lang.String columnName, long classPK)
205         throws com.liferay.portal.PortalException,
206             com.liferay.portal.SystemException;
207 
208     public void deleteValues(java.lang.String className, long classPK)
209         throws com.liferay.portal.SystemException;
210 
211     public void deleteValues(long classNameId, long classPK)
212         throws com.liferay.portal.SystemException;
213 
214     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
215         long columnId, int start, int end)
216         throws com.liferay.portal.SystemException;
217 
218     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
219         java.lang.String className, java.lang.String tableName,
220         java.lang.String columnName, int start, int end)
221         throws com.liferay.portal.SystemException;
222 
223     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
224         long classNameId, java.lang.String tableName,
225         java.lang.String columnName, int start, int end)
226         throws com.liferay.portal.SystemException;
227 
228     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
229         java.lang.String className, java.lang.String tableName,
230         java.lang.String columnName, java.lang.String data, int start, int end)
231         throws com.liferay.portal.SystemException;
232 
233     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
234         long classNameId, java.lang.String tableName,
235         java.lang.String columnName, java.lang.String data, int start, int end)
236         throws com.liferay.portal.SystemException;
237 
238     public int getColumnValuesCount(long columnId)
239         throws com.liferay.portal.SystemException;
240 
241     public int getColumnValuesCount(java.lang.String className,
242         java.lang.String tableName, java.lang.String columnName)
243         throws com.liferay.portal.SystemException;
244 
245     public int getColumnValuesCount(long classNameId,
246         java.lang.String tableName, java.lang.String columnName)
247         throws com.liferay.portal.SystemException;
248 
249     public int getColumnValuesCount(java.lang.String className,
250         java.lang.String tableName, java.lang.String columnName,
251         java.lang.String data) throws com.liferay.portal.SystemException;
252 
253     public int getColumnValuesCount(long classNameId,
254         java.lang.String tableName, java.lang.String columnName,
255         java.lang.String data) throws com.liferay.portal.SystemException;
256 
257     public boolean getData(java.lang.String className,
258         java.lang.String tableName, java.lang.String columnName, long classPK,
259         boolean defaultData)
260         throws com.liferay.portal.PortalException,
261             com.liferay.portal.SystemException;
262 
263     public boolean[] getData(java.lang.String className,
264         java.lang.String tableName, java.lang.String columnName, long classPK,
265         boolean[] defaultData)
266         throws com.liferay.portal.PortalException,
267             com.liferay.portal.SystemException;
268 
269     public java.util.Date getData(java.lang.String className,
270         java.lang.String tableName, java.lang.String columnName, long classPK,
271         java.util.Date defaultData)
272         throws com.liferay.portal.PortalException,
273             com.liferay.portal.SystemException;
274 
275     public java.util.Date[] getData(java.lang.String className,
276         java.lang.String tableName, java.lang.String columnName, long classPK,
277         java.util.Date[] defaultData)
278         throws com.liferay.portal.PortalException,
279             com.liferay.portal.SystemException;
280 
281     public double getData(java.lang.String className,
282         java.lang.String tableName, java.lang.String columnName, long classPK,
283         double defaultData)
284         throws com.liferay.portal.PortalException,
285             com.liferay.portal.SystemException;
286 
287     public double[] getData(java.lang.String className,
288         java.lang.String tableName, java.lang.String columnName, long classPK,
289         double[] defaultData)
290         throws com.liferay.portal.PortalException,
291             com.liferay.portal.SystemException;
292 
293     public float getData(java.lang.String className,
294         java.lang.String tableName, java.lang.String columnName, long classPK,
295         float defaultData)
296         throws com.liferay.portal.PortalException,
297             com.liferay.portal.SystemException;
298 
299     public float[] getData(java.lang.String className,
300         java.lang.String tableName, java.lang.String columnName, long classPK,
301         float[] defaultData)
302         throws com.liferay.portal.PortalException,
303             com.liferay.portal.SystemException;
304 
305     public int getData(java.lang.String className, java.lang.String tableName,
306         java.lang.String columnName, long classPK, int defaultData)
307         throws com.liferay.portal.PortalException,
308             com.liferay.portal.SystemException;
309 
310     public int[] getData(java.lang.String className,
311         java.lang.String tableName, java.lang.String columnName, long classPK,
312         int[] defaultData)
313         throws com.liferay.portal.PortalException,
314             com.liferay.portal.SystemException;
315 
316     public long getData(java.lang.String className, java.lang.String tableName,
317         java.lang.String columnName, long classPK, long defaultData)
318         throws com.liferay.portal.PortalException,
319             com.liferay.portal.SystemException;
320 
321     public long[] getData(java.lang.String className,
322         java.lang.String tableName, java.lang.String columnName, long classPK,
323         long[] defaultData)
324         throws com.liferay.portal.PortalException,
325             com.liferay.portal.SystemException;
326 
327     public short getData(java.lang.String className,
328         java.lang.String tableName, java.lang.String columnName, long classPK,
329         short defaultData)
330         throws com.liferay.portal.PortalException,
331             com.liferay.portal.SystemException;
332 
333     public short[] getData(java.lang.String className,
334         java.lang.String tableName, java.lang.String columnName, long classPK,
335         short[] defaultData)
336         throws com.liferay.portal.PortalException,
337             com.liferay.portal.SystemException;
338 
339     public java.lang.String getData(java.lang.String className,
340         java.lang.String tableName, java.lang.String columnName, long classPK,
341         java.lang.String defaultData)
342         throws com.liferay.portal.PortalException,
343             com.liferay.portal.SystemException;
344 
345     public java.lang.String[] getData(java.lang.String className,
346         java.lang.String tableName, java.lang.String columnName, long classPK,
347         java.lang.String[] defaultData)
348         throws com.liferay.portal.PortalException,
349             com.liferay.portal.SystemException;
350 
351     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
352         java.lang.String className, java.lang.String columnName, int start,
353         int end) throws com.liferay.portal.SystemException;
354 
355     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
356         long classNameId, java.lang.String columnName, int start, int end)
357         throws com.liferay.portal.SystemException;
358 
359     public int getDefaultTableColumnValuesCount(java.lang.String className,
360         java.lang.String columnName) throws com.liferay.portal.SystemException;
361 
362     public int getDefaultTableColumnValuesCount(long classNameId,
363         java.lang.String columnName) throws com.liferay.portal.SystemException;
364 
365     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
366         long rowId) throws com.liferay.portal.SystemException;
367 
368     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
369         long rowId, int start, int end)
370         throws com.liferay.portal.SystemException;
371 
372     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
373         java.lang.String className, java.lang.String tableName, long classPK,
374         int start, int end) throws com.liferay.portal.SystemException;
375 
376     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
377         long classNameId, java.lang.String tableName, long classPK, int start,
378         int end) throws com.liferay.portal.SystemException;
379 
380     public int getRowValuesCount(long rowId)
381         throws com.liferay.portal.SystemException;
382 
383     public int getRowValuesCount(java.lang.String className,
384         java.lang.String tableName, long classPK)
385         throws com.liferay.portal.SystemException;
386 
387     public int getRowValuesCount(long classNameId, java.lang.String tableName,
388         long classPK) throws com.liferay.portal.SystemException;
389 
390     public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
391         throws com.liferay.portal.PortalException,
392             com.liferay.portal.SystemException;
393 
394     public com.liferay.portlet.expando.model.ExpandoValue getValue(
395         long columnId, long rowId)
396         throws com.liferay.portal.PortalException,
397             com.liferay.portal.SystemException;
398 
399     public com.liferay.portlet.expando.model.ExpandoValue getValue(
400         java.lang.String className, java.lang.String tableName,
401         java.lang.String columnName, long classPK)
402         throws com.liferay.portal.SystemException;
403 
404     public com.liferay.portlet.expando.model.ExpandoValue getValue(
405         long classNameId, java.lang.String tableName,
406         java.lang.String columnName, long classPK)
407         throws com.liferay.portal.SystemException;
408 }