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