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