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