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