1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.expando.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.expando.model.ExpandoValue;
20  
21  /**
22   * <a href="ExpandoValuePersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ExpandoValuePersistenceImpl
31   * @see       ExpandoValueUtil
32   * @generated
33   */
34  public interface ExpandoValuePersistence extends BasePersistence<ExpandoValue> {
35      public void cacheResult(
36          com.liferay.portlet.expando.model.ExpandoValue expandoValue);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.expando.model.ExpandoValue> expandoValues);
40  
41      public com.liferay.portlet.expando.model.ExpandoValue create(long valueId);
42  
43      public com.liferay.portlet.expando.model.ExpandoValue remove(long valueId)
44          throws com.liferay.portal.kernel.exception.SystemException,
45              com.liferay.portlet.expando.NoSuchValueException;
46  
47      public com.liferay.portlet.expando.model.ExpandoValue updateImpl(
48          com.liferay.portlet.expando.model.ExpandoValue expandoValue,
49          boolean merge)
50          throws com.liferay.portal.kernel.exception.SystemException;
51  
52      public com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
53          long valueId)
54          throws com.liferay.portal.kernel.exception.SystemException,
55              com.liferay.portlet.expando.NoSuchValueException;
56  
57      public com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
58          long valueId)
59          throws com.liferay.portal.kernel.exception.SystemException;
60  
61      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
62          long tableId)
63          throws com.liferay.portal.kernel.exception.SystemException;
64  
65      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
66          long tableId, int start, int end)
67          throws com.liferay.portal.kernel.exception.SystemException;
68  
69      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
70          long tableId, int start, int end,
71          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
72          throws com.liferay.portal.kernel.exception.SystemException;
73  
74      public com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
75          long tableId,
76          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77          throws com.liferay.portal.kernel.exception.SystemException,
78              com.liferay.portlet.expando.NoSuchValueException;
79  
80      public com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
81          long tableId,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.kernel.exception.SystemException,
84              com.liferay.portlet.expando.NoSuchValueException;
85  
86      public com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
87          long valueId, long tableId,
88          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89          throws com.liferay.portal.kernel.exception.SystemException,
90              com.liferay.portlet.expando.NoSuchValueException;
91  
92      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
93          long columnId)
94          throws com.liferay.portal.kernel.exception.SystemException;
95  
96      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
97          long columnId, int start, int end)
98          throws com.liferay.portal.kernel.exception.SystemException;
99  
100     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
101         long columnId, int start, int end,
102         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
103         throws com.liferay.portal.kernel.exception.SystemException;
104 
105     public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
106         long columnId,
107         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108         throws com.liferay.portal.kernel.exception.SystemException,
109             com.liferay.portlet.expando.NoSuchValueException;
110 
111     public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
112         long columnId,
113         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114         throws com.liferay.portal.kernel.exception.SystemException,
115             com.liferay.portlet.expando.NoSuchValueException;
116 
117     public com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
118         long valueId, long columnId,
119         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120         throws com.liferay.portal.kernel.exception.SystemException,
121             com.liferay.portlet.expando.NoSuchValueException;
122 
123     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
124         long rowId) throws com.liferay.portal.kernel.exception.SystemException;
125 
126     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
127         long rowId, int start, int end)
128         throws com.liferay.portal.kernel.exception.SystemException;
129 
130     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
131         long rowId, int start, int end,
132         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133         throws com.liferay.portal.kernel.exception.SystemException;
134 
135     public com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
136         long rowId,
137         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138         throws com.liferay.portal.kernel.exception.SystemException,
139             com.liferay.portlet.expando.NoSuchValueException;
140 
141     public com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
142         long rowId,
143         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144         throws com.liferay.portal.kernel.exception.SystemException,
145             com.liferay.portlet.expando.NoSuchValueException;
146 
147     public com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
148         long valueId, long rowId,
149         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150         throws com.liferay.portal.kernel.exception.SystemException,
151             com.liferay.portlet.expando.NoSuchValueException;
152 
153     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
154         long tableId, long columnId)
155         throws com.liferay.portal.kernel.exception.SystemException;
156 
157     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
158         long tableId, long columnId, int start, int end)
159         throws com.liferay.portal.kernel.exception.SystemException;
160 
161     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
162         long tableId, long columnId, int start, int end,
163         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164         throws com.liferay.portal.kernel.exception.SystemException;
165 
166     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
167         long tableId, long columnId,
168         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
169         throws com.liferay.portal.kernel.exception.SystemException,
170             com.liferay.portlet.expando.NoSuchValueException;
171 
172     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
173         long tableId, long columnId,
174         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
175         throws com.liferay.portal.kernel.exception.SystemException,
176             com.liferay.portlet.expando.NoSuchValueException;
177 
178     public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
179         long valueId, long tableId, long columnId,
180         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181         throws com.liferay.portal.kernel.exception.SystemException,
182             com.liferay.portlet.expando.NoSuchValueException;
183 
184     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
185         long tableId, long classPK)
186         throws com.liferay.portal.kernel.exception.SystemException;
187 
188     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
189         long tableId, long classPK, int start, int end)
190         throws com.liferay.portal.kernel.exception.SystemException;
191 
192     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
193         long tableId, long classPK, int start, int end,
194         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
195         throws com.liferay.portal.kernel.exception.SystemException;
196 
197     public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
198         long tableId, long classPK,
199         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
200         throws com.liferay.portal.kernel.exception.SystemException,
201             com.liferay.portlet.expando.NoSuchValueException;
202 
203     public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
204         long tableId, long classPK,
205         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206         throws com.liferay.portal.kernel.exception.SystemException,
207             com.liferay.portlet.expando.NoSuchValueException;
208 
209     public com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
210         long valueId, long tableId, long classPK,
211         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
212         throws com.liferay.portal.kernel.exception.SystemException,
213             com.liferay.portlet.expando.NoSuchValueException;
214 
215     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
216         long tableId, long rowId)
217         throws com.liferay.portal.kernel.exception.SystemException;
218 
219     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
220         long tableId, long rowId, int start, int end)
221         throws com.liferay.portal.kernel.exception.SystemException;
222 
223     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
224         long tableId, long rowId, int start, int end,
225         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226         throws com.liferay.portal.kernel.exception.SystemException;
227 
228     public com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
229         long tableId, long rowId,
230         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
231         throws com.liferay.portal.kernel.exception.SystemException,
232             com.liferay.portlet.expando.NoSuchValueException;
233 
234     public com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
235         long tableId, long rowId,
236         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
237         throws com.liferay.portal.kernel.exception.SystemException,
238             com.liferay.portlet.expando.NoSuchValueException;
239 
240     public com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
241         long valueId, long tableId, long rowId,
242         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243         throws com.liferay.portal.kernel.exception.SystemException,
244             com.liferay.portlet.expando.NoSuchValueException;
245 
246     public com.liferay.portlet.expando.model.ExpandoValue findByC_R(
247         long columnId, long rowId)
248         throws com.liferay.portal.kernel.exception.SystemException,
249             com.liferay.portlet.expando.NoSuchValueException;
250 
251     public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
252         long columnId, long rowId)
253         throws com.liferay.portal.kernel.exception.SystemException;
254 
255     public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
256         long columnId, long rowId, boolean retrieveFromCache)
257         throws com.liferay.portal.kernel.exception.SystemException;
258 
259     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
260         long classNameId, long classPK)
261         throws com.liferay.portal.kernel.exception.SystemException;
262 
263     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
264         long classNameId, long classPK, int start, int end)
265         throws com.liferay.portal.kernel.exception.SystemException;
266 
267     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
268         long classNameId, long classPK, int start, int end,
269         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
270         throws com.liferay.portal.kernel.exception.SystemException;
271 
272     public com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
273         long classNameId, long classPK,
274         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
275         throws com.liferay.portal.kernel.exception.SystemException,
276             com.liferay.portlet.expando.NoSuchValueException;
277 
278     public com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
279         long classNameId, long classPK,
280         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
281         throws com.liferay.portal.kernel.exception.SystemException,
282             com.liferay.portlet.expando.NoSuchValueException;
283 
284     public com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
285         long valueId, long classNameId, long classPK,
286         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
287         throws com.liferay.portal.kernel.exception.SystemException,
288             com.liferay.portlet.expando.NoSuchValueException;
289 
290     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
291         long tableId, long columnId, long classPK)
292         throws com.liferay.portal.kernel.exception.SystemException,
293             com.liferay.portlet.expando.NoSuchValueException;
294 
295     public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
296         long tableId, long columnId, long classPK)
297         throws com.liferay.portal.kernel.exception.SystemException;
298 
299     public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
300         long tableId, long columnId, long classPK, boolean retrieveFromCache)
301         throws com.liferay.portal.kernel.exception.SystemException;
302 
303     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
304         long tableId, long columnId, java.lang.String data)
305         throws com.liferay.portal.kernel.exception.SystemException;
306 
307     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
308         long tableId, long columnId, java.lang.String data, int start, int end)
309         throws com.liferay.portal.kernel.exception.SystemException;
310 
311     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
312         long tableId, long columnId, java.lang.String data, int start, int end,
313         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
314         throws com.liferay.portal.kernel.exception.SystemException;
315 
316     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
317         long tableId, long columnId, java.lang.String data,
318         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319         throws com.liferay.portal.kernel.exception.SystemException,
320             com.liferay.portlet.expando.NoSuchValueException;
321 
322     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
323         long tableId, long columnId, java.lang.String data,
324         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
325         throws com.liferay.portal.kernel.exception.SystemException,
326             com.liferay.portlet.expando.NoSuchValueException;
327 
328     public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
329         long valueId, long tableId, long columnId, java.lang.String data,
330         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
331         throws com.liferay.portal.kernel.exception.SystemException,
332             com.liferay.portlet.expando.NoSuchValueException;
333 
334     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
335         throws com.liferay.portal.kernel.exception.SystemException;
336 
337     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
338         int start, int end)
339         throws com.liferay.portal.kernel.exception.SystemException;
340 
341     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
342         int start, int end,
343         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
344         throws com.liferay.portal.kernel.exception.SystemException;
345 
346     public void removeByTableId(long tableId)
347         throws com.liferay.portal.kernel.exception.SystemException;
348 
349     public void removeByColumnId(long columnId)
350         throws com.liferay.portal.kernel.exception.SystemException;
351 
352     public void removeByRowId(long rowId)
353         throws com.liferay.portal.kernel.exception.SystemException;
354 
355     public void removeByT_C(long tableId, long columnId)
356         throws com.liferay.portal.kernel.exception.SystemException;
357 
358     public void removeByT_CPK(long tableId, long classPK)
359         throws com.liferay.portal.kernel.exception.SystemException;
360 
361     public void removeByT_R(long tableId, long rowId)
362         throws com.liferay.portal.kernel.exception.SystemException;
363 
364     public void removeByC_R(long columnId, long rowId)
365         throws com.liferay.portal.kernel.exception.SystemException,
366             com.liferay.portlet.expando.NoSuchValueException;
367 
368     public void removeByC_C(long classNameId, long classPK)
369         throws com.liferay.portal.kernel.exception.SystemException;
370 
371     public void removeByT_C_C(long tableId, long columnId, long classPK)
372         throws com.liferay.portal.kernel.exception.SystemException,
373             com.liferay.portlet.expando.NoSuchValueException;
374 
375     public void removeByT_C_D(long tableId, long columnId, java.lang.String data)
376         throws com.liferay.portal.kernel.exception.SystemException;
377 
378     public void removeAll()
379         throws com.liferay.portal.kernel.exception.SystemException;
380 
381     public int countByTableId(long tableId)
382         throws com.liferay.portal.kernel.exception.SystemException;
383 
384     public int countByColumnId(long columnId)
385         throws com.liferay.portal.kernel.exception.SystemException;
386 
387     public int countByRowId(long rowId)
388         throws com.liferay.portal.kernel.exception.SystemException;
389 
390     public int countByT_C(long tableId, long columnId)
391         throws com.liferay.portal.kernel.exception.SystemException;
392 
393     public int countByT_CPK(long tableId, long classPK)
394         throws com.liferay.portal.kernel.exception.SystemException;
395 
396     public int countByT_R(long tableId, long rowId)
397         throws com.liferay.portal.kernel.exception.SystemException;
398 
399     public int countByC_R(long columnId, long rowId)
400         throws com.liferay.portal.kernel.exception.SystemException;
401 
402     public int countByC_C(long classNameId, long classPK)
403         throws com.liferay.portal.kernel.exception.SystemException;
404 
405     public int countByT_C_C(long tableId, long columnId, long classPK)
406         throws com.liferay.portal.kernel.exception.SystemException;
407 
408     public int countByT_C_D(long tableId, long columnId, java.lang.String data)
409         throws com.liferay.portal.kernel.exception.SystemException;
410 
411     public int countAll()
412         throws com.liferay.portal.kernel.exception.SystemException;
413 }