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