1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.expando.service.persistence;
24  
25  /**
26   * <a href="ExpandoValueUtil.java.html"><b><i>View Source</i></b></a>
27   *
28   * @author Brian Wing Shun Chan
29   *
30   */
31  public class ExpandoValueUtil {
32      public static void cacheResult(
33          com.liferay.portlet.expando.model.ExpandoValue expandoValue) {
34          getPersistence().cacheResult(expandoValue);
35      }
36  
37      public static void cacheResult(
38          java.util.List<com.liferay.portlet.expando.model.ExpandoValue> expandoValues) {
39          getPersistence().cacheResult(expandoValues);
40      }
41  
42      public static void clearCache() {
43          getPersistence().clearCache();
44      }
45  
46      public static com.liferay.portlet.expando.model.ExpandoValue create(
47          long valueId) {
48          return getPersistence().create(valueId);
49      }
50  
51      public static com.liferay.portlet.expando.model.ExpandoValue remove(
52          long valueId)
53          throws com.liferay.portal.SystemException,
54              com.liferay.portlet.expando.NoSuchValueException {
55          return getPersistence().remove(valueId);
56      }
57  
58      public static com.liferay.portlet.expando.model.ExpandoValue remove(
59          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
60          throws com.liferay.portal.SystemException {
61          return getPersistence().remove(expandoValue);
62      }
63  
64      /**
65       * @deprecated Use <code>update(ExpandoValue expandoValue, boolean merge)</code>.
66       */
67      public static com.liferay.portlet.expando.model.ExpandoValue update(
68          com.liferay.portlet.expando.model.ExpandoValue expandoValue)
69          throws com.liferay.portal.SystemException {
70          return getPersistence().update(expandoValue);
71      }
72  
73      /**
74       * Add, update, or merge, the entity. This method also calls the model
75       * listeners to trigger the proper events associated with adding, deleting,
76       * or updating an entity.
77       *
78       * @param        expandoValue the entity to add, update, or merge
79       * @param        merge boolean value for whether to merge the entity. The
80       *                default value is false. Setting merge to true is more
81       *                expensive and should only be true when expandoValue is
82       *                transient. See LEP-5473 for a detailed discussion of this
83       *                method.
84       * @return        true if the portlet can be displayed via Ajax
85       */
86      public static com.liferay.portlet.expando.model.ExpandoValue update(
87          com.liferay.portlet.expando.model.ExpandoValue expandoValue,
88          boolean merge) throws com.liferay.portal.SystemException {
89          return getPersistence().update(expandoValue, merge);
90      }
91  
92      public static com.liferay.portlet.expando.model.ExpandoValue updateImpl(
93          com.liferay.portlet.expando.model.ExpandoValue expandoValue,
94          boolean merge) throws com.liferay.portal.SystemException {
95          return getPersistence().updateImpl(expandoValue, merge);
96      }
97  
98      public static com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
99          long valueId)
100         throws com.liferay.portal.SystemException,
101             com.liferay.portlet.expando.NoSuchValueException {
102         return getPersistence().findByPrimaryKey(valueId);
103     }
104 
105     public static com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
106         long valueId) throws com.liferay.portal.SystemException {
107         return getPersistence().fetchByPrimaryKey(valueId);
108     }
109 
110     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
111         long tableId) throws com.liferay.portal.SystemException {
112         return getPersistence().findByTableId(tableId);
113     }
114 
115     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
116         long tableId, int start, int end)
117         throws com.liferay.portal.SystemException {
118         return getPersistence().findByTableId(tableId, start, end);
119     }
120 
121     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
122         long tableId, int start, int end,
123         com.liferay.portal.kernel.util.OrderByComparator obc)
124         throws com.liferay.portal.SystemException {
125         return getPersistence().findByTableId(tableId, start, end, obc);
126     }
127 
128     public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
129         long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
130         throws com.liferay.portal.SystemException,
131             com.liferay.portlet.expando.NoSuchValueException {
132         return getPersistence().findByTableId_First(tableId, obc);
133     }
134 
135     public static com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
136         long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
137         throws com.liferay.portal.SystemException,
138             com.liferay.portlet.expando.NoSuchValueException {
139         return getPersistence().findByTableId_Last(tableId, obc);
140     }
141 
142     public static com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
143         long valueId, long tableId,
144         com.liferay.portal.kernel.util.OrderByComparator obc)
145         throws com.liferay.portal.SystemException,
146             com.liferay.portlet.expando.NoSuchValueException {
147         return getPersistence().findByTableId_PrevAndNext(valueId, tableId, obc);
148     }
149 
150     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
151         long columnId) throws com.liferay.portal.SystemException {
152         return getPersistence().findByColumnId(columnId);
153     }
154 
155     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
156         long columnId, int start, int end)
157         throws com.liferay.portal.SystemException {
158         return getPersistence().findByColumnId(columnId, start, end);
159     }
160 
161     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
162         long columnId, int start, int end,
163         com.liferay.portal.kernel.util.OrderByComparator obc)
164         throws com.liferay.portal.SystemException {
165         return getPersistence().findByColumnId(columnId, start, end, obc);
166     }
167 
168     public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
169         long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
170         throws com.liferay.portal.SystemException,
171             com.liferay.portlet.expando.NoSuchValueException {
172         return getPersistence().findByColumnId_First(columnId, obc);
173     }
174 
175     public static com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
176         long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
177         throws com.liferay.portal.SystemException,
178             com.liferay.portlet.expando.NoSuchValueException {
179         return getPersistence().findByColumnId_Last(columnId, obc);
180     }
181 
182     public static com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
183         long valueId, long columnId,
184         com.liferay.portal.kernel.util.OrderByComparator obc)
185         throws com.liferay.portal.SystemException,
186             com.liferay.portlet.expando.NoSuchValueException {
187         return getPersistence()
188                    .findByColumnId_PrevAndNext(valueId, columnId, obc);
189     }
190 
191     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
192         long rowId) throws com.liferay.portal.SystemException {
193         return getPersistence().findByRowId(rowId);
194     }
195 
196     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
197         long rowId, int start, int end)
198         throws com.liferay.portal.SystemException {
199         return getPersistence().findByRowId(rowId, start, end);
200     }
201 
202     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
203         long rowId, int start, int end,
204         com.liferay.portal.kernel.util.OrderByComparator obc)
205         throws com.liferay.portal.SystemException {
206         return getPersistence().findByRowId(rowId, start, end, obc);
207     }
208 
209     public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
210         long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
211         throws com.liferay.portal.SystemException,
212             com.liferay.portlet.expando.NoSuchValueException {
213         return getPersistence().findByRowId_First(rowId, obc);
214     }
215 
216     public static com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
217         long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
218         throws com.liferay.portal.SystemException,
219             com.liferay.portlet.expando.NoSuchValueException {
220         return getPersistence().findByRowId_Last(rowId, obc);
221     }
222 
223     public static com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
224         long valueId, long rowId,
225         com.liferay.portal.kernel.util.OrderByComparator obc)
226         throws com.liferay.portal.SystemException,
227             com.liferay.portlet.expando.NoSuchValueException {
228         return getPersistence().findByRowId_PrevAndNext(valueId, rowId, obc);
229     }
230 
231     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
232         long tableId, long columnId) throws com.liferay.portal.SystemException {
233         return getPersistence().findByT_C(tableId, columnId);
234     }
235 
236     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
237         long tableId, long columnId, int start, int end)
238         throws com.liferay.portal.SystemException {
239         return getPersistence().findByT_C(tableId, columnId, start, end);
240     }
241 
242     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
243         long tableId, long columnId, int start, int end,
244         com.liferay.portal.kernel.util.OrderByComparator obc)
245         throws com.liferay.portal.SystemException {
246         return getPersistence().findByT_C(tableId, columnId, start, end, obc);
247     }
248 
249     public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
250         long tableId, long columnId,
251         com.liferay.portal.kernel.util.OrderByComparator obc)
252         throws com.liferay.portal.SystemException,
253             com.liferay.portlet.expando.NoSuchValueException {
254         return getPersistence().findByT_C_First(tableId, columnId, obc);
255     }
256 
257     public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
258         long tableId, long columnId,
259         com.liferay.portal.kernel.util.OrderByComparator obc)
260         throws com.liferay.portal.SystemException,
261             com.liferay.portlet.expando.NoSuchValueException {
262         return getPersistence().findByT_C_Last(tableId, columnId, obc);
263     }
264 
265     public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
266         long valueId, long tableId, long columnId,
267         com.liferay.portal.kernel.util.OrderByComparator obc)
268         throws com.liferay.portal.SystemException,
269             com.liferay.portlet.expando.NoSuchValueException {
270         return getPersistence()
271                    .findByT_C_PrevAndNext(valueId, tableId, columnId, obc);
272     }
273 
274     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
275         long tableId, long classPK) throws com.liferay.portal.SystemException {
276         return getPersistence().findByT_CPK(tableId, classPK);
277     }
278 
279     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
280         long tableId, long classPK, int start, int end)
281         throws com.liferay.portal.SystemException {
282         return getPersistence().findByT_CPK(tableId, classPK, start, end);
283     }
284 
285     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
286         long tableId, long classPK, int start, int end,
287         com.liferay.portal.kernel.util.OrderByComparator obc)
288         throws com.liferay.portal.SystemException {
289         return getPersistence().findByT_CPK(tableId, classPK, start, end, obc);
290     }
291 
292     public static com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
293         long tableId, long classPK,
294         com.liferay.portal.kernel.util.OrderByComparator obc)
295         throws com.liferay.portal.SystemException,
296             com.liferay.portlet.expando.NoSuchValueException {
297         return getPersistence().findByT_CPK_First(tableId, classPK, obc);
298     }
299 
300     public static com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
301         long tableId, long classPK,
302         com.liferay.portal.kernel.util.OrderByComparator obc)
303         throws com.liferay.portal.SystemException,
304             com.liferay.portlet.expando.NoSuchValueException {
305         return getPersistence().findByT_CPK_Last(tableId, classPK, obc);
306     }
307 
308     public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
309         long valueId, long tableId, long classPK,
310         com.liferay.portal.kernel.util.OrderByComparator obc)
311         throws com.liferay.portal.SystemException,
312             com.liferay.portlet.expando.NoSuchValueException {
313         return getPersistence()
314                    .findByT_CPK_PrevAndNext(valueId, tableId, classPK, obc);
315     }
316 
317     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
318         long tableId, long rowId) throws com.liferay.portal.SystemException {
319         return getPersistence().findByT_R(tableId, rowId);
320     }
321 
322     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
323         long tableId, long rowId, int start, int end)
324         throws com.liferay.portal.SystemException {
325         return getPersistence().findByT_R(tableId, rowId, start, end);
326     }
327 
328     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
329         long tableId, long rowId, int start, int end,
330         com.liferay.portal.kernel.util.OrderByComparator obc)
331         throws com.liferay.portal.SystemException {
332         return getPersistence().findByT_R(tableId, rowId, start, end, obc);
333     }
334 
335     public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
336         long tableId, long rowId,
337         com.liferay.portal.kernel.util.OrderByComparator obc)
338         throws com.liferay.portal.SystemException,
339             com.liferay.portlet.expando.NoSuchValueException {
340         return getPersistence().findByT_R_First(tableId, rowId, obc);
341     }
342 
343     public static com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
344         long tableId, long rowId,
345         com.liferay.portal.kernel.util.OrderByComparator obc)
346         throws com.liferay.portal.SystemException,
347             com.liferay.portlet.expando.NoSuchValueException {
348         return getPersistence().findByT_R_Last(tableId, rowId, obc);
349     }
350 
351     public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
352         long valueId, long tableId, long rowId,
353         com.liferay.portal.kernel.util.OrderByComparator obc)
354         throws com.liferay.portal.SystemException,
355             com.liferay.portlet.expando.NoSuchValueException {
356         return getPersistence()
357                    .findByT_R_PrevAndNext(valueId, tableId, rowId, obc);
358     }
359 
360     public static com.liferay.portlet.expando.model.ExpandoValue findByC_R(
361         long columnId, long rowId)
362         throws com.liferay.portal.SystemException,
363             com.liferay.portlet.expando.NoSuchValueException {
364         return getPersistence().findByC_R(columnId, rowId);
365     }
366 
367     public static com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
368         long columnId, long rowId) throws com.liferay.portal.SystemException {
369         return getPersistence().fetchByC_R(columnId, rowId);
370     }
371 
372     public static com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
373         long columnId, long rowId, boolean retrieveFromCache)
374         throws com.liferay.portal.SystemException {
375         return getPersistence().fetchByC_R(columnId, rowId, retrieveFromCache);
376     }
377 
378     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
379         long classNameId, long classPK)
380         throws com.liferay.portal.SystemException {
381         return getPersistence().findByC_C(classNameId, classPK);
382     }
383 
384     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
385         long classNameId, long classPK, int start, int end)
386         throws com.liferay.portal.SystemException {
387         return getPersistence().findByC_C(classNameId, classPK, start, end);
388     }
389 
390     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
391         long classNameId, long classPK, int start, int end,
392         com.liferay.portal.kernel.util.OrderByComparator obc)
393         throws com.liferay.portal.SystemException {
394         return getPersistence().findByC_C(classNameId, classPK, start, end, obc);
395     }
396 
397     public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
398         long classNameId, long classPK,
399         com.liferay.portal.kernel.util.OrderByComparator obc)
400         throws com.liferay.portal.SystemException,
401             com.liferay.portlet.expando.NoSuchValueException {
402         return getPersistence().findByC_C_First(classNameId, classPK, obc);
403     }
404 
405     public static com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
406         long classNameId, long classPK,
407         com.liferay.portal.kernel.util.OrderByComparator obc)
408         throws com.liferay.portal.SystemException,
409             com.liferay.portlet.expando.NoSuchValueException {
410         return getPersistence().findByC_C_Last(classNameId, classPK, obc);
411     }
412 
413     public static com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
414         long valueId, long classNameId, long classPK,
415         com.liferay.portal.kernel.util.OrderByComparator obc)
416         throws com.liferay.portal.SystemException,
417             com.liferay.portlet.expando.NoSuchValueException {
418         return getPersistence()
419                    .findByC_C_PrevAndNext(valueId, classNameId, classPK, obc);
420     }
421 
422     public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
423         long tableId, long columnId, long classPK)
424         throws com.liferay.portal.SystemException,
425             com.liferay.portlet.expando.NoSuchValueException {
426         return getPersistence().findByT_C_C(tableId, columnId, classPK);
427     }
428 
429     public static com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
430         long tableId, long columnId, long classPK)
431         throws com.liferay.portal.SystemException {
432         return getPersistence().fetchByT_C_C(tableId, columnId, classPK);
433     }
434 
435     public static com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
436         long tableId, long columnId, long classPK, boolean retrieveFromCache)
437         throws com.liferay.portal.SystemException {
438         return getPersistence()
439                    .fetchByT_C_C(tableId, columnId, classPK, retrieveFromCache);
440     }
441 
442     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
443         long tableId, long columnId, java.lang.String data)
444         throws com.liferay.portal.SystemException {
445         return getPersistence().findByT_C_D(tableId, columnId, data);
446     }
447 
448     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
449         long tableId, long columnId, java.lang.String data, int start, int end)
450         throws com.liferay.portal.SystemException {
451         return getPersistence().findByT_C_D(tableId, columnId, data, start, end);
452     }
453 
454     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
455         long tableId, long columnId, java.lang.String data, int start, int end,
456         com.liferay.portal.kernel.util.OrderByComparator obc)
457         throws com.liferay.portal.SystemException {
458         return getPersistence()
459                    .findByT_C_D(tableId, columnId, data, start, end, obc);
460     }
461 
462     public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
463         long tableId, long columnId, java.lang.String data,
464         com.liferay.portal.kernel.util.OrderByComparator obc)
465         throws com.liferay.portal.SystemException,
466             com.liferay.portlet.expando.NoSuchValueException {
467         return getPersistence().findByT_C_D_First(tableId, columnId, data, obc);
468     }
469 
470     public static com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
471         long tableId, long columnId, java.lang.String data,
472         com.liferay.portal.kernel.util.OrderByComparator obc)
473         throws com.liferay.portal.SystemException,
474             com.liferay.portlet.expando.NoSuchValueException {
475         return getPersistence().findByT_C_D_Last(tableId, columnId, data, obc);
476     }
477 
478     public static com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
479         long valueId, long tableId, long columnId, java.lang.String data,
480         com.liferay.portal.kernel.util.OrderByComparator obc)
481         throws com.liferay.portal.SystemException,
482             com.liferay.portlet.expando.NoSuchValueException {
483         return getPersistence()
484                    .findByT_C_D_PrevAndNext(valueId, tableId, columnId, data,
485             obc);
486     }
487 
488     public static java.util.List<Object> findWithDynamicQuery(
489         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
490         throws com.liferay.portal.SystemException {
491         return getPersistence().findWithDynamicQuery(dynamicQuery);
492     }
493 
494     public static java.util.List<Object> findWithDynamicQuery(
495         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
496         int end) throws com.liferay.portal.SystemException {
497         return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
498     }
499 
500     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
501         throws com.liferay.portal.SystemException {
502         return getPersistence().findAll();
503     }
504 
505     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
506         int start, int end) throws com.liferay.portal.SystemException {
507         return getPersistence().findAll(start, end);
508     }
509 
510     public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
511         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
512         throws com.liferay.portal.SystemException {
513         return getPersistence().findAll(start, end, obc);
514     }
515 
516     public static void removeByTableId(long tableId)
517         throws com.liferay.portal.SystemException {
518         getPersistence().removeByTableId(tableId);
519     }
520 
521     public static void removeByColumnId(long columnId)
522         throws com.liferay.portal.SystemException {
523         getPersistence().removeByColumnId(columnId);
524     }
525 
526     public static void removeByRowId(long rowId)
527         throws com.liferay.portal.SystemException {
528         getPersistence().removeByRowId(rowId);
529     }
530 
531     public static void removeByT_C(long tableId, long columnId)
532         throws com.liferay.portal.SystemException {
533         getPersistence().removeByT_C(tableId, columnId);
534     }
535 
536     public static void removeByT_CPK(long tableId, long classPK)
537         throws com.liferay.portal.SystemException {
538         getPersistence().removeByT_CPK(tableId, classPK);
539     }
540 
541     public static void removeByT_R(long tableId, long rowId)
542         throws com.liferay.portal.SystemException {
543         getPersistence().removeByT_R(tableId, rowId);
544     }
545 
546     public static void removeByC_R(long columnId, long rowId)
547         throws com.liferay.portal.SystemException,
548             com.liferay.portlet.expando.NoSuchValueException {
549         getPersistence().removeByC_R(columnId, rowId);
550     }
551 
552     public static void removeByC_C(long classNameId, long classPK)
553         throws com.liferay.portal.SystemException {
554         getPersistence().removeByC_C(classNameId, classPK);
555     }
556 
557     public static void removeByT_C_C(long tableId, long columnId, long classPK)
558         throws com.liferay.portal.SystemException,
559             com.liferay.portlet.expando.NoSuchValueException {
560         getPersistence().removeByT_C_C(tableId, columnId, classPK);
561     }
562 
563     public static void removeByT_C_D(long tableId, long columnId,
564         java.lang.String data) throws com.liferay.portal.SystemException {
565         getPersistence().removeByT_C_D(tableId, columnId, data);
566     }
567 
568     public static void removeAll() throws com.liferay.portal.SystemException {
569         getPersistence().removeAll();
570     }
571 
572     public static int countByTableId(long tableId)
573         throws com.liferay.portal.SystemException {
574         return getPersistence().countByTableId(tableId);
575     }
576 
577     public static int countByColumnId(long columnId)
578         throws com.liferay.portal.SystemException {
579         return getPersistence().countByColumnId(columnId);
580     }
581 
582     public static int countByRowId(long rowId)
583         throws com.liferay.portal.SystemException {
584         return getPersistence().countByRowId(rowId);
585     }
586 
587     public static int countByT_C(long tableId, long columnId)
588         throws com.liferay.portal.SystemException {
589         return getPersistence().countByT_C(tableId, columnId);
590     }
591 
592     public static int countByT_CPK(long tableId, long classPK)
593         throws com.liferay.portal.SystemException {
594         return getPersistence().countByT_CPK(tableId, classPK);
595     }
596 
597     public static int countByT_R(long tableId, long rowId)
598         throws com.liferay.portal.SystemException {
599         return getPersistence().countByT_R(tableId, rowId);
600     }
601 
602     public static int countByC_R(long columnId, long rowId)
603         throws com.liferay.portal.SystemException {
604         return getPersistence().countByC_R(columnId, rowId);
605     }
606 
607     public static int countByC_C(long classNameId, long classPK)
608         throws com.liferay.portal.SystemException {
609         return getPersistence().countByC_C(classNameId, classPK);
610     }
611 
612     public static int countByT_C_C(long tableId, long columnId, long classPK)
613         throws com.liferay.portal.SystemException {
614         return getPersistence().countByT_C_C(tableId, columnId, classPK);
615     }
616 
617     public static int countByT_C_D(long tableId, long columnId,
618         java.lang.String data) throws com.liferay.portal.SystemException {
619         return getPersistence().countByT_C_D(tableId, columnId, data);
620     }
621 
622     public static int countAll() throws com.liferay.portal.SystemException {
623         return getPersistence().countAll();
624     }
625 
626     public static ExpandoValuePersistence getPersistence() {
627         return _persistence;
628     }
629 
630     public void setPersistence(ExpandoValuePersistence persistence) {
631         _persistence = persistence;
632     }
633 
634     private static ExpandoValuePersistence _persistence;
635 }