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     * @author    Brian Wing Shun Chan
029     * @see       ExpandoValuePersistence
030     * @see       ExpandoValuePersistenceImpl
031     * @generated
032     */
033    public class ExpandoValueUtil {
034            /**
035             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
036             */
037            public static void clearCache() {
038                    getPersistence().clearCache();
039            }
040    
041            /**
042             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
043             */
044            public static void clearCache(ExpandoValue expandoValue) {
045                    getPersistence().clearCache(expandoValue);
046            }
047    
048            /**
049             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
050             */
051            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052                    throws SystemException {
053                    return getPersistence().countWithDynamicQuery(dynamicQuery);
054            }
055    
056            /**
057             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
058             */
059            public static List<ExpandoValue> findWithDynamicQuery(
060                    DynamicQuery dynamicQuery) throws SystemException {
061                    return getPersistence().findWithDynamicQuery(dynamicQuery);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
066             */
067            public static List<ExpandoValue> findWithDynamicQuery(
068                    DynamicQuery dynamicQuery, int start, int end)
069                    throws SystemException {
070                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071            }
072    
073            /**
074             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
075             */
076            public static List<ExpandoValue> findWithDynamicQuery(
077                    DynamicQuery dynamicQuery, int start, int end,
078                    OrderByComparator orderByComparator) throws SystemException {
079                    return getPersistence()
080                                       .findWithDynamicQuery(dynamicQuery, start, end,
081                            orderByComparator);
082            }
083    
084            /**
085             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
086             */
087            public static ExpandoValue remove(ExpandoValue expandoValue)
088                    throws SystemException {
089                    return getPersistence().remove(expandoValue);
090            }
091    
092            /**
093             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
094             */
095            public static ExpandoValue update(ExpandoValue expandoValue, boolean merge)
096                    throws SystemException {
097                    return getPersistence().update(expandoValue, merge);
098            }
099    
100            /**
101             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
102             */
103            public static ExpandoValue update(ExpandoValue expandoValue, boolean merge,
104                    ServiceContext serviceContext) throws SystemException {
105                    return getPersistence().update(expandoValue, merge, serviceContext);
106            }
107    
108            public static void cacheResult(
109                    com.liferay.portlet.expando.model.ExpandoValue expandoValue) {
110                    getPersistence().cacheResult(expandoValue);
111            }
112    
113            public static void cacheResult(
114                    java.util.List<com.liferay.portlet.expando.model.ExpandoValue> expandoValues) {
115                    getPersistence().cacheResult(expandoValues);
116            }
117    
118            public static com.liferay.portlet.expando.model.ExpandoValue create(
119                    long valueId) {
120                    return getPersistence().create(valueId);
121            }
122    
123            public static com.liferay.portlet.expando.model.ExpandoValue remove(
124                    long valueId)
125                    throws com.liferay.portal.kernel.exception.SystemException,
126                            com.liferay.portlet.expando.NoSuchValueException {
127                    return getPersistence().remove(valueId);
128            }
129    
130            public static com.liferay.portlet.expando.model.ExpandoValue updateImpl(
131                    com.liferay.portlet.expando.model.ExpandoValue expandoValue,
132                    boolean merge)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return getPersistence().updateImpl(expandoValue, merge);
135            }
136    
137            public static com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
138                    long valueId)
139                    throws com.liferay.portal.kernel.exception.SystemException,
140                            com.liferay.portlet.expando.NoSuchValueException {
141                    return getPersistence().findByPrimaryKey(valueId);
142            }
143    
144            public static com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
145                    long valueId)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return getPersistence().fetchByPrimaryKey(valueId);
148            }
149    
150            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
151                    long tableId)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return getPersistence().findByTableId(tableId);
154            }
155    
156            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
157                    long tableId, int start, int end)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return getPersistence().findByTableId(tableId, start, end);
160            }
161    
162            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
163                    long tableId, int start, int end,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return getPersistence()
167                                       .findByTableId(tableId, start, end, orderByComparator);
168            }
169    
170            public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
171                    long tableId,
172                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173                    throws com.liferay.portal.kernel.exception.SystemException,
174                            com.liferay.portlet.expando.NoSuchValueException {
175                    return getPersistence().findByTableId_First(tableId, orderByComparator);
176            }
177    
178            public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
179                    long tableId,
180                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181                    throws com.liferay.portal.kernel.exception.SystemException,
182                            com.liferay.portlet.expando.NoSuchValueException {
183                    return getPersistence().findByTableId_Last(tableId, orderByComparator);
184            }
185    
186            public static com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
187                    long valueId, long tableId,
188                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
189                    throws com.liferay.portal.kernel.exception.SystemException,
190                            com.liferay.portlet.expando.NoSuchValueException {
191                    return getPersistence()
192                                       .findByTableId_PrevAndNext(valueId, tableId,
193                            orderByComparator);
194            }
195    
196            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
197                    long columnId)
198                    throws com.liferay.portal.kernel.exception.SystemException {
199                    return getPersistence().findByColumnId(columnId);
200            }
201    
202            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
203                    long columnId, int start, int end)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return getPersistence().findByColumnId(columnId, start, end);
206            }
207    
208            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
209                    long columnId, int start, int end,
210                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211                    throws com.liferay.portal.kernel.exception.SystemException {
212                    return getPersistence()
213                                       .findByColumnId(columnId, start, end, orderByComparator);
214            }
215    
216            public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
217                    long columnId,
218                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
219                    throws com.liferay.portal.kernel.exception.SystemException,
220                            com.liferay.portlet.expando.NoSuchValueException {
221                    return getPersistence().findByColumnId_First(columnId, orderByComparator);
222            }
223    
224            public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
225                    long columnId,
226                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
227                    throws com.liferay.portal.kernel.exception.SystemException,
228                            com.liferay.portlet.expando.NoSuchValueException {
229                    return getPersistence().findByColumnId_Last(columnId, orderByComparator);
230            }
231    
232            public static com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
233                    long valueId, long columnId,
234                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235                    throws com.liferay.portal.kernel.exception.SystemException,
236                            com.liferay.portlet.expando.NoSuchValueException {
237                    return getPersistence()
238                                       .findByColumnId_PrevAndNext(valueId, columnId,
239                            orderByComparator);
240            }
241    
242            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
243                    long rowId) throws com.liferay.portal.kernel.exception.SystemException {
244                    return getPersistence().findByRowId(rowId);
245            }
246    
247            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
248                    long rowId, int start, int end)
249                    throws com.liferay.portal.kernel.exception.SystemException {
250                    return getPersistence().findByRowId(rowId, start, end);
251            }
252    
253            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
254                    long rowId, int start, int end,
255                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
256                    throws com.liferay.portal.kernel.exception.SystemException {
257                    return getPersistence().findByRowId(rowId, start, end, orderByComparator);
258            }
259    
260            public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
261                    long rowId,
262                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
263                    throws com.liferay.portal.kernel.exception.SystemException,
264                            com.liferay.portlet.expando.NoSuchValueException {
265                    return getPersistence().findByRowId_First(rowId, orderByComparator);
266            }
267    
268            public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
269                    long rowId,
270                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
271                    throws com.liferay.portal.kernel.exception.SystemException,
272                            com.liferay.portlet.expando.NoSuchValueException {
273                    return getPersistence().findByRowId_Last(rowId, orderByComparator);
274            }
275    
276            public static com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
277                    long valueId, long rowId,
278                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
279                    throws com.liferay.portal.kernel.exception.SystemException,
280                            com.liferay.portlet.expando.NoSuchValueException {
281                    return getPersistence()
282                                       .findByRowId_PrevAndNext(valueId, rowId, orderByComparator);
283            }
284    
285            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
286                    long tableId, long columnId)
287                    throws com.liferay.portal.kernel.exception.SystemException {
288                    return getPersistence().findByT_C(tableId, columnId);
289            }
290    
291            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
292                    long tableId, long columnId, int start, int end)
293                    throws com.liferay.portal.kernel.exception.SystemException {
294                    return getPersistence().findByT_C(tableId, columnId, start, end);
295            }
296    
297            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
298                    long tableId, long columnId, int start, int end,
299                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
300                    throws com.liferay.portal.kernel.exception.SystemException {
301                    return getPersistence()
302                                       .findByT_C(tableId, columnId, start, end, orderByComparator);
303            }
304    
305            public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
306                    long tableId, long columnId,
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                                       .findByT_C_First(tableId, columnId, orderByComparator);
312            }
313    
314            public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
315                    long tableId, long columnId,
316                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
317                    throws com.liferay.portal.kernel.exception.SystemException,
318                            com.liferay.portlet.expando.NoSuchValueException {
319                    return getPersistence()
320                                       .findByT_C_Last(tableId, columnId, orderByComparator);
321            }
322    
323            public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
324                    long valueId, long tableId, long columnId,
325                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
326                    throws com.liferay.portal.kernel.exception.SystemException,
327                            com.liferay.portlet.expando.NoSuchValueException {
328                    return getPersistence()
329                                       .findByT_C_PrevAndNext(valueId, tableId, columnId,
330                            orderByComparator);
331            }
332    
333            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
334                    long tableId, long classPK)
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    return getPersistence().findByT_CPK(tableId, classPK);
337            }
338    
339            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
340                    long tableId, long classPK, int start, int end)
341                    throws com.liferay.portal.kernel.exception.SystemException {
342                    return getPersistence().findByT_CPK(tableId, classPK, start, end);
343            }
344    
345            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
346                    long tableId, long classPK, int start, int end,
347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
348                    throws com.liferay.portal.kernel.exception.SystemException {
349                    return getPersistence()
350                                       .findByT_CPK(tableId, classPK, start, end, orderByComparator);
351            }
352    
353            public static com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
354                    long tableId, long classPK,
355                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
356                    throws com.liferay.portal.kernel.exception.SystemException,
357                            com.liferay.portlet.expando.NoSuchValueException {
358                    return getPersistence()
359                                       .findByT_CPK_First(tableId, classPK, orderByComparator);
360            }
361    
362            public static com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
363                    long tableId, long classPK,
364                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
365                    throws com.liferay.portal.kernel.exception.SystemException,
366                            com.liferay.portlet.expando.NoSuchValueException {
367                    return getPersistence()
368                                       .findByT_CPK_Last(tableId, classPK, orderByComparator);
369            }
370    
371            public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
372                    long valueId, long tableId, long classPK,
373                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
374                    throws com.liferay.portal.kernel.exception.SystemException,
375                            com.liferay.portlet.expando.NoSuchValueException {
376                    return getPersistence()
377                                       .findByT_CPK_PrevAndNext(valueId, tableId, classPK,
378                            orderByComparator);
379            }
380    
381            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
382                    long tableId, long rowId)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return getPersistence().findByT_R(tableId, rowId);
385            }
386    
387            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
388                    long tableId, long rowId, int start, int end)
389                    throws com.liferay.portal.kernel.exception.SystemException {
390                    return getPersistence().findByT_R(tableId, rowId, start, end);
391            }
392    
393            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
394                    long tableId, long rowId, int start, int end,
395                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
396                    throws com.liferay.portal.kernel.exception.SystemException {
397                    return getPersistence()
398                                       .findByT_R(tableId, rowId, start, end, orderByComparator);
399            }
400    
401            public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
402                    long tableId, long rowId,
403                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
404                    throws com.liferay.portal.kernel.exception.SystemException,
405                            com.liferay.portlet.expando.NoSuchValueException {
406                    return getPersistence()
407                                       .findByT_R_First(tableId, rowId, orderByComparator);
408            }
409    
410            public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
411                    long tableId, long rowId,
412                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
413                    throws com.liferay.portal.kernel.exception.SystemException,
414                            com.liferay.portlet.expando.NoSuchValueException {
415                    return getPersistence().findByT_R_Last(tableId, rowId, orderByComparator);
416            }
417    
418            public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
419                    long valueId, long tableId, long rowId,
420                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
421                    throws com.liferay.portal.kernel.exception.SystemException,
422                            com.liferay.portlet.expando.NoSuchValueException {
423                    return getPersistence()
424                                       .findByT_R_PrevAndNext(valueId, tableId, rowId,
425                            orderByComparator);
426            }
427    
428            public static com.liferay.portlet.expando.model.ExpandoValue findByC_R(
429                    long columnId, long rowId)
430                    throws com.liferay.portal.kernel.exception.SystemException,
431                            com.liferay.portlet.expando.NoSuchValueException {
432                    return getPersistence().findByC_R(columnId, rowId);
433            }
434    
435            public static com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
436                    long columnId, long rowId)
437                    throws com.liferay.portal.kernel.exception.SystemException {
438                    return getPersistence().fetchByC_R(columnId, rowId);
439            }
440    
441            public static com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
442                    long columnId, long rowId, boolean retrieveFromCache)
443                    throws com.liferay.portal.kernel.exception.SystemException {
444                    return getPersistence().fetchByC_R(columnId, rowId, retrieveFromCache);
445            }
446    
447            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
448                    long classNameId, long classPK)
449                    throws com.liferay.portal.kernel.exception.SystemException {
450                    return getPersistence().findByC_C(classNameId, classPK);
451            }
452    
453            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
454                    long classNameId, long classPK, int start, int end)
455                    throws com.liferay.portal.kernel.exception.SystemException {
456                    return getPersistence().findByC_C(classNameId, classPK, start, end);
457            }
458    
459            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
460                    long classNameId, long classPK, int start, int end,
461                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
462                    throws com.liferay.portal.kernel.exception.SystemException {
463                    return getPersistence()
464                                       .findByC_C(classNameId, classPK, start, end,
465                            orderByComparator);
466            }
467    
468            public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
469                    long classNameId, long classPK,
470                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
471                    throws com.liferay.portal.kernel.exception.SystemException,
472                            com.liferay.portlet.expando.NoSuchValueException {
473                    return getPersistence()
474                                       .findByC_C_First(classNameId, classPK, orderByComparator);
475            }
476    
477            public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
478                    long classNameId, long classPK,
479                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
480                    throws com.liferay.portal.kernel.exception.SystemException,
481                            com.liferay.portlet.expando.NoSuchValueException {
482                    return getPersistence()
483                                       .findByC_C_Last(classNameId, classPK, orderByComparator);
484            }
485    
486            public static com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
487                    long valueId, long classNameId, long classPK,
488                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
489                    throws com.liferay.portal.kernel.exception.SystemException,
490                            com.liferay.portlet.expando.NoSuchValueException {
491                    return getPersistence()
492                                       .findByC_C_PrevAndNext(valueId, classNameId, classPK,
493                            orderByComparator);
494            }
495    
496            public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
497                    long tableId, long columnId, long classPK)
498                    throws com.liferay.portal.kernel.exception.SystemException,
499                            com.liferay.portlet.expando.NoSuchValueException {
500                    return getPersistence().findByT_C_C(tableId, columnId, classPK);
501            }
502    
503            public static com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
504                    long tableId, long columnId, long classPK)
505                    throws com.liferay.portal.kernel.exception.SystemException {
506                    return getPersistence().fetchByT_C_C(tableId, columnId, classPK);
507            }
508    
509            public static com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
510                    long tableId, long columnId, long classPK, boolean retrieveFromCache)
511                    throws com.liferay.portal.kernel.exception.SystemException {
512                    return getPersistence()
513                                       .fetchByT_C_C(tableId, columnId, classPK, retrieveFromCache);
514            }
515    
516            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
517                    long tableId, long columnId, java.lang.String data)
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return getPersistence().findByT_C_D(tableId, columnId, data);
520            }
521    
522            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
523                    long tableId, long columnId, java.lang.String data, int start, int end)
524                    throws com.liferay.portal.kernel.exception.SystemException {
525                    return getPersistence().findByT_C_D(tableId, columnId, data, start, end);
526            }
527    
528            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
529                    long tableId, long columnId, java.lang.String data, int start, int end,
530                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
531                    throws com.liferay.portal.kernel.exception.SystemException {
532                    return getPersistence()
533                                       .findByT_C_D(tableId, columnId, data, start, end,
534                            orderByComparator);
535            }
536    
537            public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
538                    long tableId, long columnId, java.lang.String data,
539                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
540                    throws com.liferay.portal.kernel.exception.SystemException,
541                            com.liferay.portlet.expando.NoSuchValueException {
542                    return getPersistence()
543                                       .findByT_C_D_First(tableId, columnId, data, orderByComparator);
544            }
545    
546            public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
547                    long tableId, long columnId, java.lang.String data,
548                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
549                    throws com.liferay.portal.kernel.exception.SystemException,
550                            com.liferay.portlet.expando.NoSuchValueException {
551                    return getPersistence()
552                                       .findByT_C_D_Last(tableId, columnId, data, orderByComparator);
553            }
554    
555            public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
556                    long valueId, long tableId, long columnId, java.lang.String data,
557                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
558                    throws com.liferay.portal.kernel.exception.SystemException,
559                            com.liferay.portlet.expando.NoSuchValueException {
560                    return getPersistence()
561                                       .findByT_C_D_PrevAndNext(valueId, tableId, columnId, data,
562                            orderByComparator);
563            }
564    
565            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
566                    throws com.liferay.portal.kernel.exception.SystemException {
567                    return getPersistence().findAll();
568            }
569    
570            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
571                    int start, int end)
572                    throws com.liferay.portal.kernel.exception.SystemException {
573                    return getPersistence().findAll(start, end);
574            }
575    
576            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
577                    int start, int end,
578                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
579                    throws com.liferay.portal.kernel.exception.SystemException {
580                    return getPersistence().findAll(start, end, orderByComparator);
581            }
582    
583            public static void removeByTableId(long tableId)
584                    throws com.liferay.portal.kernel.exception.SystemException {
585                    getPersistence().removeByTableId(tableId);
586            }
587    
588            public static void removeByColumnId(long columnId)
589                    throws com.liferay.portal.kernel.exception.SystemException {
590                    getPersistence().removeByColumnId(columnId);
591            }
592    
593            public static void removeByRowId(long rowId)
594                    throws com.liferay.portal.kernel.exception.SystemException {
595                    getPersistence().removeByRowId(rowId);
596            }
597    
598            public static void removeByT_C(long tableId, long columnId)
599                    throws com.liferay.portal.kernel.exception.SystemException {
600                    getPersistence().removeByT_C(tableId, columnId);
601            }
602    
603            public static void removeByT_CPK(long tableId, long classPK)
604                    throws com.liferay.portal.kernel.exception.SystemException {
605                    getPersistence().removeByT_CPK(tableId, classPK);
606            }
607    
608            public static void removeByT_R(long tableId, long rowId)
609                    throws com.liferay.portal.kernel.exception.SystemException {
610                    getPersistence().removeByT_R(tableId, rowId);
611            }
612    
613            public static void removeByC_R(long columnId, long rowId)
614                    throws com.liferay.portal.kernel.exception.SystemException,
615                            com.liferay.portlet.expando.NoSuchValueException {
616                    getPersistence().removeByC_R(columnId, rowId);
617            }
618    
619            public static void removeByC_C(long classNameId, long classPK)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    getPersistence().removeByC_C(classNameId, classPK);
622            }
623    
624            public static void removeByT_C_C(long tableId, long columnId, long classPK)
625                    throws com.liferay.portal.kernel.exception.SystemException,
626                            com.liferay.portlet.expando.NoSuchValueException {
627                    getPersistence().removeByT_C_C(tableId, columnId, classPK);
628            }
629    
630            public static void removeByT_C_D(long tableId, long columnId,
631                    java.lang.String data)
632                    throws com.liferay.portal.kernel.exception.SystemException {
633                    getPersistence().removeByT_C_D(tableId, columnId, data);
634            }
635    
636            public static void removeAll()
637                    throws com.liferay.portal.kernel.exception.SystemException {
638                    getPersistence().removeAll();
639            }
640    
641            public static int countByTableId(long tableId)
642                    throws com.liferay.portal.kernel.exception.SystemException {
643                    return getPersistence().countByTableId(tableId);
644            }
645    
646            public static int countByColumnId(long columnId)
647                    throws com.liferay.portal.kernel.exception.SystemException {
648                    return getPersistence().countByColumnId(columnId);
649            }
650    
651            public static int countByRowId(long rowId)
652                    throws com.liferay.portal.kernel.exception.SystemException {
653                    return getPersistence().countByRowId(rowId);
654            }
655    
656            public static int countByT_C(long tableId, long columnId)
657                    throws com.liferay.portal.kernel.exception.SystemException {
658                    return getPersistence().countByT_C(tableId, columnId);
659            }
660    
661            public static int countByT_CPK(long tableId, long classPK)
662                    throws com.liferay.portal.kernel.exception.SystemException {
663                    return getPersistence().countByT_CPK(tableId, classPK);
664            }
665    
666            public static int countByT_R(long tableId, long rowId)
667                    throws com.liferay.portal.kernel.exception.SystemException {
668                    return getPersistence().countByT_R(tableId, rowId);
669            }
670    
671            public static int countByC_R(long columnId, long rowId)
672                    throws com.liferay.portal.kernel.exception.SystemException {
673                    return getPersistence().countByC_R(columnId, rowId);
674            }
675    
676            public static int countByC_C(long classNameId, long classPK)
677                    throws com.liferay.portal.kernel.exception.SystemException {
678                    return getPersistence().countByC_C(classNameId, classPK);
679            }
680    
681            public static int countByT_C_C(long tableId, long columnId, long classPK)
682                    throws com.liferay.portal.kernel.exception.SystemException {
683                    return getPersistence().countByT_C_C(tableId, columnId, classPK);
684            }
685    
686            public static int countByT_C_D(long tableId, long columnId,
687                    java.lang.String data)
688                    throws com.liferay.portal.kernel.exception.SystemException {
689                    return getPersistence().countByT_C_D(tableId, columnId, data);
690            }
691    
692            public static int countAll()
693                    throws com.liferay.portal.kernel.exception.SystemException {
694                    return getPersistence().countAll();
695            }
696    
697            public static ExpandoValuePersistence getPersistence() {
698                    if (_persistence == null) {
699                            _persistence = (ExpandoValuePersistence)PortalBeanLocatorUtil.locate(ExpandoValuePersistence.class.getName());
700                    }
701    
702                    return _persistence;
703            }
704    
705            public void setPersistence(ExpandoValuePersistence persistence) {
706                    _persistence = persistence;
707            }
708    
709            private static ExpandoValuePersistence _persistence;
710    }