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