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