1
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
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 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
74 public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
75 long valueId)
76 throws com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
81 int start, int end) throws com.liferay.portal.SystemException;
82
83 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
84 public int getExpandoValuesCount()
85 throws com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
88 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
89 throws com.liferay.portal.SystemException;
90
91 public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
92 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
93 boolean merge) throws com.liferay.portal.SystemException;
94
95 public com.liferay.portlet.expando.model.ExpandoValue addValue(
96 long classNameId, long tableId, long columnId, long classPK,
97 java.lang.String data) throws 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, boolean 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, boolean[] 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, java.util.Date 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, java.util.Date[] 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, double 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, double[] 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, float 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, float[] 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, int 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, int[] 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, long 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, long[] 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, short data)
174 throws com.liferay.portal.PortalException,
175 com.liferay.portal.SystemException;
176
177 public com.liferay.portlet.expando.model.ExpandoValue addValue(
178 java.lang.String className, java.lang.String tableName,
179 java.lang.String columnName, long classPK, short[] data)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException;
182
183 public com.liferay.portlet.expando.model.ExpandoValue addValue(
184 java.lang.String className, java.lang.String tableName,
185 java.lang.String columnName, long classPK, java.lang.String data)
186 throws com.liferay.portal.PortalException,
187 com.liferay.portal.SystemException;
188
189 public com.liferay.portlet.expando.model.ExpandoValue addValue(
190 java.lang.String className, java.lang.String tableName,
191 java.lang.String columnName, long classPK, java.lang.String[] data)
192 throws com.liferay.portal.PortalException,
193 com.liferay.portal.SystemException;
194
195 public void addValues(long classNameId, long tableId,
196 java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
197 long classPK, java.util.Map<String, String> data)
198 throws com.liferay.portal.SystemException;
199
200 public void deleteColumnValues(long columnId)
201 throws com.liferay.portal.SystemException;
202
203 public void deleteRowValues(long rowId)
204 throws com.liferay.portal.SystemException;
205
206 public void deleteTableValues(long tableId)
207 throws com.liferay.portal.SystemException;
208
209 public void deleteValue(long valueId)
210 throws com.liferay.portal.PortalException,
211 com.liferay.portal.SystemException;
212
213 public void deleteValue(long columnId, long rowId)
214 throws com.liferay.portal.PortalException,
215 com.liferay.portal.SystemException;
216
217 public void deleteValue(long classNameId, java.lang.String tableName,
218 java.lang.String columnName, long classPK)
219 throws com.liferay.portal.PortalException,
220 com.liferay.portal.SystemException;
221
222 public void deleteValue(java.lang.String className,
223 java.lang.String tableName, java.lang.String columnName, long classPK)
224 throws com.liferay.portal.PortalException,
225 com.liferay.portal.SystemException;
226
227 public void deleteValues(long classNameId, long classPK)
228 throws com.liferay.portal.SystemException;
229
230 public void deleteValues(java.lang.String className, long classPK)
231 throws com.liferay.portal.SystemException;
232
233 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
234 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
235 long columnId, int start, int end)
236 throws com.liferay.portal.SystemException;
237
238 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
239 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
240 long classNameId, java.lang.String tableName,
241 java.lang.String columnName, int start, int end)
242 throws com.liferay.portal.SystemException;
243
244 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
245 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
246 long classNameId, java.lang.String tableName,
247 java.lang.String columnName, java.lang.String data, int start, int end)
248 throws com.liferay.portal.SystemException;
249
250 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
251 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
252 java.lang.String className, java.lang.String tableName,
253 java.lang.String columnName, int start, int end)
254 throws com.liferay.portal.SystemException;
255
256 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
258 java.lang.String className, java.lang.String tableName,
259 java.lang.String columnName, java.lang.String data, int start, int end)
260 throws com.liferay.portal.SystemException;
261
262 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
263 public int getColumnValuesCount(long columnId)
264 throws com.liferay.portal.SystemException;
265
266 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
267 public int getColumnValuesCount(long classNameId,
268 java.lang.String tableName, java.lang.String columnName)
269 throws com.liferay.portal.SystemException;
270
271 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
272 public int getColumnValuesCount(long classNameId,
273 java.lang.String tableName, java.lang.String columnName,
274 java.lang.String data) throws com.liferay.portal.SystemException;
275
276 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
277 public int getColumnValuesCount(java.lang.String className,
278 java.lang.String tableName, java.lang.String columnName)
279 throws com.liferay.portal.SystemException;
280
281 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282 public int getColumnValuesCount(java.lang.String className,
283 java.lang.String tableName, java.lang.String columnName,
284 java.lang.String data) throws com.liferay.portal.SystemException;
285
286 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287 public boolean getData(java.lang.String className,
288 java.lang.String tableName, java.lang.String columnName, long classPK,
289 boolean defaultData)
290 throws com.liferay.portal.PortalException,
291 com.liferay.portal.SystemException;
292
293 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
294 public boolean[] getData(java.lang.String className,
295 java.lang.String tableName, java.lang.String columnName, long classPK,
296 boolean[] defaultData)
297 throws com.liferay.portal.PortalException,
298 com.liferay.portal.SystemException;
299
300 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301 public java.util.Date getData(java.lang.String className,
302 java.lang.String tableName, java.lang.String columnName, long classPK,
303 java.util.Date defaultData)
304 throws com.liferay.portal.PortalException,
305 com.liferay.portal.SystemException;
306
307 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
308 public java.util.Date[] getData(java.lang.String className,
309 java.lang.String tableName, java.lang.String columnName, long classPK,
310 java.util.Date[] defaultData)
311 throws com.liferay.portal.PortalException,
312 com.liferay.portal.SystemException;
313
314 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
315 public double getData(java.lang.String className,
316 java.lang.String tableName, java.lang.String columnName, long classPK,
317 double defaultData)
318 throws com.liferay.portal.PortalException,
319 com.liferay.portal.SystemException;
320
321 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
322 public double[] getData(java.lang.String className,
323 java.lang.String tableName, java.lang.String columnName, long classPK,
324 double[] defaultData)
325 throws com.liferay.portal.PortalException,
326 com.liferay.portal.SystemException;
327
328 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
329 public float getData(java.lang.String className,
330 java.lang.String tableName, java.lang.String columnName, long classPK,
331 float defaultData)
332 throws com.liferay.portal.PortalException,
333 com.liferay.portal.SystemException;
334
335 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336 public float[] getData(java.lang.String className,
337 java.lang.String tableName, java.lang.String columnName, long classPK,
338 float[] defaultData)
339 throws com.liferay.portal.PortalException,
340 com.liferay.portal.SystemException;
341
342 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
343 public int getData(java.lang.String className, java.lang.String tableName,
344 java.lang.String columnName, long classPK, int defaultData)
345 throws com.liferay.portal.PortalException,
346 com.liferay.portal.SystemException;
347
348 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
349 public int[] getData(java.lang.String className,
350 java.lang.String tableName, java.lang.String columnName, long classPK,
351 int[] defaultData)
352 throws com.liferay.portal.PortalException,
353 com.liferay.portal.SystemException;
354
355 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
356 public long getData(java.lang.String className, java.lang.String tableName,
357 java.lang.String columnName, long classPK, long defaultData)
358 throws com.liferay.portal.PortalException,
359 com.liferay.portal.SystemException;
360
361 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
362 public long[] getData(java.lang.String className,
363 java.lang.String tableName, java.lang.String columnName, long classPK,
364 long[] defaultData)
365 throws com.liferay.portal.PortalException,
366 com.liferay.portal.SystemException;
367
368 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
369 public short getData(java.lang.String className,
370 java.lang.String tableName, java.lang.String columnName, long classPK,
371 short defaultData)
372 throws com.liferay.portal.PortalException,
373 com.liferay.portal.SystemException;
374
375 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
376 public short[] getData(java.lang.String className,
377 java.lang.String tableName, java.lang.String columnName, long classPK,
378 short[] defaultData)
379 throws com.liferay.portal.PortalException,
380 com.liferay.portal.SystemException;
381
382 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
383 public java.lang.String getData(java.lang.String className,
384 java.lang.String tableName, java.lang.String columnName, long classPK,
385 java.lang.String defaultData)
386 throws com.liferay.portal.PortalException,
387 com.liferay.portal.SystemException;
388
389 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
390 public java.lang.String[] getData(java.lang.String className,
391 java.lang.String tableName, java.lang.String columnName, long classPK,
392 java.lang.String[] defaultData)
393 throws com.liferay.portal.PortalException,
394 com.liferay.portal.SystemException;
395
396 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
397 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
398 long classNameId, java.lang.String columnName, int start, int end)
399 throws com.liferay.portal.SystemException;
400
401 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
402 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
403 java.lang.String className, java.lang.String columnName, int start,
404 int end) throws com.liferay.portal.SystemException;
405
406 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407 public int getDefaultTableColumnValuesCount(long classNameId,
408 java.lang.String columnName) throws com.liferay.portal.SystemException;
409
410 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411 public int getDefaultTableColumnValuesCount(java.lang.String className,
412 java.lang.String columnName) throws com.liferay.portal.SystemException;
413
414 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
416 long rowId) throws com.liferay.portal.SystemException;
417
418 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
419 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
420 long rowId, 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> getRowValues(
425 long classNameId, java.lang.String tableName, long classPK, int start,
426 int end) throws com.liferay.portal.SystemException;
427
428 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
429 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
430 java.lang.String className, java.lang.String tableName, long classPK,
431 int start, int end) throws com.liferay.portal.SystemException;
432
433 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
434 public int getRowValuesCount(long rowId)
435 throws com.liferay.portal.SystemException;
436
437 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
438 public int getRowValuesCount(long classNameId, java.lang.String tableName,
439 long classPK) throws com.liferay.portal.SystemException;
440
441 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
442 public int getRowValuesCount(java.lang.String className,
443 java.lang.String tableName, long classPK)
444 throws com.liferay.portal.SystemException;
445
446 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447 public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
448 throws com.liferay.portal.PortalException,
449 com.liferay.portal.SystemException;
450
451 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452 public com.liferay.portlet.expando.model.ExpandoValue getValue(
453 long columnId, long rowId)
454 throws com.liferay.portal.PortalException,
455 com.liferay.portal.SystemException;
456
457 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
458 public com.liferay.portlet.expando.model.ExpandoValue getValue(
459 long tableId, long columnId, long classPK)
460 throws com.liferay.portal.SystemException;
461
462 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
463 public com.liferay.portlet.expando.model.ExpandoValue getValue(
464 long classNameId, java.lang.String tableName,
465 java.lang.String columnName, 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(
470 java.lang.String className, java.lang.String tableName,
471 java.lang.String columnName, long classPK)
472 throws com.liferay.portal.SystemException;
473 }