001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.expando.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.expando.model.ExpandoValue;
020    
021    /**
022     * The persistence interface for the expando value service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see ExpandoValuePersistenceImpl
030     * @see ExpandoValueUtil
031     * @generated
032     */
033    public interface ExpandoValuePersistence extends BasePersistence<ExpandoValue> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link ExpandoValueUtil} to access the expando value persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Caches the expando value in the entity cache if it is enabled.
042            *
043            * @param expandoValue the expando value
044            */
045            public void cacheResult(
046                    com.liferay.portlet.expando.model.ExpandoValue expandoValue);
047    
048            /**
049            * Caches the expando values in the entity cache if it is enabled.
050            *
051            * @param expandoValues the expando values
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.expando.model.ExpandoValue> expandoValues);
055    
056            /**
057            * Creates a new expando value with the primary key. Does not add the expando value to the database.
058            *
059            * @param valueId the primary key for the new expando value
060            * @return the new expando value
061            */
062            public com.liferay.portlet.expando.model.ExpandoValue create(long valueId);
063    
064            /**
065            * Removes the expando value with the primary key from the database. Also notifies the appropriate model listeners.
066            *
067            * @param valueId the primary key of the expando value
068            * @return the expando value that was removed
069            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
070            * @throws SystemException if a system exception occurred
071            */
072            public com.liferay.portlet.expando.model.ExpandoValue remove(long valueId)
073                    throws com.liferay.portal.kernel.exception.SystemException,
074                            com.liferay.portlet.expando.NoSuchValueException;
075    
076            public com.liferay.portlet.expando.model.ExpandoValue updateImpl(
077                    com.liferay.portlet.expando.model.ExpandoValue expandoValue,
078                    boolean merge)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Returns the expando value with the primary key or throws a {@link com.liferay.portlet.expando.NoSuchValueException} if it could not be found.
083            *
084            * @param valueId the primary key of the expando value
085            * @return the expando value
086            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
087            * @throws SystemException if a system exception occurred
088            */
089            public com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
090                    long valueId)
091                    throws com.liferay.portal.kernel.exception.SystemException,
092                            com.liferay.portlet.expando.NoSuchValueException;
093    
094            /**
095            * Returns the expando value with the primary key or returns <code>null</code> if it could not be found.
096            *
097            * @param valueId the primary key of the expando value
098            * @return the expando value, or <code>null</code> if a expando value with the primary key could not be found
099            * @throws SystemException if a system exception occurred
100            */
101            public com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
102                    long valueId)
103                    throws com.liferay.portal.kernel.exception.SystemException;
104    
105            /**
106            * Returns all the expando values where tableId = &#63;.
107            *
108            * @param tableId the table ID
109            * @return the matching expando values
110            * @throws SystemException if a system exception occurred
111            */
112            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
113                    long tableId)
114                    throws com.liferay.portal.kernel.exception.SystemException;
115    
116            /**
117            * Returns a range of all the expando values where tableId = &#63;.
118            *
119            * <p>
120            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
121            * </p>
122            *
123            * @param tableId the table ID
124            * @param start the lower bound of the range of expando values
125            * @param end the upper bound of the range of expando values (not inclusive)
126            * @return the range of matching expando values
127            * @throws SystemException if a system exception occurred
128            */
129            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
130                    long tableId, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            /**
134            * Returns an ordered range of all the expando values where tableId = &#63;.
135            *
136            * <p>
137            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
138            * </p>
139            *
140            * @param tableId the table ID
141            * @param start the lower bound of the range of expando values
142            * @param end the upper bound of the range of expando values (not inclusive)
143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
144            * @return the ordered range of matching expando values
145            * @throws SystemException if a system exception occurred
146            */
147            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
148                    long tableId, int start, int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException;
151    
152            /**
153            * Returns the first expando value in the ordered set where tableId = &#63;.
154            *
155            * @param tableId the table ID
156            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
157            * @return the first matching expando value
158            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
159            * @throws SystemException if a system exception occurred
160            */
161            public com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
162                    long tableId,
163                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164                    throws com.liferay.portal.kernel.exception.SystemException,
165                            com.liferay.portlet.expando.NoSuchValueException;
166    
167            /**
168            * Returns the first expando value in the ordered set where tableId = &#63;.
169            *
170            * @param tableId the table ID
171            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
172            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
173            * @throws SystemException if a system exception occurred
174            */
175            public com.liferay.portlet.expando.model.ExpandoValue fetchByTableId_First(
176                    long tableId,
177                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178                    throws com.liferay.portal.kernel.exception.SystemException;
179    
180            /**
181            * Returns the last expando value in the ordered set where tableId = &#63;.
182            *
183            * @param tableId the table ID
184            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
185            * @return the last matching expando value
186            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
187            * @throws SystemException if a system exception occurred
188            */
189            public com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
190                    long tableId,
191                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192                    throws com.liferay.portal.kernel.exception.SystemException,
193                            com.liferay.portlet.expando.NoSuchValueException;
194    
195            /**
196            * Returns the last expando value in the ordered set where tableId = &#63;.
197            *
198            * @param tableId the table ID
199            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
200            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            public com.liferay.portlet.expando.model.ExpandoValue fetchByTableId_Last(
204                    long tableId,
205                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206                    throws com.liferay.portal.kernel.exception.SystemException;
207    
208            /**
209            * Returns the expando values before and after the current expando value in the ordered set where tableId = &#63;.
210            *
211            * @param valueId the primary key of the current expando value
212            * @param tableId the table ID
213            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
214            * @return the previous, current, and next expando value
215            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
216            * @throws SystemException if a system exception occurred
217            */
218            public com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
219                    long valueId, long tableId,
220                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221                    throws com.liferay.portal.kernel.exception.SystemException,
222                            com.liferay.portlet.expando.NoSuchValueException;
223    
224            /**
225            * Returns all the expando values where columnId = &#63;.
226            *
227            * @param columnId the column ID
228            * @return the matching expando values
229            * @throws SystemException if a system exception occurred
230            */
231            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
232                    long columnId)
233                    throws com.liferay.portal.kernel.exception.SystemException;
234    
235            /**
236            * Returns a range of all the expando values where columnId = &#63;.
237            *
238            * <p>
239            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
240            * </p>
241            *
242            * @param columnId the column ID
243            * @param start the lower bound of the range of expando values
244            * @param end the upper bound of the range of expando values (not inclusive)
245            * @return the range of matching expando values
246            * @throws SystemException if a system exception occurred
247            */
248            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
249                    long columnId, int start, int end)
250                    throws com.liferay.portal.kernel.exception.SystemException;
251    
252            /**
253            * Returns an ordered range of all the expando values where columnId = &#63;.
254            *
255            * <p>
256            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
257            * </p>
258            *
259            * @param columnId the column ID
260            * @param start the lower bound of the range of expando values
261            * @param end the upper bound of the range of expando values (not inclusive)
262            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
263            * @return the ordered range of matching expando values
264            * @throws SystemException if a system exception occurred
265            */
266            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
267                    long columnId, int start, int end,
268                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
269                    throws com.liferay.portal.kernel.exception.SystemException;
270    
271            /**
272            * Returns the first expando value in the ordered set where columnId = &#63;.
273            *
274            * @param columnId the column ID
275            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
276            * @return the first matching expando value
277            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
278            * @throws SystemException if a system exception occurred
279            */
280            public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
281                    long columnId,
282                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
283                    throws com.liferay.portal.kernel.exception.SystemException,
284                            com.liferay.portlet.expando.NoSuchValueException;
285    
286            /**
287            * Returns the first expando value in the ordered set where columnId = &#63;.
288            *
289            * @param columnId the column ID
290            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
291            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
292            * @throws SystemException if a system exception occurred
293            */
294            public com.liferay.portlet.expando.model.ExpandoValue fetchByColumnId_First(
295                    long columnId,
296                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
297                    throws com.liferay.portal.kernel.exception.SystemException;
298    
299            /**
300            * Returns the last expando value in the ordered set where columnId = &#63;.
301            *
302            * @param columnId the column ID
303            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
304            * @return the last matching expando value
305            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
306            * @throws SystemException if a system exception occurred
307            */
308            public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
309                    long columnId,
310                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
311                    throws com.liferay.portal.kernel.exception.SystemException,
312                            com.liferay.portlet.expando.NoSuchValueException;
313    
314            /**
315            * Returns the last expando value in the ordered set where columnId = &#63;.
316            *
317            * @param columnId the column ID
318            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
319            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
320            * @throws SystemException if a system exception occurred
321            */
322            public com.liferay.portlet.expando.model.ExpandoValue fetchByColumnId_Last(
323                    long columnId,
324                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
325                    throws com.liferay.portal.kernel.exception.SystemException;
326    
327            /**
328            * Returns the expando values before and after the current expando value in the ordered set where columnId = &#63;.
329            *
330            * @param valueId the primary key of the current expando value
331            * @param columnId the column ID
332            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
333            * @return the previous, current, and next expando value
334            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
335            * @throws SystemException if a system exception occurred
336            */
337            public com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
338                    long valueId, long columnId,
339                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
340                    throws com.liferay.portal.kernel.exception.SystemException,
341                            com.liferay.portlet.expando.NoSuchValueException;
342    
343            /**
344            * Returns all the expando values where rowId = &#63;.
345            *
346            * @param rowId the row ID
347            * @return the matching expando values
348            * @throws SystemException if a system exception occurred
349            */
350            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
351                    long rowId) throws com.liferay.portal.kernel.exception.SystemException;
352    
353            /**
354            * Returns a range of all the expando values where rowId = &#63;.
355            *
356            * <p>
357            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
358            * </p>
359            *
360            * @param rowId the row ID
361            * @param start the lower bound of the range of expando values
362            * @param end the upper bound of the range of expando values (not inclusive)
363            * @return the range of matching expando values
364            * @throws SystemException if a system exception occurred
365            */
366            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
367                    long rowId, int start, int end)
368                    throws com.liferay.portal.kernel.exception.SystemException;
369    
370            /**
371            * Returns an ordered range of all the expando values where rowId = &#63;.
372            *
373            * <p>
374            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
375            * </p>
376            *
377            * @param rowId the row ID
378            * @param start the lower bound of the range of expando values
379            * @param end the upper bound of the range of expando values (not inclusive)
380            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
381            * @return the ordered range of matching expando values
382            * @throws SystemException if a system exception occurred
383            */
384            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
385                    long rowId, int start, int end,
386                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
387                    throws com.liferay.portal.kernel.exception.SystemException;
388    
389            /**
390            * Returns the first expando value in the ordered set where rowId = &#63;.
391            *
392            * @param rowId the row ID
393            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
394            * @return the first matching expando value
395            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
396            * @throws SystemException if a system exception occurred
397            */
398            public com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
399                    long rowId,
400                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
401                    throws com.liferay.portal.kernel.exception.SystemException,
402                            com.liferay.portlet.expando.NoSuchValueException;
403    
404            /**
405            * Returns the first expando value in the ordered set where rowId = &#63;.
406            *
407            * @param rowId the row ID
408            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
409            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
410            * @throws SystemException if a system exception occurred
411            */
412            public com.liferay.portlet.expando.model.ExpandoValue fetchByRowId_First(
413                    long rowId,
414                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
415                    throws com.liferay.portal.kernel.exception.SystemException;
416    
417            /**
418            * Returns the last expando value in the ordered set where rowId = &#63;.
419            *
420            * @param rowId the row ID
421            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
422            * @return the last matching expando value
423            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
424            * @throws SystemException if a system exception occurred
425            */
426            public com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
427                    long rowId,
428                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
429                    throws com.liferay.portal.kernel.exception.SystemException,
430                            com.liferay.portlet.expando.NoSuchValueException;
431    
432            /**
433            * Returns the last expando value in the ordered set where rowId = &#63;.
434            *
435            * @param rowId the row ID
436            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
437            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
438            * @throws SystemException if a system exception occurred
439            */
440            public com.liferay.portlet.expando.model.ExpandoValue fetchByRowId_Last(
441                    long rowId,
442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443                    throws com.liferay.portal.kernel.exception.SystemException;
444    
445            /**
446            * Returns the expando values before and after the current expando value in the ordered set where rowId = &#63;.
447            *
448            * @param valueId the primary key of the current expando value
449            * @param rowId the row ID
450            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
451            * @return the previous, current, and next expando value
452            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
453            * @throws SystemException if a system exception occurred
454            */
455            public com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
456                    long valueId, long rowId,
457                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
458                    throws com.liferay.portal.kernel.exception.SystemException,
459                            com.liferay.portlet.expando.NoSuchValueException;
460    
461            /**
462            * Returns all the expando values where tableId = &#63; and columnId = &#63;.
463            *
464            * @param tableId the table ID
465            * @param columnId the column ID
466            * @return the matching expando values
467            * @throws SystemException if a system exception occurred
468            */
469            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
470                    long tableId, long columnId)
471                    throws com.liferay.portal.kernel.exception.SystemException;
472    
473            /**
474            * Returns a range of all the expando values where tableId = &#63; and columnId = &#63;.
475            *
476            * <p>
477            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
478            * </p>
479            *
480            * @param tableId the table ID
481            * @param columnId the column ID
482            * @param start the lower bound of the range of expando values
483            * @param end the upper bound of the range of expando values (not inclusive)
484            * @return the range of matching expando values
485            * @throws SystemException if a system exception occurred
486            */
487            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
488                    long tableId, long columnId, int start, int end)
489                    throws com.liferay.portal.kernel.exception.SystemException;
490    
491            /**
492            * Returns an ordered range of all the expando values where tableId = &#63; and columnId = &#63;.
493            *
494            * <p>
495            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
496            * </p>
497            *
498            * @param tableId the table ID
499            * @param columnId the column ID
500            * @param start the lower bound of the range of expando values
501            * @param end the upper bound of the range of expando values (not inclusive)
502            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
503            * @return the ordered range of matching expando values
504            * @throws SystemException if a system exception occurred
505            */
506            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
507                    long tableId, long columnId, int start, int end,
508                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
509                    throws com.liferay.portal.kernel.exception.SystemException;
510    
511            /**
512            * Returns the first expando value in the ordered set where tableId = &#63; and columnId = &#63;.
513            *
514            * @param tableId the table ID
515            * @param columnId the column ID
516            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
517            * @return the first matching expando value
518            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
519            * @throws SystemException if a system exception occurred
520            */
521            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
522                    long tableId, long columnId,
523                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
524                    throws com.liferay.portal.kernel.exception.SystemException,
525                            com.liferay.portlet.expando.NoSuchValueException;
526    
527            /**
528            * Returns the first expando value in the ordered set where tableId = &#63; and columnId = &#63;.
529            *
530            * @param tableId the table ID
531            * @param columnId the column ID
532            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
533            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
534            * @throws SystemException if a system exception occurred
535            */
536            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_First(
537                    long tableId, long columnId,
538                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
539                    throws com.liferay.portal.kernel.exception.SystemException;
540    
541            /**
542            * Returns the last expando value in the ordered set where tableId = &#63; and columnId = &#63;.
543            *
544            * @param tableId the table ID
545            * @param columnId the column ID
546            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
547            * @return the last matching expando value
548            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
549            * @throws SystemException if a system exception occurred
550            */
551            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
552                    long tableId, long columnId,
553                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
554                    throws com.liferay.portal.kernel.exception.SystemException,
555                            com.liferay.portlet.expando.NoSuchValueException;
556    
557            /**
558            * Returns the last expando value in the ordered set where tableId = &#63; and columnId = &#63;.
559            *
560            * @param tableId the table ID
561            * @param columnId the column ID
562            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
563            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
564            * @throws SystemException if a system exception occurred
565            */
566            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_Last(
567                    long tableId, long columnId,
568                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
569                    throws com.liferay.portal.kernel.exception.SystemException;
570    
571            /**
572            * Returns the expando values before and after the current expando value in the ordered set where tableId = &#63; and columnId = &#63;.
573            *
574            * @param valueId the primary key of the current expando value
575            * @param tableId the table ID
576            * @param columnId the column ID
577            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
578            * @return the previous, current, and next expando value
579            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
580            * @throws SystemException if a system exception occurred
581            */
582            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
583                    long valueId, long tableId, long columnId,
584                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
585                    throws com.liferay.portal.kernel.exception.SystemException,
586                            com.liferay.portlet.expando.NoSuchValueException;
587    
588            /**
589            * Returns all the expando values where tableId = &#63; and classPK = &#63;.
590            *
591            * @param tableId the table ID
592            * @param classPK the class p k
593            * @return the matching expando values
594            * @throws SystemException if a system exception occurred
595            */
596            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
597                    long tableId, long classPK)
598                    throws com.liferay.portal.kernel.exception.SystemException;
599    
600            /**
601            * Returns a range of all the expando values where tableId = &#63; and classPK = &#63;.
602            *
603            * <p>
604            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
605            * </p>
606            *
607            * @param tableId the table ID
608            * @param classPK the class p k
609            * @param start the lower bound of the range of expando values
610            * @param end the upper bound of the range of expando values (not inclusive)
611            * @return the range of matching expando values
612            * @throws SystemException if a system exception occurred
613            */
614            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
615                    long tableId, long classPK, int start, int end)
616                    throws com.liferay.portal.kernel.exception.SystemException;
617    
618            /**
619            * Returns an ordered range of all the expando values where tableId = &#63; and classPK = &#63;.
620            *
621            * <p>
622            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
623            * </p>
624            *
625            * @param tableId the table ID
626            * @param classPK the class p k
627            * @param start the lower bound of the range of expando values
628            * @param end the upper bound of the range of expando values (not inclusive)
629            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
630            * @return the ordered range of matching expando values
631            * @throws SystemException if a system exception occurred
632            */
633            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
634                    long tableId, long classPK, int start, int end,
635                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
636                    throws com.liferay.portal.kernel.exception.SystemException;
637    
638            /**
639            * Returns the first expando value in the ordered set where tableId = &#63; and classPK = &#63;.
640            *
641            * @param tableId the table ID
642            * @param classPK the class p k
643            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
644            * @return the first matching expando value
645            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
646            * @throws SystemException if a system exception occurred
647            */
648            public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
649                    long tableId, long classPK,
650                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
651                    throws com.liferay.portal.kernel.exception.SystemException,
652                            com.liferay.portlet.expando.NoSuchValueException;
653    
654            /**
655            * Returns the first expando value in the ordered set where tableId = &#63; and classPK = &#63;.
656            *
657            * @param tableId the table ID
658            * @param classPK the class p k
659            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
660            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
661            * @throws SystemException if a system exception occurred
662            */
663            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_CPK_First(
664                    long tableId, long classPK,
665                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
666                    throws com.liferay.portal.kernel.exception.SystemException;
667    
668            /**
669            * Returns the last expando value in the ordered set where tableId = &#63; and classPK = &#63;.
670            *
671            * @param tableId the table ID
672            * @param classPK the class p k
673            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
674            * @return the last matching expando value
675            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
676            * @throws SystemException if a system exception occurred
677            */
678            public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
679                    long tableId, long classPK,
680                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
681                    throws com.liferay.portal.kernel.exception.SystemException,
682                            com.liferay.portlet.expando.NoSuchValueException;
683    
684            /**
685            * Returns the last expando value in the ordered set where tableId = &#63; and classPK = &#63;.
686            *
687            * @param tableId the table ID
688            * @param classPK the class p k
689            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
690            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
691            * @throws SystemException if a system exception occurred
692            */
693            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_CPK_Last(
694                    long tableId, long classPK,
695                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
696                    throws com.liferay.portal.kernel.exception.SystemException;
697    
698            /**
699            * Returns the expando values before and after the current expando value in the ordered set where tableId = &#63; and classPK = &#63;.
700            *
701            * @param valueId the primary key of the current expando value
702            * @param tableId the table ID
703            * @param classPK the class p k
704            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
705            * @return the previous, current, and next expando value
706            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
707            * @throws SystemException if a system exception occurred
708            */
709            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
710                    long valueId, long tableId, long classPK,
711                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
712                    throws com.liferay.portal.kernel.exception.SystemException,
713                            com.liferay.portlet.expando.NoSuchValueException;
714    
715            /**
716            * Returns all the expando values where tableId = &#63; and rowId = &#63;.
717            *
718            * @param tableId the table ID
719            * @param rowId the row ID
720            * @return the matching expando values
721            * @throws SystemException if a system exception occurred
722            */
723            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
724                    long tableId, long rowId)
725                    throws com.liferay.portal.kernel.exception.SystemException;
726    
727            /**
728            * Returns a range of all the expando values where tableId = &#63; and rowId = &#63;.
729            *
730            * <p>
731            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
732            * </p>
733            *
734            * @param tableId the table ID
735            * @param rowId the row ID
736            * @param start the lower bound of the range of expando values
737            * @param end the upper bound of the range of expando values (not inclusive)
738            * @return the range of matching expando values
739            * @throws SystemException if a system exception occurred
740            */
741            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
742                    long tableId, long rowId, int start, int end)
743                    throws com.liferay.portal.kernel.exception.SystemException;
744    
745            /**
746            * Returns an ordered range of all the expando values where tableId = &#63; and rowId = &#63;.
747            *
748            * <p>
749            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
750            * </p>
751            *
752            * @param tableId the table ID
753            * @param rowId the row ID
754            * @param start the lower bound of the range of expando values
755            * @param end the upper bound of the range of expando values (not inclusive)
756            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
757            * @return the ordered range of matching expando values
758            * @throws SystemException if a system exception occurred
759            */
760            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
761                    long tableId, long rowId, int start, int end,
762                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
763                    throws com.liferay.portal.kernel.exception.SystemException;
764    
765            /**
766            * Returns the first expando value in the ordered set where tableId = &#63; and rowId = &#63;.
767            *
768            * @param tableId the table ID
769            * @param rowId the row ID
770            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
771            * @return the first matching expando value
772            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
773            * @throws SystemException if a system exception occurred
774            */
775            public com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
776                    long tableId, long rowId,
777                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
778                    throws com.liferay.portal.kernel.exception.SystemException,
779                            com.liferay.portlet.expando.NoSuchValueException;
780    
781            /**
782            * Returns the first expando value in the ordered set where tableId = &#63; and rowId = &#63;.
783            *
784            * @param tableId the table ID
785            * @param rowId the row ID
786            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
787            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
788            * @throws SystemException if a system exception occurred
789            */
790            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_R_First(
791                    long tableId, long rowId,
792                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
793                    throws com.liferay.portal.kernel.exception.SystemException;
794    
795            /**
796            * Returns the last expando value in the ordered set where tableId = &#63; and rowId = &#63;.
797            *
798            * @param tableId the table ID
799            * @param rowId the row ID
800            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
801            * @return the last matching expando value
802            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
803            * @throws SystemException if a system exception occurred
804            */
805            public com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
806                    long tableId, long rowId,
807                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
808                    throws com.liferay.portal.kernel.exception.SystemException,
809                            com.liferay.portlet.expando.NoSuchValueException;
810    
811            /**
812            * Returns the last expando value in the ordered set where tableId = &#63; and rowId = &#63;.
813            *
814            * @param tableId the table ID
815            * @param rowId the row ID
816            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
817            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
818            * @throws SystemException if a system exception occurred
819            */
820            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_R_Last(
821                    long tableId, long rowId,
822                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
823                    throws com.liferay.portal.kernel.exception.SystemException;
824    
825            /**
826            * Returns the expando values before and after the current expando value in the ordered set where tableId = &#63; and rowId = &#63;.
827            *
828            * @param valueId the primary key of the current expando value
829            * @param tableId the table ID
830            * @param rowId the row ID
831            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
832            * @return the previous, current, and next expando value
833            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
834            * @throws SystemException if a system exception occurred
835            */
836            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
837                    long valueId, long tableId, long rowId,
838                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
839                    throws com.liferay.portal.kernel.exception.SystemException,
840                            com.liferay.portlet.expando.NoSuchValueException;
841    
842            /**
843            * Returns the expando value where columnId = &#63; and rowId = &#63; or throws a {@link com.liferay.portlet.expando.NoSuchValueException} if it could not be found.
844            *
845            * @param columnId the column ID
846            * @param rowId the row ID
847            * @return the matching expando value
848            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
849            * @throws SystemException if a system exception occurred
850            */
851            public com.liferay.portlet.expando.model.ExpandoValue findByC_R(
852                    long columnId, long rowId)
853                    throws com.liferay.portal.kernel.exception.SystemException,
854                            com.liferay.portlet.expando.NoSuchValueException;
855    
856            /**
857            * Returns the expando value where columnId = &#63; and rowId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
858            *
859            * @param columnId the column ID
860            * @param rowId the row ID
861            * @return the matching expando value, or <code>null</code> if a matching expando value could not be found
862            * @throws SystemException if a system exception occurred
863            */
864            public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
865                    long columnId, long rowId)
866                    throws com.liferay.portal.kernel.exception.SystemException;
867    
868            /**
869            * Returns the expando value where columnId = &#63; and rowId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
870            *
871            * @param columnId the column ID
872            * @param rowId the row ID
873            * @param retrieveFromCache whether to use the finder cache
874            * @return the matching expando value, or <code>null</code> if a matching expando value could not be found
875            * @throws SystemException if a system exception occurred
876            */
877            public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
878                    long columnId, long rowId, boolean retrieveFromCache)
879                    throws com.liferay.portal.kernel.exception.SystemException;
880    
881            /**
882            * Returns all the expando values where classNameId = &#63; and classPK = &#63;.
883            *
884            * @param classNameId the class name ID
885            * @param classPK the class p k
886            * @return the matching expando values
887            * @throws SystemException if a system exception occurred
888            */
889            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
890                    long classNameId, long classPK)
891                    throws com.liferay.portal.kernel.exception.SystemException;
892    
893            /**
894            * Returns a range of all the expando values where classNameId = &#63; and classPK = &#63;.
895            *
896            * <p>
897            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
898            * </p>
899            *
900            * @param classNameId the class name ID
901            * @param classPK the class p k
902            * @param start the lower bound of the range of expando values
903            * @param end the upper bound of the range of expando values (not inclusive)
904            * @return the range of matching expando values
905            * @throws SystemException if a system exception occurred
906            */
907            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
908                    long classNameId, long classPK, int start, int end)
909                    throws com.liferay.portal.kernel.exception.SystemException;
910    
911            /**
912            * Returns an ordered range of all the expando values where classNameId = &#63; and classPK = &#63;.
913            *
914            * <p>
915            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
916            * </p>
917            *
918            * @param classNameId the class name ID
919            * @param classPK the class p k
920            * @param start the lower bound of the range of expando values
921            * @param end the upper bound of the range of expando values (not inclusive)
922            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
923            * @return the ordered range of matching expando values
924            * @throws SystemException if a system exception occurred
925            */
926            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
927                    long classNameId, long classPK, int start, int end,
928                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
929                    throws com.liferay.portal.kernel.exception.SystemException;
930    
931            /**
932            * Returns the first expando value in the ordered set where classNameId = &#63; and classPK = &#63;.
933            *
934            * @param classNameId the class name ID
935            * @param classPK the class p k
936            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
937            * @return the first matching expando value
938            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
939            * @throws SystemException if a system exception occurred
940            */
941            public com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
942                    long classNameId, long classPK,
943                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
944                    throws com.liferay.portal.kernel.exception.SystemException,
945                            com.liferay.portlet.expando.NoSuchValueException;
946    
947            /**
948            * Returns the first expando value in the ordered set where classNameId = &#63; and classPK = &#63;.
949            *
950            * @param classNameId the class name ID
951            * @param classPK the class p k
952            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
953            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
954            * @throws SystemException if a system exception occurred
955            */
956            public com.liferay.portlet.expando.model.ExpandoValue fetchByC_C_First(
957                    long classNameId, long classPK,
958                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
959                    throws com.liferay.portal.kernel.exception.SystemException;
960    
961            /**
962            * Returns the last expando value in the ordered set where classNameId = &#63; and classPK = &#63;.
963            *
964            * @param classNameId the class name ID
965            * @param classPK the class p k
966            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
967            * @return the last matching expando value
968            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
969            * @throws SystemException if a system exception occurred
970            */
971            public com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
972                    long classNameId, long classPK,
973                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
974                    throws com.liferay.portal.kernel.exception.SystemException,
975                            com.liferay.portlet.expando.NoSuchValueException;
976    
977            /**
978            * Returns the last expando value in the ordered set where classNameId = &#63; and classPK = &#63;.
979            *
980            * @param classNameId the class name ID
981            * @param classPK the class p k
982            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
983            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
984            * @throws SystemException if a system exception occurred
985            */
986            public com.liferay.portlet.expando.model.ExpandoValue fetchByC_C_Last(
987                    long classNameId, long classPK,
988                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
989                    throws com.liferay.portal.kernel.exception.SystemException;
990    
991            /**
992            * Returns the expando values before and after the current expando value in the ordered set where classNameId = &#63; and classPK = &#63;.
993            *
994            * @param valueId the primary key of the current expando value
995            * @param classNameId the class name ID
996            * @param classPK the class p k
997            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
998            * @return the previous, current, and next expando value
999            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
1000            * @throws SystemException if a system exception occurred
1001            */
1002            public com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
1003                    long valueId, long classNameId, long classPK,
1004                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1005                    throws com.liferay.portal.kernel.exception.SystemException,
1006                            com.liferay.portlet.expando.NoSuchValueException;
1007    
1008            /**
1009            * Returns the expando value where tableId = &#63; and columnId = &#63; and classPK = &#63; or throws a {@link com.liferay.portlet.expando.NoSuchValueException} if it could not be found.
1010            *
1011            * @param tableId the table ID
1012            * @param columnId the column ID
1013            * @param classPK the class p k
1014            * @return the matching expando value
1015            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
1016            * @throws SystemException if a system exception occurred
1017            */
1018            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
1019                    long tableId, long columnId, long classPK)
1020                    throws com.liferay.portal.kernel.exception.SystemException,
1021                            com.liferay.portlet.expando.NoSuchValueException;
1022    
1023            /**
1024            * Returns the expando value where tableId = &#63; and columnId = &#63; and classPK = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
1025            *
1026            * @param tableId the table ID
1027            * @param columnId the column ID
1028            * @param classPK the class p k
1029            * @return the matching expando value, or <code>null</code> if a matching expando value could not be found
1030            * @throws SystemException if a system exception occurred
1031            */
1032            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
1033                    long tableId, long columnId, long classPK)
1034                    throws com.liferay.portal.kernel.exception.SystemException;
1035    
1036            /**
1037            * Returns the expando value where tableId = &#63; and columnId = &#63; and classPK = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
1038            *
1039            * @param tableId the table ID
1040            * @param columnId the column ID
1041            * @param classPK the class p k
1042            * @param retrieveFromCache whether to use the finder cache
1043            * @return the matching expando value, or <code>null</code> if a matching expando value could not be found
1044            * @throws SystemException if a system exception occurred
1045            */
1046            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
1047                    long tableId, long columnId, long classPK, boolean retrieveFromCache)
1048                    throws com.liferay.portal.kernel.exception.SystemException;
1049    
1050            /**
1051            * Returns all the expando values where tableId = &#63; and columnId = &#63; and data = &#63;.
1052            *
1053            * @param tableId the table ID
1054            * @param columnId the column ID
1055            * @param data the data
1056            * @return the matching expando values
1057            * @throws SystemException if a system exception occurred
1058            */
1059            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
1060                    long tableId, long columnId, java.lang.String data)
1061                    throws com.liferay.portal.kernel.exception.SystemException;
1062    
1063            /**
1064            * Returns a range of all the expando values where tableId = &#63; and columnId = &#63; and data = &#63;.
1065            *
1066            * <p>
1067            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1068            * </p>
1069            *
1070            * @param tableId the table ID
1071            * @param columnId the column ID
1072            * @param data the data
1073            * @param start the lower bound of the range of expando values
1074            * @param end the upper bound of the range of expando values (not inclusive)
1075            * @return the range of matching expando values
1076            * @throws SystemException if a system exception occurred
1077            */
1078            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
1079                    long tableId, long columnId, java.lang.String data, int start, int end)
1080                    throws com.liferay.portal.kernel.exception.SystemException;
1081    
1082            /**
1083            * Returns an ordered range of all the expando values where tableId = &#63; and columnId = &#63; and data = &#63;.
1084            *
1085            * <p>
1086            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1087            * </p>
1088            *
1089            * @param tableId the table ID
1090            * @param columnId the column ID
1091            * @param data the data
1092            * @param start the lower bound of the range of expando values
1093            * @param end the upper bound of the range of expando values (not inclusive)
1094            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1095            * @return the ordered range of matching expando values
1096            * @throws SystemException if a system exception occurred
1097            */
1098            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
1099                    long tableId, long columnId, java.lang.String data, int start, int end,
1100                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1101                    throws com.liferay.portal.kernel.exception.SystemException;
1102    
1103            /**
1104            * Returns the first expando value in the ordered set where tableId = &#63; and columnId = &#63; and data = &#63;.
1105            *
1106            * @param tableId the table ID
1107            * @param columnId the column ID
1108            * @param data the data
1109            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1110            * @return the first matching expando value
1111            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
1112            * @throws SystemException if a system exception occurred
1113            */
1114            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
1115                    long tableId, long columnId, java.lang.String data,
1116                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1117                    throws com.liferay.portal.kernel.exception.SystemException,
1118                            com.liferay.portlet.expando.NoSuchValueException;
1119    
1120            /**
1121            * Returns the first expando value in the ordered set where tableId = &#63; and columnId = &#63; and data = &#63;.
1122            *
1123            * @param tableId the table ID
1124            * @param columnId the column ID
1125            * @param data the data
1126            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1127            * @return the first matching expando value, or <code>null</code> if a matching expando value could not be found
1128            * @throws SystemException if a system exception occurred
1129            */
1130            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_D_First(
1131                    long tableId, long columnId, java.lang.String data,
1132                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1133                    throws com.liferay.portal.kernel.exception.SystemException;
1134    
1135            /**
1136            * Returns the last expando value in the ordered set where tableId = &#63; and columnId = &#63; and data = &#63;.
1137            *
1138            * @param tableId the table ID
1139            * @param columnId the column ID
1140            * @param data the data
1141            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1142            * @return the last matching expando value
1143            * @throws com.liferay.portlet.expando.NoSuchValueException if a matching expando value could not be found
1144            * @throws SystemException if a system exception occurred
1145            */
1146            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
1147                    long tableId, long columnId, java.lang.String data,
1148                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1149                    throws com.liferay.portal.kernel.exception.SystemException,
1150                            com.liferay.portlet.expando.NoSuchValueException;
1151    
1152            /**
1153            * Returns the last expando value in the ordered set where tableId = &#63; and columnId = &#63; and data = &#63;.
1154            *
1155            * @param tableId the table ID
1156            * @param columnId the column ID
1157            * @param data the data
1158            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1159            * @return the last matching expando value, or <code>null</code> if a matching expando value could not be found
1160            * @throws SystemException if a system exception occurred
1161            */
1162            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_D_Last(
1163                    long tableId, long columnId, java.lang.String data,
1164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1165                    throws com.liferay.portal.kernel.exception.SystemException;
1166    
1167            /**
1168            * Returns the expando values before and after the current expando value in the ordered set where tableId = &#63; and columnId = &#63; and data = &#63;.
1169            *
1170            * @param valueId the primary key of the current expando value
1171            * @param tableId the table ID
1172            * @param columnId the column ID
1173            * @param data the data
1174            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1175            * @return the previous, current, and next expando value
1176            * @throws com.liferay.portlet.expando.NoSuchValueException if a expando value with the primary key could not be found
1177            * @throws SystemException if a system exception occurred
1178            */
1179            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
1180                    long valueId, long tableId, long columnId, java.lang.String data,
1181                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1182                    throws com.liferay.portal.kernel.exception.SystemException,
1183                            com.liferay.portlet.expando.NoSuchValueException;
1184    
1185            /**
1186            * Returns all the expando values.
1187            *
1188            * @return the expando values
1189            * @throws SystemException if a system exception occurred
1190            */
1191            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
1192                    throws com.liferay.portal.kernel.exception.SystemException;
1193    
1194            /**
1195            * Returns a range of all the expando values.
1196            *
1197            * <p>
1198            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1199            * </p>
1200            *
1201            * @param start the lower bound of the range of expando values
1202            * @param end the upper bound of the range of expando values (not inclusive)
1203            * @return the range of expando values
1204            * @throws SystemException if a system exception occurred
1205            */
1206            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
1207                    int start, int end)
1208                    throws com.liferay.portal.kernel.exception.SystemException;
1209    
1210            /**
1211            * Returns an ordered range of all the expando values.
1212            *
1213            * <p>
1214            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
1215            * </p>
1216            *
1217            * @param start the lower bound of the range of expando values
1218            * @param end the upper bound of the range of expando values (not inclusive)
1219            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1220            * @return the ordered range of expando values
1221            * @throws SystemException if a system exception occurred
1222            */
1223            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
1224                    int start, int end,
1225                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1226                    throws com.liferay.portal.kernel.exception.SystemException;
1227    
1228            /**
1229            * Removes all the expando values where tableId = &#63; from the database.
1230            *
1231            * @param tableId the table ID
1232            * @throws SystemException if a system exception occurred
1233            */
1234            public void removeByTableId(long tableId)
1235                    throws com.liferay.portal.kernel.exception.SystemException;
1236    
1237            /**
1238            * Removes all the expando values where columnId = &#63; from the database.
1239            *
1240            * @param columnId the column ID
1241            * @throws SystemException if a system exception occurred
1242            */
1243            public void removeByColumnId(long columnId)
1244                    throws com.liferay.portal.kernel.exception.SystemException;
1245    
1246            /**
1247            * Removes all the expando values where rowId = &#63; from the database.
1248            *
1249            * @param rowId the row ID
1250            * @throws SystemException if a system exception occurred
1251            */
1252            public void removeByRowId(long rowId)
1253                    throws com.liferay.portal.kernel.exception.SystemException;
1254    
1255            /**
1256            * Removes all the expando values where tableId = &#63; and columnId = &#63; from the database.
1257            *
1258            * @param tableId the table ID
1259            * @param columnId the column ID
1260            * @throws SystemException if a system exception occurred
1261            */
1262            public void removeByT_C(long tableId, long columnId)
1263                    throws com.liferay.portal.kernel.exception.SystemException;
1264    
1265            /**
1266            * Removes all the expando values where tableId = &#63; and classPK = &#63; from the database.
1267            *
1268            * @param tableId the table ID
1269            * @param classPK the class p k
1270            * @throws SystemException if a system exception occurred
1271            */
1272            public void removeByT_CPK(long tableId, long classPK)
1273                    throws com.liferay.portal.kernel.exception.SystemException;
1274    
1275            /**
1276            * Removes all the expando values where tableId = &#63; and rowId = &#63; from the database.
1277            *
1278            * @param tableId the table ID
1279            * @param rowId the row ID
1280            * @throws SystemException if a system exception occurred
1281            */
1282            public void removeByT_R(long tableId, long rowId)
1283                    throws com.liferay.portal.kernel.exception.SystemException;
1284    
1285            /**
1286            * Removes the expando value where columnId = &#63; and rowId = &#63; from the database.
1287            *
1288            * @param columnId the column ID
1289            * @param rowId the row ID
1290            * @return the expando value that was removed
1291            * @throws SystemException if a system exception occurred
1292            */
1293            public com.liferay.portlet.expando.model.ExpandoValue removeByC_R(
1294                    long columnId, long rowId)
1295                    throws com.liferay.portal.kernel.exception.SystemException,
1296                            com.liferay.portlet.expando.NoSuchValueException;
1297    
1298            /**
1299            * Removes all the expando values where classNameId = &#63; and classPK = &#63; from the database.
1300            *
1301            * @param classNameId the class name ID
1302            * @param classPK the class p k
1303            * @throws SystemException if a system exception occurred
1304            */
1305            public void removeByC_C(long classNameId, long classPK)
1306                    throws com.liferay.portal.kernel.exception.SystemException;
1307    
1308            /**
1309            * Removes the expando value where tableId = &#63; and columnId = &#63; and classPK = &#63; from the database.
1310            *
1311            * @param tableId the table ID
1312            * @param columnId the column ID
1313            * @param classPK the class p k
1314            * @return the expando value that was removed
1315            * @throws SystemException if a system exception occurred
1316            */
1317            public com.liferay.portlet.expando.model.ExpandoValue removeByT_C_C(
1318                    long tableId, long columnId, long classPK)
1319                    throws com.liferay.portal.kernel.exception.SystemException,
1320                            com.liferay.portlet.expando.NoSuchValueException;
1321    
1322            /**
1323            * Removes all the expando values where tableId = &#63; and columnId = &#63; and data = &#63; from the database.
1324            *
1325            * @param tableId the table ID
1326            * @param columnId the column ID
1327            * @param data the data
1328            * @throws SystemException if a system exception occurred
1329            */
1330            public void removeByT_C_D(long tableId, long columnId, java.lang.String data)
1331                    throws com.liferay.portal.kernel.exception.SystemException;
1332    
1333            /**
1334            * Removes all the expando values from the database.
1335            *
1336            * @throws SystemException if a system exception occurred
1337            */
1338            public void removeAll()
1339                    throws com.liferay.portal.kernel.exception.SystemException;
1340    
1341            /**
1342            * Returns the number of expando values where tableId = &#63;.
1343            *
1344            * @param tableId the table ID
1345            * @return the number of matching expando values
1346            * @throws SystemException if a system exception occurred
1347            */
1348            public int countByTableId(long tableId)
1349                    throws com.liferay.portal.kernel.exception.SystemException;
1350    
1351            /**
1352            * Returns the number of expando values where columnId = &#63;.
1353            *
1354            * @param columnId the column ID
1355            * @return the number of matching expando values
1356            * @throws SystemException if a system exception occurred
1357            */
1358            public int countByColumnId(long columnId)
1359                    throws com.liferay.portal.kernel.exception.SystemException;
1360    
1361            /**
1362            * Returns the number of expando values where rowId = &#63;.
1363            *
1364            * @param rowId the row ID
1365            * @return the number of matching expando values
1366            * @throws SystemException if a system exception occurred
1367            */
1368            public int countByRowId(long rowId)
1369                    throws com.liferay.portal.kernel.exception.SystemException;
1370    
1371            /**
1372            * Returns the number of expando values where tableId = &#63; and columnId = &#63;.
1373            *
1374            * @param tableId the table ID
1375            * @param columnId the column ID
1376            * @return the number of matching expando values
1377            * @throws SystemException if a system exception occurred
1378            */
1379            public int countByT_C(long tableId, long columnId)
1380                    throws com.liferay.portal.kernel.exception.SystemException;
1381    
1382            /**
1383            * Returns the number of expando values where tableId = &#63; and classPK = &#63;.
1384            *
1385            * @param tableId the table ID
1386            * @param classPK the class p k
1387            * @return the number of matching expando values
1388            * @throws SystemException if a system exception occurred
1389            */
1390            public int countByT_CPK(long tableId, long classPK)
1391                    throws com.liferay.portal.kernel.exception.SystemException;
1392    
1393            /**
1394            * Returns the number of expando values where tableId = &#63; and rowId = &#63;.
1395            *
1396            * @param tableId the table ID
1397            * @param rowId the row ID
1398            * @return the number of matching expando values
1399            * @throws SystemException if a system exception occurred
1400            */
1401            public int countByT_R(long tableId, long rowId)
1402                    throws com.liferay.portal.kernel.exception.SystemException;
1403    
1404            /**
1405            * Returns the number of expando values where columnId = &#63; and rowId = &#63;.
1406            *
1407            * @param columnId the column ID
1408            * @param rowId the row ID
1409            * @return the number of matching expando values
1410            * @throws SystemException if a system exception occurred
1411            */
1412            public int countByC_R(long columnId, long rowId)
1413                    throws com.liferay.portal.kernel.exception.SystemException;
1414    
1415            /**
1416            * Returns the number of expando values where classNameId = &#63; and classPK = &#63;.
1417            *
1418            * @param classNameId the class name ID
1419            * @param classPK the class p k
1420            * @return the number of matching expando values
1421            * @throws SystemException if a system exception occurred
1422            */
1423            public int countByC_C(long classNameId, long classPK)
1424                    throws com.liferay.portal.kernel.exception.SystemException;
1425    
1426            /**
1427            * Returns the number of expando values where tableId = &#63; and columnId = &#63; and classPK = &#63;.
1428            *
1429            * @param tableId the table ID
1430            * @param columnId the column ID
1431            * @param classPK the class p k
1432            * @return the number of matching expando values
1433            * @throws SystemException if a system exception occurred
1434            */
1435            public int countByT_C_C(long tableId, long columnId, long classPK)
1436                    throws com.liferay.portal.kernel.exception.SystemException;
1437    
1438            /**
1439            * Returns the number of expando values where tableId = &#63; and columnId = &#63; and data = &#63;.
1440            *
1441            * @param tableId the table ID
1442            * @param columnId the column ID
1443            * @param data the data
1444            * @return the number of matching expando values
1445            * @throws SystemException if a system exception occurred
1446            */
1447            public int countByT_C_D(long tableId, long columnId, java.lang.String data)
1448                    throws com.liferay.portal.kernel.exception.SystemException;
1449    
1450            /**
1451            * Returns the number of expando values.
1452            *
1453            * @return the number of expando values
1454            * @throws SystemException if a system exception occurred
1455            */
1456            public int countAll()
1457                    throws com.liferay.portal.kernel.exception.SystemException;
1458    }