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 com.liferay.portlet.expando.model.ExpandoValue createExpandoValue(
56          long valueId);
57  
58      public void deleteExpandoValue(long valueId)
59          throws com.liferay.portal.SystemException,
60              com.liferay.portal.PortalException;
61  
62      public void deleteExpandoValue(
63          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
64          throws com.liferay.portal.SystemException;
65  
66      public java.util.List<Object> dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68          throws com.liferay.portal.SystemException;
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException;
73  
74      public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
75          long valueId)
76          throws com.liferay.portal.SystemException,
77              com.liferay.portal.PortalException;
78  
79      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
80          int start, int end) throws com.liferay.portal.SystemException;
81  
82      public int getExpandoValuesCount()
83          throws com.liferay.portal.SystemException;
84  
85      public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
86          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
87          throws com.liferay.portal.SystemException;
88  
89      public com.liferay.portlet.expando.model.ExpandoValue addValue(
90          java.lang.String className, java.lang.String tableName,
91          java.lang.String columnName, long classPK, boolean data)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException;
94  
95      public com.liferay.portlet.expando.model.ExpandoValue addValue(
96          java.lang.String className, java.lang.String tableName,
97          java.lang.String columnName, long classPK, boolean[] data)
98          throws com.liferay.portal.PortalException,
99              com.liferay.portal.SystemException;
100 
101     public com.liferay.portlet.expando.model.ExpandoValue addValue(
102         java.lang.String className, java.lang.String tableName,
103         java.lang.String columnName, long classPK, java.util.Date data)
104         throws com.liferay.portal.PortalException,
105             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, java.util.Date[] 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, double 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, double[] 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, float 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, float[] 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, int 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, int[] 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, long 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, long[] 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, short 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, short[] 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, java.lang.String 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.String[] data)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException;
184 
185     public com.liferay.portlet.expando.model.ExpandoValue addValue(
186         long classNameId, long tableId, long columnId, long classPK,
187         java.lang.String data) throws com.liferay.portal.SystemException;
188 
189     public void deleteColumnValues(long columnId)
190         throws com.liferay.portal.SystemException;
191 
192     public void deleteRowValues(long rowId)
193         throws com.liferay.portal.SystemException;
194 
195     public void deleteTableValues(long tableId)
196         throws com.liferay.portal.SystemException;
197 
198     public void deleteValue(long valueId)
199         throws com.liferay.portal.PortalException,
200             com.liferay.portal.SystemException;
201 
202     public void deleteValue(long columnId, long rowId)
203         throws com.liferay.portal.PortalException,
204             com.liferay.portal.SystemException;
205 
206     public void deleteValue(java.lang.String className,
207         java.lang.String tableName, java.lang.String columnName, long classPK)
208         throws com.liferay.portal.PortalException,
209             com.liferay.portal.SystemException;
210 
211     public void deleteValue(long classNameId, java.lang.String tableName,
212         java.lang.String columnName, long classPK)
213         throws com.liferay.portal.PortalException,
214             com.liferay.portal.SystemException;
215 
216     public void deleteValues(java.lang.String className, long classPK)
217         throws com.liferay.portal.SystemException;
218 
219     public void deleteValues(long classNameId, long classPK)
220         throws com.liferay.portal.SystemException;
221 
222     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
223         long columnId, int start, int end)
224         throws com.liferay.portal.SystemException;
225 
226     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
227         java.lang.String className, java.lang.String tableName,
228         java.lang.String columnName, int start, int end)
229         throws com.liferay.portal.SystemException;
230 
231     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
232         long classNameId, java.lang.String tableName,
233         java.lang.String columnName, int start, int end)
234         throws com.liferay.portal.SystemException;
235 
236     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
237         java.lang.String className, java.lang.String tableName,
238         java.lang.String columnName, java.lang.String data, int start, int end)
239         throws com.liferay.portal.SystemException;
240 
241     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
242         long classNameId, java.lang.String tableName,
243         java.lang.String columnName, java.lang.String data, int start, int end)
244         throws com.liferay.portal.SystemException;
245 
246     public int getColumnValuesCount(long columnId)
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         throws com.liferay.portal.SystemException;
252 
253     public int getColumnValuesCount(long classNameId,
254         java.lang.String tableName, java.lang.String columnName)
255         throws com.liferay.portal.SystemException;
256 
257     public int getColumnValuesCount(java.lang.String className,
258         java.lang.String tableName, java.lang.String columnName,
259         java.lang.String data) throws com.liferay.portal.SystemException;
260 
261     public int getColumnValuesCount(long classNameId,
262         java.lang.String tableName, java.lang.String columnName,
263         java.lang.String data) throws com.liferay.portal.SystemException;
264 
265     public boolean getData(java.lang.String className,
266         java.lang.String tableName, java.lang.String columnName, long classPK,
267         boolean defaultData)
268         throws com.liferay.portal.PortalException,
269             com.liferay.portal.SystemException;
270 
271     public boolean[] getData(java.lang.String className,
272         java.lang.String tableName, java.lang.String columnName, long classPK,
273         boolean[] defaultData)
274         throws com.liferay.portal.PortalException,
275             com.liferay.portal.SystemException;
276 
277     public java.util.Date getData(java.lang.String className,
278         java.lang.String tableName, java.lang.String columnName, long classPK,
279         java.util.Date defaultData)
280         throws com.liferay.portal.PortalException,
281             com.liferay.portal.SystemException;
282 
283     public java.util.Date[] getData(java.lang.String className,
284         java.lang.String tableName, java.lang.String columnName, long classPK,
285         java.util.Date[] defaultData)
286         throws com.liferay.portal.PortalException,
287             com.liferay.portal.SystemException;
288 
289     public double getData(java.lang.String className,
290         java.lang.String tableName, java.lang.String columnName, long classPK,
291         double defaultData)
292         throws com.liferay.portal.PortalException,
293             com.liferay.portal.SystemException;
294 
295     public double[] getData(java.lang.String className,
296         java.lang.String tableName, java.lang.String columnName, long classPK,
297         double[] defaultData)
298         throws com.liferay.portal.PortalException,
299             com.liferay.portal.SystemException;
300 
301     public float getData(java.lang.String className,
302         java.lang.String tableName, java.lang.String columnName, long classPK,
303         float defaultData)
304         throws com.liferay.portal.PortalException,
305             com.liferay.portal.SystemException;
306 
307     public float[] getData(java.lang.String className,
308         java.lang.String tableName, java.lang.String columnName, long classPK,
309         float[] defaultData)
310         throws com.liferay.portal.PortalException,
311             com.liferay.portal.SystemException;
312 
313     public int getData(java.lang.String className, java.lang.String tableName,
314         java.lang.String columnName, long classPK, int defaultData)
315         throws com.liferay.portal.PortalException,
316             com.liferay.portal.SystemException;
317 
318     public int[] getData(java.lang.String className,
319         java.lang.String tableName, java.lang.String columnName, long classPK,
320         int[] defaultData)
321         throws com.liferay.portal.PortalException,
322             com.liferay.portal.SystemException;
323 
324     public long getData(java.lang.String className, java.lang.String tableName,
325         java.lang.String columnName, long classPK, long defaultData)
326         throws com.liferay.portal.PortalException,
327             com.liferay.portal.SystemException;
328 
329     public long[] getData(java.lang.String className,
330         java.lang.String tableName, java.lang.String columnName, long classPK,
331         long[] defaultData)
332         throws com.liferay.portal.PortalException,
333             com.liferay.portal.SystemException;
334 
335     public short getData(java.lang.String className,
336         java.lang.String tableName, java.lang.String columnName, long classPK,
337         short defaultData)
338         throws com.liferay.portal.PortalException,
339             com.liferay.portal.SystemException;
340 
341     public short[] getData(java.lang.String className,
342         java.lang.String tableName, java.lang.String columnName, long classPK,
343         short[] defaultData)
344         throws com.liferay.portal.PortalException,
345             com.liferay.portal.SystemException;
346 
347     public java.lang.String getData(java.lang.String className,
348         java.lang.String tableName, java.lang.String columnName, long classPK,
349         java.lang.String defaultData)
350         throws com.liferay.portal.PortalException,
351             com.liferay.portal.SystemException;
352 
353     public java.lang.String[] getData(java.lang.String className,
354         java.lang.String tableName, java.lang.String columnName, long classPK,
355         java.lang.String[] defaultData)
356         throws com.liferay.portal.PortalException,
357             com.liferay.portal.SystemException;
358 
359     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
360         java.lang.String className, java.lang.String columnName, int start,
361         int end) throws com.liferay.portal.SystemException;
362 
363     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
364         long classNameId, java.lang.String columnName, int start, int end)
365         throws com.liferay.portal.SystemException;
366 
367     public int getDefaultTableColumnValuesCount(java.lang.String className,
368         java.lang.String columnName) throws com.liferay.portal.SystemException;
369 
370     public int getDefaultTableColumnValuesCount(long classNameId,
371         java.lang.String columnName) throws com.liferay.portal.SystemException;
372 
373     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
374         long rowId) throws com.liferay.portal.SystemException;
375 
376     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
377         long rowId, int start, int end)
378         throws com.liferay.portal.SystemException;
379 
380     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
381         java.lang.String className, java.lang.String tableName, long classPK,
382         int start, int end) throws com.liferay.portal.SystemException;
383 
384     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
385         long classNameId, java.lang.String tableName, long classPK, int start,
386         int end) throws com.liferay.portal.SystemException;
387 
388     public int getRowValuesCount(long rowId)
389         throws com.liferay.portal.SystemException;
390 
391     public int getRowValuesCount(java.lang.String className,
392         java.lang.String tableName, long classPK)
393         throws com.liferay.portal.SystemException;
394 
395     public int getRowValuesCount(long classNameId, java.lang.String tableName,
396         long classPK) throws com.liferay.portal.SystemException;
397 
398     public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
399         throws com.liferay.portal.PortalException,
400             com.liferay.portal.SystemException;
401 
402     public com.liferay.portlet.expando.model.ExpandoValue getValue(
403         long columnId, long rowId)
404         throws com.liferay.portal.PortalException,
405             com.liferay.portal.SystemException;
406 
407     public com.liferay.portlet.expando.model.ExpandoValue getValue(
408         java.lang.String className, java.lang.String tableName,
409         java.lang.String columnName, long classPK)
410         throws com.liferay.portal.SystemException;
411 
412     public com.liferay.portlet.expando.model.ExpandoValue getValue(
413         long classNameId, java.lang.String tableName,
414         java.lang.String columnName, long classPK)
415         throws com.liferay.portal.SystemException;
416 }