1
19
20 package com.liferay.portlet.expando.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface ExpandoValuePersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.expando.model.ExpandoValue expandoValue);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.expando.model.ExpandoValue> expandoValues);
36
37 public void clearCache();
38
39 public com.liferay.portlet.expando.model.ExpandoValue create(long valueId);
40
41 public com.liferay.portlet.expando.model.ExpandoValue remove(long valueId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.expando.NoSuchValueException;
44
45 public com.liferay.portlet.expando.model.ExpandoValue remove(
46 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.expando.model.ExpandoValue update(
53 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.expando.model.ExpandoValue update(
70 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
71 boolean merge) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.expando.model.ExpandoValue updateImpl(
74 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
75 boolean merge) throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
78 long valueId)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portlet.expando.NoSuchValueException;
81
82 public com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
83 long valueId) throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
86 long tableId) throws com.liferay.portal.SystemException;
87
88 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
89 long tableId, int start, int end)
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
93 long tableId, int start, int end,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
98 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.expando.NoSuchValueException;
101
102 public com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
103 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException,
105 com.liferay.portlet.expando.NoSuchValueException;
106
107 public com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
108 long valueId, long tableId,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.expando.NoSuchValueException;
112
113 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
114 long columnId) throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
117 long columnId, int start, int end)
118 throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
121 long columnId, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException;
124
125 public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
126 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.SystemException,
128 com.liferay.portlet.expando.NoSuchValueException;
129
130 public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
131 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portlet.expando.NoSuchValueException;
134
135 public com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
136 long valueId, long columnId,
137 com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.expando.NoSuchValueException;
140
141 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
142 long rowId) throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
145 long rowId, int start, int end)
146 throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
149 long rowId, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException;
152
153 public com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
154 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.expando.NoSuchValueException;
157
158 public com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
159 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portlet.expando.NoSuchValueException;
162
163 public com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
164 long valueId, long rowId,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.expando.NoSuchValueException;
168
169 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
170 long tableId, long columnId) throws com.liferay.portal.SystemException;
171
172 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
173 long tableId, long columnId, int start, int end)
174 throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
177 long tableId, long columnId, int start, int end,
178 com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.SystemException;
180
181 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
182 long tableId, long columnId,
183 com.liferay.portal.kernel.util.OrderByComparator obc)
184 throws com.liferay.portal.SystemException,
185 com.liferay.portlet.expando.NoSuchValueException;
186
187 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
188 long tableId, long columnId,
189 com.liferay.portal.kernel.util.OrderByComparator obc)
190 throws com.liferay.portal.SystemException,
191 com.liferay.portlet.expando.NoSuchValueException;
192
193 public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
194 long valueId, long tableId, long columnId,
195 com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException,
197 com.liferay.portlet.expando.NoSuchValueException;
198
199 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
200 long tableId, long classPK) throws com.liferay.portal.SystemException;
201
202 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
203 long tableId, long classPK, int start, int end)
204 throws com.liferay.portal.SystemException;
205
206 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
207 long tableId, long classPK, int start, int end,
208 com.liferay.portal.kernel.util.OrderByComparator obc)
209 throws com.liferay.portal.SystemException;
210
211 public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
212 long tableId, long classPK,
213 com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException,
215 com.liferay.portlet.expando.NoSuchValueException;
216
217 public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
218 long tableId, long classPK,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.SystemException,
221 com.liferay.portlet.expando.NoSuchValueException;
222
223 public com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
224 long valueId, long tableId, long classPK,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException,
227 com.liferay.portlet.expando.NoSuchValueException;
228
229 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
230 long tableId, long rowId) throws com.liferay.portal.SystemException;
231
232 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
233 long tableId, long rowId, int start, int end)
234 throws com.liferay.portal.SystemException;
235
236 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
237 long tableId, long rowId, int start, int end,
238 com.liferay.portal.kernel.util.OrderByComparator obc)
239 throws com.liferay.portal.SystemException;
240
241 public com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
242 long tableId, long rowId,
243 com.liferay.portal.kernel.util.OrderByComparator obc)
244 throws com.liferay.portal.SystemException,
245 com.liferay.portlet.expando.NoSuchValueException;
246
247 public com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
248 long tableId, long rowId,
249 com.liferay.portal.kernel.util.OrderByComparator obc)
250 throws com.liferay.portal.SystemException,
251 com.liferay.portlet.expando.NoSuchValueException;
252
253 public com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
254 long valueId, long tableId, long rowId,
255 com.liferay.portal.kernel.util.OrderByComparator obc)
256 throws com.liferay.portal.SystemException,
257 com.liferay.portlet.expando.NoSuchValueException;
258
259 public com.liferay.portlet.expando.model.ExpandoValue findByC_R(
260 long columnId, long rowId)
261 throws com.liferay.portal.SystemException,
262 com.liferay.portlet.expando.NoSuchValueException;
263
264 public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
265 long columnId, long rowId) throws com.liferay.portal.SystemException;
266
267 public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
268 long columnId, long rowId, boolean retrieveFromCache)
269 throws com.liferay.portal.SystemException;
270
271 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
272 long classNameId, long classPK)
273 throws com.liferay.portal.SystemException;
274
275 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
276 long classNameId, long classPK, int start, int end)
277 throws com.liferay.portal.SystemException;
278
279 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
280 long classNameId, long classPK, int start, int end,
281 com.liferay.portal.kernel.util.OrderByComparator obc)
282 throws com.liferay.portal.SystemException;
283
284 public com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
285 long classNameId, long classPK,
286 com.liferay.portal.kernel.util.OrderByComparator obc)
287 throws com.liferay.portal.SystemException,
288 com.liferay.portlet.expando.NoSuchValueException;
289
290 public com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
291 long classNameId, long classPK,
292 com.liferay.portal.kernel.util.OrderByComparator obc)
293 throws com.liferay.portal.SystemException,
294 com.liferay.portlet.expando.NoSuchValueException;
295
296 public com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
297 long valueId, long classNameId, long classPK,
298 com.liferay.portal.kernel.util.OrderByComparator obc)
299 throws com.liferay.portal.SystemException,
300 com.liferay.portlet.expando.NoSuchValueException;
301
302 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
303 long tableId, long columnId, long classPK)
304 throws com.liferay.portal.SystemException,
305 com.liferay.portlet.expando.NoSuchValueException;
306
307 public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
308 long tableId, long columnId, long classPK)
309 throws com.liferay.portal.SystemException;
310
311 public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
312 long tableId, long columnId, long classPK, boolean retrieveFromCache)
313 throws com.liferay.portal.SystemException;
314
315 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
316 long tableId, long columnId, java.lang.String data)
317 throws com.liferay.portal.SystemException;
318
319 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
320 long tableId, long columnId, java.lang.String data, int start, int end)
321 throws com.liferay.portal.SystemException;
322
323 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
324 long tableId, long columnId, java.lang.String data, int start, int end,
325 com.liferay.portal.kernel.util.OrderByComparator obc)
326 throws com.liferay.portal.SystemException;
327
328 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
329 long tableId, long columnId, java.lang.String data,
330 com.liferay.portal.kernel.util.OrderByComparator obc)
331 throws com.liferay.portal.SystemException,
332 com.liferay.portlet.expando.NoSuchValueException;
333
334 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
335 long tableId, long columnId, java.lang.String data,
336 com.liferay.portal.kernel.util.OrderByComparator obc)
337 throws com.liferay.portal.SystemException,
338 com.liferay.portlet.expando.NoSuchValueException;
339
340 public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
341 long valueId, long tableId, long columnId, java.lang.String data,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.SystemException,
344 com.liferay.portlet.expando.NoSuchValueException;
345
346 public java.util.List<Object> findWithDynamicQuery(
347 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
348 throws com.liferay.portal.SystemException;
349
350 public java.util.List<Object> findWithDynamicQuery(
351 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
352 int end) throws com.liferay.portal.SystemException;
353
354 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
355 throws com.liferay.portal.SystemException;
356
357 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
358 int start, int end) throws com.liferay.portal.SystemException;
359
360 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
361 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
362 throws com.liferay.portal.SystemException;
363
364 public void removeByTableId(long tableId)
365 throws com.liferay.portal.SystemException;
366
367 public void removeByColumnId(long columnId)
368 throws com.liferay.portal.SystemException;
369
370 public void removeByRowId(long rowId)
371 throws com.liferay.portal.SystemException;
372
373 public void removeByT_C(long tableId, long columnId)
374 throws com.liferay.portal.SystemException;
375
376 public void removeByT_CPK(long tableId, long classPK)
377 throws com.liferay.portal.SystemException;
378
379 public void removeByT_R(long tableId, long rowId)
380 throws com.liferay.portal.SystemException;
381
382 public void removeByC_R(long columnId, long rowId)
383 throws com.liferay.portal.SystemException,
384 com.liferay.portlet.expando.NoSuchValueException;
385
386 public void removeByC_C(long classNameId, long classPK)
387 throws com.liferay.portal.SystemException;
388
389 public void removeByT_C_C(long tableId, long columnId, long classPK)
390 throws com.liferay.portal.SystemException,
391 com.liferay.portlet.expando.NoSuchValueException;
392
393 public void removeByT_C_D(long tableId, long columnId, java.lang.String data)
394 throws com.liferay.portal.SystemException;
395
396 public void removeAll() throws com.liferay.portal.SystemException;
397
398 public int countByTableId(long tableId)
399 throws com.liferay.portal.SystemException;
400
401 public int countByColumnId(long columnId)
402 throws com.liferay.portal.SystemException;
403
404 public int countByRowId(long rowId)
405 throws com.liferay.portal.SystemException;
406
407 public int countByT_C(long tableId, long columnId)
408 throws com.liferay.portal.SystemException;
409
410 public int countByT_CPK(long tableId, long classPK)
411 throws com.liferay.portal.SystemException;
412
413 public int countByT_R(long tableId, long rowId)
414 throws com.liferay.portal.SystemException;
415
416 public int countByC_R(long columnId, long rowId)
417 throws com.liferay.portal.SystemException;
418
419 public int countByC_C(long classNameId, long classPK)
420 throws com.liferay.portal.SystemException;
421
422 public int countByT_C_C(long tableId, long columnId, long classPK)
423 throws com.liferay.portal.SystemException;
424
425 public int countByT_C_D(long tableId, long columnId, java.lang.String data)
426 throws com.liferay.portal.SystemException;
427
428 public int countAll() throws com.liferay.portal.SystemException;
429 }