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