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