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