1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.service.persistence;
16  
17  import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
19  import com.liferay.portal.kernel.exception.SystemException;
20  
21  import com.liferay.portlet.asset.model.AssetCategory;
22  
23  import java.util.List;
24  
25  /**
26   * <a href="AssetCategoryUtil.java.html"><b><i>View Source</i></b></a>
27   *
28   * <p>
29   * ServiceBuilder generated this class. Modifications in this class will be
30   * overwritten the next time is generated.
31   * </p>
32   *
33   * @author    Brian Wing Shun Chan
34   * @see       AssetCategoryPersistence
35   * @see       AssetCategoryPersistenceImpl
36   * @generated
37   */
38  public class AssetCategoryUtil {
39      /**
40       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
41       */
42      public static void clearCache() {
43          getPersistence().clearCache();
44      }
45  
46      /**
47       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(AssetCategory)
48       */
49      public static void clearCache(AssetCategory assetCategory) {
50          getPersistence().clearCache(assetCategory);
51      }
52  
53      /**
54       * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
55       */
56      public long countWithDynamicQuery(DynamicQuery dynamicQuery)
57          throws SystemException {
58          return getPersistence().countWithDynamicQuery(dynamicQuery);
59      }
60  
61      /**
62       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
63       */
64      public static List<AssetCategory> findWithDynamicQuery(
65          DynamicQuery dynamicQuery) throws SystemException {
66          return getPersistence().findWithDynamicQuery(dynamicQuery);
67      }
68  
69      /**
70       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
71       */
72      public static List<AssetCategory> findWithDynamicQuery(
73          DynamicQuery dynamicQuery, int start, int end)
74          throws SystemException {
75          return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
76      }
77  
78      /**
79       * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
80       */
81      public static AssetCategory remove(AssetCategory assetCategory)
82          throws SystemException {
83          return getPersistence().remove(assetCategory);
84      }
85  
86      /**
87       * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
88       */
89      public static AssetCategory update(AssetCategory assetCategory,
90          boolean merge) throws SystemException {
91          return getPersistence().update(assetCategory, merge);
92      }
93  
94      public static void cacheResult(
95          com.liferay.portlet.asset.model.AssetCategory assetCategory) {
96          getPersistence().cacheResult(assetCategory);
97      }
98  
99      public static void cacheResult(
100         java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories) {
101         getPersistence().cacheResult(assetCategories);
102     }
103 
104     public static com.liferay.portlet.asset.model.AssetCategory create(
105         long categoryId) {
106         return getPersistence().create(categoryId);
107     }
108 
109     public static com.liferay.portlet.asset.model.AssetCategory remove(
110         long categoryId)
111         throws com.liferay.portal.kernel.exception.SystemException,
112             com.liferay.portlet.asset.NoSuchCategoryException {
113         return getPersistence().remove(categoryId);
114     }
115 
116     public static com.liferay.portlet.asset.model.AssetCategory updateImpl(
117         com.liferay.portlet.asset.model.AssetCategory assetCategory,
118         boolean merge)
119         throws com.liferay.portal.kernel.exception.SystemException {
120         return getPersistence().updateImpl(assetCategory, merge);
121     }
122 
123     public static com.liferay.portlet.asset.model.AssetCategory findByPrimaryKey(
124         long categoryId)
125         throws com.liferay.portal.kernel.exception.SystemException,
126             com.liferay.portlet.asset.NoSuchCategoryException {
127         return getPersistence().findByPrimaryKey(categoryId);
128     }
129 
130     public static com.liferay.portlet.asset.model.AssetCategory fetchByPrimaryKey(
131         long categoryId)
132         throws com.liferay.portal.kernel.exception.SystemException {
133         return getPersistence().fetchByPrimaryKey(categoryId);
134     }
135 
136     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
137         java.lang.String uuid)
138         throws com.liferay.portal.kernel.exception.SystemException {
139         return getPersistence().findByUuid(uuid);
140     }
141 
142     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
143         java.lang.String uuid, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException {
145         return getPersistence().findByUuid(uuid, start, end);
146     }
147 
148     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
149         java.lang.String uuid, int start, int end,
150         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151         throws com.liferay.portal.kernel.exception.SystemException {
152         return getPersistence().findByUuid(uuid, start, end, orderByComparator);
153     }
154 
155     public static com.liferay.portlet.asset.model.AssetCategory findByUuid_First(
156         java.lang.String uuid,
157         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158         throws com.liferay.portal.kernel.exception.SystemException,
159             com.liferay.portlet.asset.NoSuchCategoryException {
160         return getPersistence().findByUuid_First(uuid, orderByComparator);
161     }
162 
163     public static com.liferay.portlet.asset.model.AssetCategory findByUuid_Last(
164         java.lang.String uuid,
165         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166         throws com.liferay.portal.kernel.exception.SystemException,
167             com.liferay.portlet.asset.NoSuchCategoryException {
168         return getPersistence().findByUuid_Last(uuid, orderByComparator);
169     }
170 
171     public static com.liferay.portlet.asset.model.AssetCategory[] findByUuid_PrevAndNext(
172         long categoryId, java.lang.String uuid,
173         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174         throws com.liferay.portal.kernel.exception.SystemException,
175             com.liferay.portlet.asset.NoSuchCategoryException {
176         return getPersistence()
177                    .findByUuid_PrevAndNext(categoryId, uuid, orderByComparator);
178     }
179 
180     public static com.liferay.portlet.asset.model.AssetCategory findByUUID_G(
181         java.lang.String uuid, long groupId)
182         throws com.liferay.portal.kernel.exception.SystemException,
183             com.liferay.portlet.asset.NoSuchCategoryException {
184         return getPersistence().findByUUID_G(uuid, groupId);
185     }
186 
187     public static com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
188         java.lang.String uuid, long groupId)
189         throws com.liferay.portal.kernel.exception.SystemException {
190         return getPersistence().fetchByUUID_G(uuid, groupId);
191     }
192 
193     public static com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
194         java.lang.String uuid, long groupId, boolean retrieveFromCache)
195         throws com.liferay.portal.kernel.exception.SystemException {
196         return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
197     }
198 
199     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
200         long groupId)
201         throws com.liferay.portal.kernel.exception.SystemException {
202         return getPersistence().findByGroupId(groupId);
203     }
204 
205     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
206         long groupId, int start, int end)
207         throws com.liferay.portal.kernel.exception.SystemException {
208         return getPersistence().findByGroupId(groupId, start, end);
209     }
210 
211     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByGroupId(
212         long groupId, int start, int end,
213         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214         throws com.liferay.portal.kernel.exception.SystemException {
215         return getPersistence()
216                    .findByGroupId(groupId, start, end, orderByComparator);
217     }
218 
219     public static com.liferay.portlet.asset.model.AssetCategory findByGroupId_First(
220         long groupId,
221         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222         throws com.liferay.portal.kernel.exception.SystemException,
223             com.liferay.portlet.asset.NoSuchCategoryException {
224         return getPersistence().findByGroupId_First(groupId, orderByComparator);
225     }
226 
227     public static com.liferay.portlet.asset.model.AssetCategory findByGroupId_Last(
228         long groupId,
229         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
230         throws com.liferay.portal.kernel.exception.SystemException,
231             com.liferay.portlet.asset.NoSuchCategoryException {
232         return getPersistence().findByGroupId_Last(groupId, orderByComparator);
233     }
234 
235     public static com.liferay.portlet.asset.model.AssetCategory[] findByGroupId_PrevAndNext(
236         long categoryId, long groupId,
237         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
238         throws com.liferay.portal.kernel.exception.SystemException,
239             com.liferay.portlet.asset.NoSuchCategoryException {
240         return getPersistence()
241                    .findByGroupId_PrevAndNext(categoryId, groupId,
242             orderByComparator);
243     }
244 
245     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
246         long groupId)
247         throws com.liferay.portal.kernel.exception.SystemException {
248         return getPersistence().filterFindByGroupId(groupId);
249     }
250 
251     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
252         long groupId, int start, int end)
253         throws com.liferay.portal.kernel.exception.SystemException {
254         return getPersistence().filterFindByGroupId(groupId, start, end);
255     }
256 
257     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterFindByGroupId(
258         long groupId, int start, int end,
259         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260         throws com.liferay.portal.kernel.exception.SystemException {
261         return getPersistence()
262                    .filterFindByGroupId(groupId, start, end, orderByComparator);
263     }
264 
265     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
266         long parentCategoryId)
267         throws com.liferay.portal.kernel.exception.SystemException {
268         return getPersistence().findByParentCategoryId(parentCategoryId);
269     }
270 
271     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
272         long parentCategoryId, int start, int end)
273         throws com.liferay.portal.kernel.exception.SystemException {
274         return getPersistence()
275                    .findByParentCategoryId(parentCategoryId, start, end);
276     }
277 
278     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
279         long parentCategoryId, int start, int end,
280         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
281         throws com.liferay.portal.kernel.exception.SystemException {
282         return getPersistence()
283                    .findByParentCategoryId(parentCategoryId, start, end,
284             orderByComparator);
285     }
286 
287     public static com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_First(
288         long parentCategoryId,
289         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
290         throws com.liferay.portal.kernel.exception.SystemException,
291             com.liferay.portlet.asset.NoSuchCategoryException {
292         return getPersistence()
293                    .findByParentCategoryId_First(parentCategoryId,
294             orderByComparator);
295     }
296 
297     public static com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_Last(
298         long parentCategoryId,
299         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
300         throws com.liferay.portal.kernel.exception.SystemException,
301             com.liferay.portlet.asset.NoSuchCategoryException {
302         return getPersistence()
303                    .findByParentCategoryId_Last(parentCategoryId,
304             orderByComparator);
305     }
306 
307     public static com.liferay.portlet.asset.model.AssetCategory[] findByParentCategoryId_PrevAndNext(
308         long categoryId, long parentCategoryId,
309         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
310         throws com.liferay.portal.kernel.exception.SystemException,
311             com.liferay.portlet.asset.NoSuchCategoryException {
312         return getPersistence()
313                    .findByParentCategoryId_PrevAndNext(categoryId,
314             parentCategoryId, orderByComparator);
315     }
316 
317     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
318         long vocabularyId)
319         throws com.liferay.portal.kernel.exception.SystemException {
320         return getPersistence().findByVocabularyId(vocabularyId);
321     }
322 
323     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
324         long vocabularyId, int start, int end)
325         throws com.liferay.portal.kernel.exception.SystemException {
326         return getPersistence().findByVocabularyId(vocabularyId, start, end);
327     }
328 
329     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
330         long vocabularyId, int start, int end,
331         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
332         throws com.liferay.portal.kernel.exception.SystemException {
333         return getPersistence()
334                    .findByVocabularyId(vocabularyId, start, end,
335             orderByComparator);
336     }
337 
338     public static com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_First(
339         long vocabularyId,
340         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
341         throws com.liferay.portal.kernel.exception.SystemException,
342             com.liferay.portlet.asset.NoSuchCategoryException {
343         return getPersistence()
344                    .findByVocabularyId_First(vocabularyId, orderByComparator);
345     }
346 
347     public static com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_Last(
348         long vocabularyId,
349         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
350         throws com.liferay.portal.kernel.exception.SystemException,
351             com.liferay.portlet.asset.NoSuchCategoryException {
352         return getPersistence()
353                    .findByVocabularyId_Last(vocabularyId, orderByComparator);
354     }
355 
356     public static com.liferay.portlet.asset.model.AssetCategory[] findByVocabularyId_PrevAndNext(
357         long categoryId, long vocabularyId,
358         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359         throws com.liferay.portal.kernel.exception.SystemException,
360             com.liferay.portlet.asset.NoSuchCategoryException {
361         return getPersistence()
362                    .findByVocabularyId_PrevAndNext(categoryId, vocabularyId,
363             orderByComparator);
364     }
365 
366     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
367         long parentCategoryId, java.lang.String name)
368         throws com.liferay.portal.kernel.exception.SystemException {
369         return getPersistence().findByP_N(parentCategoryId, name);
370     }
371 
372     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
373         long parentCategoryId, java.lang.String name, int start, int end)
374         throws com.liferay.portal.kernel.exception.SystemException {
375         return getPersistence().findByP_N(parentCategoryId, name, start, end);
376     }
377 
378     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
379         long parentCategoryId, java.lang.String name, int start, int end,
380         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
381         throws com.liferay.portal.kernel.exception.SystemException {
382         return getPersistence()
383                    .findByP_N(parentCategoryId, name, start, end,
384             orderByComparator);
385     }
386 
387     public static com.liferay.portlet.asset.model.AssetCategory findByP_N_First(
388         long parentCategoryId, java.lang.String name,
389         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
390         throws com.liferay.portal.kernel.exception.SystemException,
391             com.liferay.portlet.asset.NoSuchCategoryException {
392         return getPersistence()
393                    .findByP_N_First(parentCategoryId, name, orderByComparator);
394     }
395 
396     public static com.liferay.portlet.asset.model.AssetCategory findByP_N_Last(
397         long parentCategoryId, java.lang.String name,
398         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
399         throws com.liferay.portal.kernel.exception.SystemException,
400             com.liferay.portlet.asset.NoSuchCategoryException {
401         return getPersistence()
402                    .findByP_N_Last(parentCategoryId, name, orderByComparator);
403     }
404 
405     public static com.liferay.portlet.asset.model.AssetCategory[] findByP_N_PrevAndNext(
406         long categoryId, long parentCategoryId, java.lang.String name,
407         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
408         throws com.liferay.portal.kernel.exception.SystemException,
409             com.liferay.portlet.asset.NoSuchCategoryException {
410         return getPersistence()
411                    .findByP_N_PrevAndNext(categoryId, parentCategoryId, name,
412             orderByComparator);
413     }
414 
415     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
416         long parentCategoryId, long vocabularyId)
417         throws com.liferay.portal.kernel.exception.SystemException {
418         return getPersistence().findByP_V(parentCategoryId, vocabularyId);
419     }
420 
421     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
422         long parentCategoryId, long vocabularyId, int start, int end)
423         throws com.liferay.portal.kernel.exception.SystemException {
424         return getPersistence()
425                    .findByP_V(parentCategoryId, vocabularyId, start, end);
426     }
427 
428     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
429         long parentCategoryId, long vocabularyId, int start, int end,
430         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
431         throws com.liferay.portal.kernel.exception.SystemException {
432         return getPersistence()
433                    .findByP_V(parentCategoryId, vocabularyId, start, end,
434             orderByComparator);
435     }
436 
437     public static com.liferay.portlet.asset.model.AssetCategory findByP_V_First(
438         long parentCategoryId, long vocabularyId,
439         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
440         throws com.liferay.portal.kernel.exception.SystemException,
441             com.liferay.portlet.asset.NoSuchCategoryException {
442         return getPersistence()
443                    .findByP_V_First(parentCategoryId, vocabularyId,
444             orderByComparator);
445     }
446 
447     public static com.liferay.portlet.asset.model.AssetCategory findByP_V_Last(
448         long parentCategoryId, long vocabularyId,
449         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
450         throws com.liferay.portal.kernel.exception.SystemException,
451             com.liferay.portlet.asset.NoSuchCategoryException {
452         return getPersistence()
453                    .findByP_V_Last(parentCategoryId, vocabularyId,
454             orderByComparator);
455     }
456 
457     public static com.liferay.portlet.asset.model.AssetCategory[] findByP_V_PrevAndNext(
458         long categoryId, long parentCategoryId, long vocabularyId,
459         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
460         throws com.liferay.portal.kernel.exception.SystemException,
461             com.liferay.portlet.asset.NoSuchCategoryException {
462         return getPersistence()
463                    .findByP_V_PrevAndNext(categoryId, parentCategoryId,
464             vocabularyId, orderByComparator);
465     }
466 
467     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
468         java.lang.String name, long vocabularyId)
469         throws com.liferay.portal.kernel.exception.SystemException {
470         return getPersistence().findByN_V(name, vocabularyId);
471     }
472 
473     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
474         java.lang.String name, long vocabularyId, int start, int end)
475         throws com.liferay.portal.kernel.exception.SystemException {
476         return getPersistence().findByN_V(name, vocabularyId, start, end);
477     }
478 
479     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
480         java.lang.String name, long vocabularyId, int start, int end,
481         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
482         throws com.liferay.portal.kernel.exception.SystemException {
483         return getPersistence()
484                    .findByN_V(name, vocabularyId, start, end, orderByComparator);
485     }
486 
487     public static com.liferay.portlet.asset.model.AssetCategory findByN_V_First(
488         java.lang.String name, long vocabularyId,
489         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490         throws com.liferay.portal.kernel.exception.SystemException,
491             com.liferay.portlet.asset.NoSuchCategoryException {
492         return getPersistence()
493                    .findByN_V_First(name, vocabularyId, orderByComparator);
494     }
495 
496     public static com.liferay.portlet.asset.model.AssetCategory findByN_V_Last(
497         java.lang.String name, long vocabularyId,
498         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
499         throws com.liferay.portal.kernel.exception.SystemException,
500             com.liferay.portlet.asset.NoSuchCategoryException {
501         return getPersistence()
502                    .findByN_V_Last(name, vocabularyId, orderByComparator);
503     }
504 
505     public static com.liferay.portlet.asset.model.AssetCategory[] findByN_V_PrevAndNext(
506         long categoryId, java.lang.String name, long vocabularyId,
507         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
508         throws com.liferay.portal.kernel.exception.SystemException,
509             com.liferay.portlet.asset.NoSuchCategoryException {
510         return getPersistence()
511                    .findByN_V_PrevAndNext(categoryId, name, vocabularyId,
512             orderByComparator);
513     }
514 
515     public static com.liferay.portlet.asset.model.AssetCategory findByP_N_V(
516         long parentCategoryId, java.lang.String name, long vocabularyId)
517         throws com.liferay.portal.kernel.exception.SystemException,
518             com.liferay.portlet.asset.NoSuchCategoryException {
519         return getPersistence().findByP_N_V(parentCategoryId, name, vocabularyId);
520     }
521 
522     public static com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(
523         long parentCategoryId, java.lang.String name, long vocabularyId)
524         throws com.liferay.portal.kernel.exception.SystemException {
525         return getPersistence()
526                    .fetchByP_N_V(parentCategoryId, name, vocabularyId);
527     }
528 
529     public static com.liferay.portlet.asset.model.AssetCategory fetchByP_N_V(
530         long parentCategoryId, java.lang.String name, long vocabularyId,
531         boolean retrieveFromCache)
532         throws com.liferay.portal.kernel.exception.SystemException {
533         return getPersistence()
534                    .fetchByP_N_V(parentCategoryId, name, vocabularyId,
535             retrieveFromCache);
536     }
537 
538     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll()
539         throws com.liferay.portal.kernel.exception.SystemException {
540         return getPersistence().findAll();
541     }
542 
543     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
544         int start, int end)
545         throws com.liferay.portal.kernel.exception.SystemException {
546         return getPersistence().findAll(start, end);
547     }
548 
549     public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
550         int start, int end,
551         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
552         throws com.liferay.portal.kernel.exception.SystemException {
553         return getPersistence().findAll(start, end, orderByComparator);
554     }
555 
556     public static void removeByUuid(java.lang.String uuid)
557         throws com.liferay.portal.kernel.exception.SystemException {
558         getPersistence().removeByUuid(uuid);
559     }
560 
561     public static void removeByUUID_G(java.lang.String uuid, long groupId)
562         throws com.liferay.portal.kernel.exception.SystemException,
563             com.liferay.portlet.asset.NoSuchCategoryException {
564         getPersistence().removeByUUID_G(uuid, groupId);
565     }
566 
567     public static void removeByGroupId(long groupId)
568         throws com.liferay.portal.kernel.exception.SystemException {
569         getPersistence().removeByGroupId(groupId);
570     }
571 
572     public static void removeByParentCategoryId(long parentCategoryId)
573         throws com.liferay.portal.kernel.exception.SystemException {
574         getPersistence().removeByParentCategoryId(parentCategoryId);
575     }
576 
577     public static void removeByVocabularyId(long vocabularyId)
578         throws com.liferay.portal.kernel.exception.SystemException {
579         getPersistence().removeByVocabularyId(vocabularyId);
580     }
581 
582     public static void removeByP_N(long parentCategoryId, java.lang.String name)
583         throws com.liferay.portal.kernel.exception.SystemException {
584         getPersistence().removeByP_N(parentCategoryId, name);
585     }
586 
587     public static void removeByP_V(long parentCategoryId, long vocabularyId)
588         throws com.liferay.portal.kernel.exception.SystemException {
589         getPersistence().removeByP_V(parentCategoryId, vocabularyId);
590     }
591 
592     public static void removeByN_V(java.lang.String name, long vocabularyId)
593         throws com.liferay.portal.kernel.exception.SystemException {
594         getPersistence().removeByN_V(name, vocabularyId);
595     }
596 
597     public static void removeByP_N_V(long parentCategoryId,
598         java.lang.String name, long vocabularyId)
599         throws com.liferay.portal.kernel.exception.SystemException,
600             com.liferay.portlet.asset.NoSuchCategoryException {
601         getPersistence().removeByP_N_V(parentCategoryId, name, vocabularyId);
602     }
603 
604     public static void removeAll()
605         throws com.liferay.portal.kernel.exception.SystemException {
606         getPersistence().removeAll();
607     }
608 
609     public static int countByUuid(java.lang.String uuid)
610         throws com.liferay.portal.kernel.exception.SystemException {
611         return getPersistence().countByUuid(uuid);
612     }
613 
614     public static int countByUUID_G(java.lang.String uuid, long groupId)
615         throws com.liferay.portal.kernel.exception.SystemException {
616         return getPersistence().countByUUID_G(uuid, groupId);
617     }
618 
619     public static int countByGroupId(long groupId)
620         throws com.liferay.portal.kernel.exception.SystemException {
621         return getPersistence().countByGroupId(groupId);
622     }
623 
624     public static int filterCountByGroupId(long groupId)
625         throws com.liferay.portal.kernel.exception.SystemException {
626         return getPersistence().filterCountByGroupId(groupId);
627     }
628 
629     public static int countByParentCategoryId(long parentCategoryId)
630         throws com.liferay.portal.kernel.exception.SystemException {
631         return getPersistence().countByParentCategoryId(parentCategoryId);
632     }
633 
634     public static int countByVocabularyId(long vocabularyId)
635         throws com.liferay.portal.kernel.exception.SystemException {
636         return getPersistence().countByVocabularyId(vocabularyId);
637     }
638 
639     public static int countByP_N(long parentCategoryId, java.lang.String name)
640         throws com.liferay.portal.kernel.exception.SystemException {
641         return getPersistence().countByP_N(parentCategoryId, name);
642     }
643 
644     public static int countByP_V(long parentCategoryId, long vocabularyId)
645         throws com.liferay.portal.kernel.exception.SystemException {
646         return getPersistence().countByP_V(parentCategoryId, vocabularyId);
647     }
648 
649     public static int countByN_V(java.lang.String name, long vocabularyId)
650         throws com.liferay.portal.kernel.exception.SystemException {
651         return getPersistence().countByN_V(name, vocabularyId);
652     }
653 
654     public static int countByP_N_V(long parentCategoryId,
655         java.lang.String name, long vocabularyId)
656         throws com.liferay.portal.kernel.exception.SystemException {
657         return getPersistence()
658                    .countByP_N_V(parentCategoryId, name, vocabularyId);
659     }
660 
661     public static int countAll()
662         throws com.liferay.portal.kernel.exception.SystemException {
663         return getPersistence().countAll();
664     }
665 
666     public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
667         long pk) throws com.liferay.portal.kernel.exception.SystemException {
668         return getPersistence().getAssetEntries(pk);
669     }
670 
671     public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
672         long pk, int start, int end)
673         throws com.liferay.portal.kernel.exception.SystemException {
674         return getPersistence().getAssetEntries(pk, start, end);
675     }
676 
677     public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
678         long pk, int start, int end,
679         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
680         throws com.liferay.portal.kernel.exception.SystemException {
681         return getPersistence()
682                    .getAssetEntries(pk, start, end, orderByComparator);
683     }
684 
685     public static int getAssetEntriesSize(long pk)
686         throws com.liferay.portal.kernel.exception.SystemException {
687         return getPersistence().getAssetEntriesSize(pk);
688     }
689 
690     public static boolean containsAssetEntry(long pk, long assetEntryPK)
691         throws com.liferay.portal.kernel.exception.SystemException {
692         return getPersistence().containsAssetEntry(pk, assetEntryPK);
693     }
694 
695     public static boolean containsAssetEntries(long pk)
696         throws com.liferay.portal.kernel.exception.SystemException {
697         return getPersistence().containsAssetEntries(pk);
698     }
699 
700     public static void addAssetEntry(long pk, long assetEntryPK)
701         throws com.liferay.portal.kernel.exception.SystemException {
702         getPersistence().addAssetEntry(pk, assetEntryPK);
703     }
704 
705     public static void addAssetEntry(long pk,
706         com.liferay.portlet.asset.model.AssetEntry assetEntry)
707         throws com.liferay.portal.kernel.exception.SystemException {
708         getPersistence().addAssetEntry(pk, assetEntry);
709     }
710 
711     public static void addAssetEntries(long pk, long[] assetEntryPKs)
712         throws com.liferay.portal.kernel.exception.SystemException {
713         getPersistence().addAssetEntries(pk, assetEntryPKs);
714     }
715 
716     public static void addAssetEntries(long pk,
717         java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
718         throws com.liferay.portal.kernel.exception.SystemException {
719         getPersistence().addAssetEntries(pk, assetEntries);
720     }
721 
722     public static void clearAssetEntries(long pk)
723         throws com.liferay.portal.kernel.exception.SystemException {
724         getPersistence().clearAssetEntries(pk);
725     }
726 
727     public static void removeAssetEntry(long pk, long assetEntryPK)
728         throws com.liferay.portal.kernel.exception.SystemException {
729         getPersistence().removeAssetEntry(pk, assetEntryPK);
730     }
731 
732     public static void removeAssetEntry(long pk,
733         com.liferay.portlet.asset.model.AssetEntry assetEntry)
734         throws com.liferay.portal.kernel.exception.SystemException {
735         getPersistence().removeAssetEntry(pk, assetEntry);
736     }
737 
738     public static void removeAssetEntries(long pk, long[] assetEntryPKs)
739         throws com.liferay.portal.kernel.exception.SystemException {
740         getPersistence().removeAssetEntries(pk, assetEntryPKs);
741     }
742 
743     public static void removeAssetEntries(long pk,
744         java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
745         throws com.liferay.portal.kernel.exception.SystemException {
746         getPersistence().removeAssetEntries(pk, assetEntries);
747     }
748 
749     public static void setAssetEntries(long pk, long[] assetEntryPKs)
750         throws com.liferay.portal.kernel.exception.SystemException {
751         getPersistence().setAssetEntries(pk, assetEntryPKs);
752     }
753 
754     public static void setAssetEntries(long pk,
755         java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
756         throws com.liferay.portal.kernel.exception.SystemException {
757         getPersistence().setAssetEntries(pk, assetEntries);
758     }
759 
760     public static void rebuildTree(long groupId, boolean force)
761         throws com.liferay.portal.kernel.exception.SystemException {
762         getPersistence().rebuildTree(groupId, force);
763     }
764 
765     public static AssetCategoryPersistence getPersistence() {
766         if (_persistence == null) {
767             _persistence = (AssetCategoryPersistence)PortalBeanLocatorUtil.locate(AssetCategoryPersistence.class.getName());
768         }
769 
770         return _persistence;
771     }
772 
773     public void setPersistence(AssetCategoryPersistence persistence) {
774         _persistence = persistence;
775     }
776 
777     private static AssetCategoryPersistence _persistence;
778 }