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