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