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