1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
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.SystemException,
45              com.liferay.portlet.expando.NoSuchValueException;
46  
47      /**
48       * @deprecated Use {@link BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)}.
49       */
50      public com.liferay.portlet.expando.model.ExpandoValue update(
51          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
52          throws com.liferay.portal.SystemException;
53  
54      public com.liferay.portlet.expando.model.ExpandoValue updateImpl(
55          com.liferay.portlet.expando.model.ExpandoValue expandoValue,
56          boolean merge) throws com.liferay.portal.SystemException;
57  
58      public com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
59          long valueId)
60          throws com.liferay.portal.SystemException,
61              com.liferay.portlet.expando.NoSuchValueException;
62  
63      public com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
64          long valueId) throws com.liferay.portal.SystemException;
65  
66      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
67          long tableId) throws com.liferay.portal.SystemException;
68  
69      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
70          long tableId, int start, int end)
71          throws com.liferay.portal.SystemException;
72  
73      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
74          long tableId, int start, int end,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.SystemException;
77  
78      public com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
79          long tableId,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException,
82              com.liferay.portlet.expando.NoSuchValueException;
83  
84      public com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
85          long tableId,
86          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
87          throws com.liferay.portal.SystemException,
88              com.liferay.portlet.expando.NoSuchValueException;
89  
90      public com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
91          long valueId, long tableId,
92          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
93          throws com.liferay.portal.SystemException,
94              com.liferay.portlet.expando.NoSuchValueException;
95  
96      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
97          long columnId) throws com.liferay.portal.SystemException;
98  
99      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
100         long columnId, int start, int end)
101         throws com.liferay.portal.SystemException;
102 
103     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
104         long columnId, int start, int end,
105         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
106         throws com.liferay.portal.SystemException;
107 
108     public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
109         long columnId,
110         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111         throws com.liferay.portal.SystemException,
112             com.liferay.portlet.expando.NoSuchValueException;
113 
114     public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
115         long columnId,
116         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
117         throws com.liferay.portal.SystemException,
118             com.liferay.portlet.expando.NoSuchValueException;
119 
120     public com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
121         long valueId, long columnId,
122         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123         throws com.liferay.portal.SystemException,
124             com.liferay.portlet.expando.NoSuchValueException;
125 
126     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
127         long rowId) throws com.liferay.portal.SystemException;
128 
129     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
130         long rowId, int start, int end)
131         throws com.liferay.portal.SystemException;
132 
133     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
134         long rowId, int start, int end,
135         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136         throws com.liferay.portal.SystemException;
137 
138     public com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
139         long rowId,
140         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141         throws com.liferay.portal.SystemException,
142             com.liferay.portlet.expando.NoSuchValueException;
143 
144     public com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
145         long rowId,
146         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147         throws com.liferay.portal.SystemException,
148             com.liferay.portlet.expando.NoSuchValueException;
149 
150     public com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
151         long valueId, long rowId,
152         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153         throws com.liferay.portal.SystemException,
154             com.liferay.portlet.expando.NoSuchValueException;
155 
156     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
157         long tableId, long columnId) throws com.liferay.portal.SystemException;
158 
159     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
160         long tableId, long columnId, int start, int end)
161         throws com.liferay.portal.SystemException;
162 
163     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
164         long tableId, long columnId, int start, int end,
165         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166         throws com.liferay.portal.SystemException;
167 
168     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
169         long tableId, long columnId,
170         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
171         throws com.liferay.portal.SystemException,
172             com.liferay.portlet.expando.NoSuchValueException;
173 
174     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
175         long tableId, long columnId,
176         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
177         throws com.liferay.portal.SystemException,
178             com.liferay.portlet.expando.NoSuchValueException;
179 
180     public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
181         long valueId, long tableId, long columnId,
182         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
183         throws com.liferay.portal.SystemException,
184             com.liferay.portlet.expando.NoSuchValueException;
185 
186     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
187         long tableId, long classPK) throws com.liferay.portal.SystemException;
188 
189     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
190         long tableId, long classPK, int start, int end)
191         throws com.liferay.portal.SystemException;
192 
193     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
194         long tableId, long classPK, int start, int end,
195         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
196         throws com.liferay.portal.SystemException;
197 
198     public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
199         long tableId, long classPK,
200         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
201         throws com.liferay.portal.SystemException,
202             com.liferay.portlet.expando.NoSuchValueException;
203 
204     public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
205         long tableId, long classPK,
206         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207         throws com.liferay.portal.SystemException,
208             com.liferay.portlet.expando.NoSuchValueException;
209 
210     public com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
211         long valueId, long tableId, long classPK,
212         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
213         throws com.liferay.portal.SystemException,
214             com.liferay.portlet.expando.NoSuchValueException;
215 
216     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
217         long tableId, long rowId) throws com.liferay.portal.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.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.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.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.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.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.SystemException,
249             com.liferay.portlet.expando.NoSuchValueException;
250 
251     public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
252         long columnId, long rowId) throws com.liferay.portal.SystemException;
253 
254     public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
255         long columnId, long rowId, boolean retrieveFromCache)
256         throws com.liferay.portal.SystemException;
257 
258     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
259         long classNameId, long classPK)
260         throws com.liferay.portal.SystemException;
261 
262     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
263         long classNameId, long classPK, int start, int end)
264         throws com.liferay.portal.SystemException;
265 
266     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
267         long classNameId, long classPK, int start, int end,
268         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
269         throws com.liferay.portal.SystemException;
270 
271     public com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
272         long classNameId, long classPK,
273         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
274         throws com.liferay.portal.SystemException,
275             com.liferay.portlet.expando.NoSuchValueException;
276 
277     public com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
278         long classNameId, long classPK,
279         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
280         throws com.liferay.portal.SystemException,
281             com.liferay.portlet.expando.NoSuchValueException;
282 
283     public com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
284         long valueId, long classNameId, long classPK,
285         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
286         throws com.liferay.portal.SystemException,
287             com.liferay.portlet.expando.NoSuchValueException;
288 
289     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
290         long tableId, long columnId, long classPK)
291         throws com.liferay.portal.SystemException,
292             com.liferay.portlet.expando.NoSuchValueException;
293 
294     public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
295         long tableId, long columnId, long classPK)
296         throws com.liferay.portal.SystemException;
297 
298     public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
299         long tableId, long columnId, long classPK, boolean retrieveFromCache)
300         throws com.liferay.portal.SystemException;
301 
302     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
303         long tableId, long columnId, java.lang.String data)
304         throws com.liferay.portal.SystemException;
305 
306     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
307         long tableId, long columnId, java.lang.String data, int start, int end)
308         throws com.liferay.portal.SystemException;
309 
310     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
311         long tableId, long columnId, java.lang.String data, int start, int end,
312         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
313         throws com.liferay.portal.SystemException;
314 
315     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
316         long tableId, long columnId, java.lang.String data,
317         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
318         throws com.liferay.portal.SystemException,
319             com.liferay.portlet.expando.NoSuchValueException;
320 
321     public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
322         long tableId, long columnId, java.lang.String data,
323         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
324         throws com.liferay.portal.SystemException,
325             com.liferay.portlet.expando.NoSuchValueException;
326 
327     public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
328         long valueId, long tableId, long columnId, java.lang.String data,
329         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
330         throws com.liferay.portal.SystemException,
331             com.liferay.portlet.expando.NoSuchValueException;
332 
333     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
334         throws com.liferay.portal.SystemException;
335 
336     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
337         int start, int end) throws com.liferay.portal.SystemException;
338 
339     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
340         int start, int end,
341         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342         throws com.liferay.portal.SystemException;
343 
344     public void removeByTableId(long tableId)
345         throws com.liferay.portal.SystemException;
346 
347     public void removeByColumnId(long columnId)
348         throws com.liferay.portal.SystemException;
349 
350     public void removeByRowId(long rowId)
351         throws com.liferay.portal.SystemException;
352 
353     public void removeByT_C(long tableId, long columnId)
354         throws com.liferay.portal.SystemException;
355 
356     public void removeByT_CPK(long tableId, long classPK)
357         throws com.liferay.portal.SystemException;
358 
359     public void removeByT_R(long tableId, long rowId)
360         throws com.liferay.portal.SystemException;
361 
362     public void removeByC_R(long columnId, long rowId)
363         throws com.liferay.portal.SystemException,
364             com.liferay.portlet.expando.NoSuchValueException;
365 
366     public void removeByC_C(long classNameId, long classPK)
367         throws com.liferay.portal.SystemException;
368 
369     public void removeByT_C_C(long tableId, long columnId, long classPK)
370         throws com.liferay.portal.SystemException,
371             com.liferay.portlet.expando.NoSuchValueException;
372 
373     public void removeByT_C_D(long tableId, long columnId, java.lang.String data)
374         throws com.liferay.portal.SystemException;
375 
376     public void removeAll() throws com.liferay.portal.SystemException;
377 
378     public int countByTableId(long tableId)
379         throws com.liferay.portal.SystemException;
380 
381     public int countByColumnId(long columnId)
382         throws com.liferay.portal.SystemException;
383 
384     public int countByRowId(long rowId)
385         throws com.liferay.portal.SystemException;
386 
387     public int countByT_C(long tableId, long columnId)
388         throws com.liferay.portal.SystemException;
389 
390     public int countByT_CPK(long tableId, long classPK)
391         throws com.liferay.portal.SystemException;
392 
393     public int countByT_R(long tableId, long rowId)
394         throws com.liferay.portal.SystemException;
395 
396     public int countByC_R(long columnId, long rowId)
397         throws com.liferay.portal.SystemException;
398 
399     public int countByC_C(long classNameId, long classPK)
400         throws com.liferay.portal.SystemException;
401 
402     public int countByT_C_C(long tableId, long columnId, long classPK)
403         throws com.liferay.portal.SystemException;
404 
405     public int countByT_C_D(long tableId, long columnId, java.lang.String data)
406         throws com.liferay.portal.SystemException;
407 
408     public int countAll() throws com.liferay.portal.SystemException;
409 }