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 obc)
72          throws com.liferay.portal.kernel.exception.SystemException;
73  
74      public com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
75          long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
76          throws com.liferay.portal.kernel.exception.SystemException,
77              com.liferay.portlet.expando.NoSuchValueException;
78  
79      public com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
80          long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
81          throws com.liferay.portal.kernel.exception.SystemException,
82              com.liferay.portlet.expando.NoSuchValueException;
83  
84      public com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
85          long valueId, long tableId,
86          com.liferay.portal.kernel.util.OrderByComparator obc)
87          throws com.liferay.portal.kernel.exception.SystemException,
88              com.liferay.portlet.expando.NoSuchValueException;
89  
90      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
91          long columnId)
92          throws com.liferay.portal.kernel.exception.SystemException;
93  
94      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
95          long columnId, int start, int end)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
99          long columnId, int start, int end,
100         com.liferay.portal.kernel.util.OrderByComparator obc)
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
104         long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
105         throws com.liferay.portal.kernel.exception.SystemException,
106             com.liferay.portlet.expando.NoSuchValueException;
107 
108     public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
109         long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
110         throws com.liferay.portal.kernel.exception.SystemException,
111             com.liferay.portlet.expando.NoSuchValueException;
112 
113     public com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
114         long valueId, long columnId,
115         com.liferay.portal.kernel.util.OrderByComparator obc)
116         throws com.liferay.portal.kernel.exception.SystemException,
117             com.liferay.portlet.expando.NoSuchValueException;
118 
119     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
120         long rowId) throws com.liferay.portal.kernel.exception.SystemException;
121 
122     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
123         long rowId, int start, int end)
124         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         com.liferay.portal.kernel.util.OrderByComparator obc)
129         throws com.liferay.portal.kernel.exception.SystemException;
130 
131     public com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
132         long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
133         throws com.liferay.portal.kernel.exception.SystemException,
134             com.liferay.portlet.expando.NoSuchValueException;
135 
136     public com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
137         long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
138         throws com.liferay.portal.kernel.exception.SystemException,
139             com.liferay.portlet.expando.NoSuchValueException;
140 
141     public com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
142         long valueId, long rowId,
143         com.liferay.portal.kernel.util.OrderByComparator obc)
144         throws com.liferay.portal.kernel.exception.SystemException,
145             com.liferay.portlet.expando.NoSuchValueException;
146 
147     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
148         long tableId, long columnId)
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
152         long tableId, long columnId, int start, int end)
153         throws com.liferay.portal.kernel.exception.SystemException;
154 
155     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
156         long tableId, long columnId, int start, int end,
157         com.liferay.portal.kernel.util.OrderByComparator obc)
158         throws com.liferay.portal.kernel.exception.SystemException;
159 
160     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
161         long tableId, long columnId,
162         com.liferay.portal.kernel.util.OrderByComparator obc)
163         throws com.liferay.portal.kernel.exception.SystemException,
164             com.liferay.portlet.expando.NoSuchValueException;
165 
166     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
167         long tableId, long columnId,
168         com.liferay.portal.kernel.util.OrderByComparator obc)
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_PrevAndNext(
173         long valueId, long tableId, long columnId,
174         com.liferay.portal.kernel.util.OrderByComparator obc)
175         throws com.liferay.portal.kernel.exception.SystemException,
176             com.liferay.portlet.expando.NoSuchValueException;
177 
178     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
179         long tableId, long classPK)
180         throws com.liferay.portal.kernel.exception.SystemException;
181 
182     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
183         long tableId, long classPK, int start, int end)
184         throws com.liferay.portal.kernel.exception.SystemException;
185 
186     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
187         long tableId, long classPK, int start, int end,
188         com.liferay.portal.kernel.util.OrderByComparator obc)
189         throws com.liferay.portal.kernel.exception.SystemException;
190 
191     public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
192         long tableId, long classPK,
193         com.liferay.portal.kernel.util.OrderByComparator obc)
194         throws com.liferay.portal.kernel.exception.SystemException,
195             com.liferay.portlet.expando.NoSuchValueException;
196 
197     public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
198         long tableId, long classPK,
199         com.liferay.portal.kernel.util.OrderByComparator obc)
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_PrevAndNext(
204         long valueId, long tableId, long classPK,
205         com.liferay.portal.kernel.util.OrderByComparator obc)
206         throws com.liferay.portal.kernel.exception.SystemException,
207             com.liferay.portlet.expando.NoSuchValueException;
208 
209     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
210         long tableId, long rowId)
211         throws com.liferay.portal.kernel.exception.SystemException;
212 
213     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
214         long tableId, long rowId, int start, int end)
215         throws com.liferay.portal.kernel.exception.SystemException;
216 
217     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
218         long tableId, long rowId, int start, int end,
219         com.liferay.portal.kernel.util.OrderByComparator obc)
220         throws com.liferay.portal.kernel.exception.SystemException;
221 
222     public com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
223         long tableId, long rowId,
224         com.liferay.portal.kernel.util.OrderByComparator obc)
225         throws com.liferay.portal.kernel.exception.SystemException,
226             com.liferay.portlet.expando.NoSuchValueException;
227 
228     public com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
229         long tableId, long rowId,
230         com.liferay.portal.kernel.util.OrderByComparator obc)
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_PrevAndNext(
235         long valueId, long tableId, long rowId,
236         com.liferay.portal.kernel.util.OrderByComparator obc)
237         throws com.liferay.portal.kernel.exception.SystemException,
238             com.liferay.portlet.expando.NoSuchValueException;
239 
240     public com.liferay.portlet.expando.model.ExpandoValue findByC_R(
241         long columnId, long rowId)
242         throws com.liferay.portal.kernel.exception.SystemException,
243             com.liferay.portlet.expando.NoSuchValueException;
244 
245     public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
246         long columnId, long rowId)
247         throws com.liferay.portal.kernel.exception.SystemException;
248 
249     public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
250         long columnId, long rowId, boolean retrieveFromCache)
251         throws com.liferay.portal.kernel.exception.SystemException;
252 
253     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
254         long classNameId, long classPK)
255         throws com.liferay.portal.kernel.exception.SystemException;
256 
257     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
258         long classNameId, long classPK, int start, int end)
259         throws com.liferay.portal.kernel.exception.SystemException;
260 
261     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
262         long classNameId, long classPK, int start, int end,
263         com.liferay.portal.kernel.util.OrderByComparator obc)
264         throws com.liferay.portal.kernel.exception.SystemException;
265 
266     public com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
267         long classNameId, long classPK,
268         com.liferay.portal.kernel.util.OrderByComparator obc)
269         throws com.liferay.portal.kernel.exception.SystemException,
270             com.liferay.portlet.expando.NoSuchValueException;
271 
272     public com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
273         long classNameId, long classPK,
274         com.liferay.portal.kernel.util.OrderByComparator obc)
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_PrevAndNext(
279         long valueId, long classNameId, long classPK,
280         com.liferay.portal.kernel.util.OrderByComparator obc)
281         throws com.liferay.portal.kernel.exception.SystemException,
282             com.liferay.portlet.expando.NoSuchValueException;
283 
284     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
285         long tableId, long columnId, long classPK)
286         throws com.liferay.portal.kernel.exception.SystemException,
287             com.liferay.portlet.expando.NoSuchValueException;
288 
289     public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
290         long tableId, long columnId, long classPK)
291         throws com.liferay.portal.kernel.exception.SystemException;
292 
293     public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
294         long tableId, long columnId, long classPK, boolean retrieveFromCache)
295         throws com.liferay.portal.kernel.exception.SystemException;
296 
297     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
298         long tableId, long columnId, java.lang.String data)
299         throws com.liferay.portal.kernel.exception.SystemException;
300 
301     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
302         long tableId, long columnId, java.lang.String data, int start, int end)
303         throws com.liferay.portal.kernel.exception.SystemException;
304 
305     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
306         long tableId, long columnId, java.lang.String data, int start, int end,
307         com.liferay.portal.kernel.util.OrderByComparator obc)
308         throws com.liferay.portal.kernel.exception.SystemException;
309 
310     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
311         long tableId, long columnId, java.lang.String data,
312         com.liferay.portal.kernel.util.OrderByComparator obc)
313         throws com.liferay.portal.kernel.exception.SystemException,
314             com.liferay.portlet.expando.NoSuchValueException;
315 
316     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
317         long tableId, long columnId, java.lang.String data,
318         com.liferay.portal.kernel.util.OrderByComparator obc)
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_PrevAndNext(
323         long valueId, long tableId, long columnId, java.lang.String data,
324         com.liferay.portal.kernel.util.OrderByComparator obc)
325         throws com.liferay.portal.kernel.exception.SystemException,
326             com.liferay.portlet.expando.NoSuchValueException;
327 
328     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
329         throws com.liferay.portal.kernel.exception.SystemException;
330 
331     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
332         int start, int end)
333         throws com.liferay.portal.kernel.exception.SystemException;
334 
335     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
336         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
337         throws com.liferay.portal.kernel.exception.SystemException;
338 
339     public void removeByTableId(long tableId)
340         throws com.liferay.portal.kernel.exception.SystemException;
341 
342     public void removeByColumnId(long columnId)
343         throws com.liferay.portal.kernel.exception.SystemException;
344 
345     public void removeByRowId(long rowId)
346         throws com.liferay.portal.kernel.exception.SystemException;
347 
348     public void removeByT_C(long tableId, long columnId)
349         throws com.liferay.portal.kernel.exception.SystemException;
350 
351     public void removeByT_CPK(long tableId, long classPK)
352         throws com.liferay.portal.kernel.exception.SystemException;
353 
354     public void removeByT_R(long tableId, long rowId)
355         throws com.liferay.portal.kernel.exception.SystemException;
356 
357     public void removeByC_R(long columnId, long rowId)
358         throws com.liferay.portal.kernel.exception.SystemException,
359             com.liferay.portlet.expando.NoSuchValueException;
360 
361     public void removeByC_C(long classNameId, long classPK)
362         throws com.liferay.portal.kernel.exception.SystemException;
363 
364     public void removeByT_C_C(long tableId, long columnId, long classPK)
365         throws com.liferay.portal.kernel.exception.SystemException,
366             com.liferay.portlet.expando.NoSuchValueException;
367 
368     public void removeByT_C_D(long tableId, long columnId, java.lang.String data)
369         throws com.liferay.portal.kernel.exception.SystemException;
370 
371     public void removeAll()
372         throws com.liferay.portal.kernel.exception.SystemException;
373 
374     public int countByTableId(long tableId)
375         throws com.liferay.portal.kernel.exception.SystemException;
376 
377     public int countByColumnId(long columnId)
378         throws com.liferay.portal.kernel.exception.SystemException;
379 
380     public int countByRowId(long rowId)
381         throws com.liferay.portal.kernel.exception.SystemException;
382 
383     public int countByT_C(long tableId, long columnId)
384         throws com.liferay.portal.kernel.exception.SystemException;
385 
386     public int countByT_CPK(long tableId, long classPK)
387         throws com.liferay.portal.kernel.exception.SystemException;
388 
389     public int countByT_R(long tableId, long rowId)
390         throws com.liferay.portal.kernel.exception.SystemException;
391 
392     public int countByC_R(long columnId, long rowId)
393         throws com.liferay.portal.kernel.exception.SystemException;
394 
395     public int countByC_C(long classNameId, long classPK)
396         throws com.liferay.portal.kernel.exception.SystemException;
397 
398     public int countByT_C_C(long tableId, long columnId, long classPK)
399         throws com.liferay.portal.kernel.exception.SystemException;
400 
401     public int countByT_C_D(long tableId, long columnId, java.lang.String data)
402         throws com.liferay.portal.kernel.exception.SystemException;
403 
404     public int countAll()
405         throws com.liferay.portal.kernel.exception.SystemException;
406 }