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