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