1
19
20 package com.liferay.portlet.expando.service;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Isolation;
25 import com.liferay.portal.kernel.annotation.Propagation;
26 import com.liferay.portal.kernel.annotation.Transactional;
27
28
52 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
53 PortalException.class, SystemException.class})
54 public interface ExpandoValueLocalService {
55 public com.liferay.portlet.expando.model.ExpandoValue addExpandoValue(
56 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
57 throws com.liferay.portal.SystemException;
58
59 public com.liferay.portlet.expando.model.ExpandoValue createExpandoValue(
60 long valueId);
61
62 public void deleteExpandoValue(long valueId)
63 throws com.liferay.portal.SystemException,
64 com.liferay.portal.PortalException;
65
66 public void deleteExpandoValue(
67 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List<Object> dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end) throws com.liferay.portal.SystemException;
77
78 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
79 public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
80 long valueId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portal.PortalException;
83
84 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
85 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
86 int start, int end) throws com.liferay.portal.SystemException;
87
88 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
89 public int getExpandoValuesCount()
90 throws com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
93 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
94 throws com.liferay.portal.SystemException;
95
96 public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
97 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
98 boolean merge) throws com.liferay.portal.SystemException;
99
100 public com.liferay.portlet.expando.model.ExpandoValue addValue(
101 long classNameId, long tableId, long columnId, long classPK,
102 java.lang.String data) throws 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, boolean 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, boolean[] 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, java.util.Date 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, java.util.Date[] 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, double 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, double[] 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, float 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, float[] 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, int 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, int[] 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, long 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, long[] 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, short data)
179 throws com.liferay.portal.PortalException,
180 com.liferay.portal.SystemException;
181
182 public com.liferay.portlet.expando.model.ExpandoValue addValue(
183 java.lang.String className, java.lang.String tableName,
184 java.lang.String columnName, long classPK, short[] data)
185 throws com.liferay.portal.PortalException,
186 com.liferay.portal.SystemException;
187
188 public com.liferay.portlet.expando.model.ExpandoValue addValue(
189 java.lang.String className, java.lang.String tableName,
190 java.lang.String columnName, long classPK, java.lang.String data)
191 throws com.liferay.portal.PortalException,
192 com.liferay.portal.SystemException;
193
194 public com.liferay.portlet.expando.model.ExpandoValue addValue(
195 java.lang.String className, java.lang.String tableName,
196 java.lang.String columnName, long classPK, java.lang.String[] data)
197 throws com.liferay.portal.PortalException,
198 com.liferay.portal.SystemException;
199
200 public void addValues(long classNameId, long tableId,
201 java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
202 long classPK, java.util.Map<String, String> data)
203 throws com.liferay.portal.SystemException;
204
205 public void deleteColumnValues(long columnId)
206 throws com.liferay.portal.SystemException;
207
208 public void deleteRowValues(long rowId)
209 throws com.liferay.portal.SystemException;
210
211 public void deleteTableValues(long tableId)
212 throws com.liferay.portal.SystemException;
213
214 public void deleteValue(long valueId)
215 throws com.liferay.portal.PortalException,
216 com.liferay.portal.SystemException;
217
218 public void deleteValue(long columnId, long rowId)
219 throws com.liferay.portal.PortalException,
220 com.liferay.portal.SystemException;
221
222 public void deleteValue(long classNameId, java.lang.String tableName,
223 java.lang.String columnName, long classPK)
224 throws com.liferay.portal.PortalException,
225 com.liferay.portal.SystemException;
226
227 public void deleteValue(java.lang.String className,
228 java.lang.String tableName, java.lang.String columnName, long classPK)
229 throws com.liferay.portal.PortalException,
230 com.liferay.portal.SystemException;
231
232 public void deleteValues(long classNameId, long classPK)
233 throws com.liferay.portal.SystemException;
234
235 public void deleteValues(java.lang.String className, long classPK)
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 columnId, int start, int end)
241 throws com.liferay.portal.SystemException;
242
243 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
245 long classNameId, java.lang.String tableName,
246 java.lang.String columnName, int start, int end)
247 throws com.liferay.portal.SystemException;
248
249 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
250 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
251 long classNameId, java.lang.String tableName,
252 java.lang.String columnName, java.lang.String data, int start, int end)
253 throws com.liferay.portal.SystemException;
254
255 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
256 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
257 java.lang.String className, java.lang.String tableName,
258 java.lang.String columnName, int start, int end)
259 throws com.liferay.portal.SystemException;
260
261 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
262 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
263 java.lang.String className, java.lang.String tableName,
264 java.lang.String columnName, java.lang.String data, int start, int end)
265 throws com.liferay.portal.SystemException;
266
267 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
268 public int getColumnValuesCount(long columnId)
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 throws com.liferay.portal.SystemException;
275
276 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
277 public int getColumnValuesCount(long classNameId,
278 java.lang.String tableName, java.lang.String columnName,
279 java.lang.String data) 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 throws com.liferay.portal.SystemException;
285
286 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287 public int getColumnValuesCount(java.lang.String className,
288 java.lang.String tableName, java.lang.String columnName,
289 java.lang.String data) throws com.liferay.portal.SystemException;
290
291 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
292 public boolean getData(java.lang.String className,
293 java.lang.String tableName, java.lang.String columnName, long classPK,
294 boolean defaultData)
295 throws com.liferay.portal.PortalException,
296 com.liferay.portal.SystemException;
297
298 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299 public boolean[] getData(java.lang.String className,
300 java.lang.String tableName, java.lang.String columnName, long classPK,
301 boolean[] defaultData)
302 throws com.liferay.portal.PortalException,
303 com.liferay.portal.SystemException;
304
305 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306 public java.util.Date getData(java.lang.String className,
307 java.lang.String tableName, java.lang.String columnName, long classPK,
308 java.util.Date defaultData)
309 throws com.liferay.portal.PortalException,
310 com.liferay.portal.SystemException;
311
312 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
313 public java.util.Date[] getData(java.lang.String className,
314 java.lang.String tableName, java.lang.String columnName, long classPK,
315 java.util.Date[] defaultData)
316 throws com.liferay.portal.PortalException,
317 com.liferay.portal.SystemException;
318
319 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
320 public double getData(java.lang.String className,
321 java.lang.String tableName, java.lang.String columnName, long classPK,
322 double defaultData)
323 throws com.liferay.portal.PortalException,
324 com.liferay.portal.SystemException;
325
326 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
327 public double[] getData(java.lang.String className,
328 java.lang.String tableName, java.lang.String columnName, long classPK,
329 double[] defaultData)
330 throws com.liferay.portal.PortalException,
331 com.liferay.portal.SystemException;
332
333 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
334 public float getData(java.lang.String className,
335 java.lang.String tableName, java.lang.String columnName, long classPK,
336 float defaultData)
337 throws com.liferay.portal.PortalException,
338 com.liferay.portal.SystemException;
339
340 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
341 public float[] getData(java.lang.String className,
342 java.lang.String tableName, java.lang.String columnName, long classPK,
343 float[] defaultData)
344 throws com.liferay.portal.PortalException,
345 com.liferay.portal.SystemException;
346
347 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348 public int getData(java.lang.String className, java.lang.String tableName,
349 java.lang.String columnName, long classPK, int defaultData)
350 throws com.liferay.portal.PortalException,
351 com.liferay.portal.SystemException;
352
353 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
354 public int[] getData(java.lang.String className,
355 java.lang.String tableName, java.lang.String columnName, long classPK,
356 int[] defaultData)
357 throws com.liferay.portal.PortalException,
358 com.liferay.portal.SystemException;
359
360 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
361 public long getData(java.lang.String className, java.lang.String tableName,
362 java.lang.String columnName, long classPK, long defaultData)
363 throws com.liferay.portal.PortalException,
364 com.liferay.portal.SystemException;
365
366 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
367 public long[] getData(java.lang.String className,
368 java.lang.String tableName, java.lang.String columnName, long classPK,
369 long[] defaultData)
370 throws com.liferay.portal.PortalException,
371 com.liferay.portal.SystemException;
372
373 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
374 public short getData(java.lang.String className,
375 java.lang.String tableName, java.lang.String columnName, long classPK,
376 short defaultData)
377 throws com.liferay.portal.PortalException,
378 com.liferay.portal.SystemException;
379
380 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
381 public short[] getData(java.lang.String className,
382 java.lang.String tableName, java.lang.String columnName, long classPK,
383 short[] defaultData)
384 throws com.liferay.portal.PortalException,
385 com.liferay.portal.SystemException;
386
387 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
388 public java.lang.String getData(java.lang.String className,
389 java.lang.String tableName, java.lang.String columnName, long classPK,
390 java.lang.String defaultData)
391 throws com.liferay.portal.PortalException,
392 com.liferay.portal.SystemException;
393
394 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
395 public java.lang.String[] getData(java.lang.String className,
396 java.lang.String tableName, java.lang.String columnName, long classPK,
397 java.lang.String[] defaultData)
398 throws com.liferay.portal.PortalException,
399 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 long classNameId, java.lang.String columnName, int start, int end)
404 throws com.liferay.portal.SystemException;
405
406 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
408 java.lang.String className, java.lang.String columnName, int start,
409 int end) throws com.liferay.portal.SystemException;
410
411 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
412 public int getDefaultTableColumnValuesCount(long classNameId,
413 java.lang.String columnName) throws com.liferay.portal.SystemException;
414
415 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
416 public int getDefaultTableColumnValuesCount(java.lang.String className,
417 java.lang.String columnName) throws com.liferay.portal.SystemException;
418
419 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
420 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
421 long rowId) 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 rowId, int start, int end)
426 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 long classNameId, java.lang.String tableName, long classPK, int start,
431 int end) throws com.liferay.portal.SystemException;
432
433 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
434 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
435 java.lang.String className, java.lang.String tableName, long classPK,
436 int start, int end) throws com.liferay.portal.SystemException;
437
438 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
439 public int getRowValuesCount(long rowId)
440 throws com.liferay.portal.SystemException;
441
442 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
443 public int getRowValuesCount(long classNameId, java.lang.String tableName,
444 long classPK) throws com.liferay.portal.SystemException;
445
446 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447 public int getRowValuesCount(java.lang.String className,
448 java.lang.String tableName, long classPK)
449 throws com.liferay.portal.SystemException;
450
451 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
452 public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
453 throws com.liferay.portal.PortalException,
454 com.liferay.portal.SystemException;
455
456 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
457 public com.liferay.portlet.expando.model.ExpandoValue getValue(
458 long columnId, long rowId)
459 throws com.liferay.portal.PortalException,
460 com.liferay.portal.SystemException;
461
462 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
463 public com.liferay.portlet.expando.model.ExpandoValue getValue(
464 long tableId, long columnId, long classPK)
465 throws com.liferay.portal.SystemException;
466
467 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468 public com.liferay.portlet.expando.model.ExpandoValue getValue(
469 long classNameId, java.lang.String tableName,
470 java.lang.String columnName, long classPK)
471 throws com.liferay.portal.SystemException;
472
473 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
474 public com.liferay.portlet.expando.model.ExpandoValue getValue(
475 java.lang.String className, java.lang.String tableName,
476 java.lang.String columnName, long classPK)
477 throws com.liferay.portal.SystemException;
478 }