1
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
38 public class AssetCategoryUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
50 throws SystemException {
51 return getPersistence().findWithDynamicQuery(dynamicQuery);
52 }
53
54
57 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
58 int start, int end) throws SystemException {
59 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
60 }
61
62
65 public static AssetCategory remove(AssetCategory assetCategory)
66 throws SystemException {
67 return getPersistence().remove(assetCategory);
68 }
69
70
73 public static AssetCategory update(AssetCategory assetCategory,
74 boolean merge) throws SystemException {
75 return getPersistence().update(assetCategory, merge);
76 }
77
78 public static void cacheResult(
79 com.liferay.portlet.asset.model.AssetCategory assetCategory) {
80 getPersistence().cacheResult(assetCategory);
81 }
82
83 public static void cacheResult(
84 java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories) {
85 getPersistence().cacheResult(assetCategories);
86 }
87
88 public static com.liferay.portlet.asset.model.AssetCategory create(
89 long categoryId) {
90 return getPersistence().create(categoryId);
91 }
92
93 public static com.liferay.portlet.asset.model.AssetCategory remove(
94 long categoryId)
95 throws com.liferay.portal.kernel.exception.SystemException,
96 com.liferay.portlet.asset.NoSuchCategoryException {
97 return getPersistence().remove(categoryId);
98 }
99
100 public static com.liferay.portlet.asset.model.AssetCategory updateImpl(
101 com.liferay.portlet.asset.model.AssetCategory assetCategory,
102 boolean merge)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return getPersistence().updateImpl(assetCategory, merge);
105 }
106
107 public static com.liferay.portlet.asset.model.AssetCategory findByPrimaryKey(
108 long categoryId)
109 throws com.liferay.portal.kernel.exception.SystemException,
110 com.liferay.portlet.asset.NoSuchCategoryException {
111 return getPersistence().findByPrimaryKey(categoryId);
112 }
113
114 public static com.liferay.portlet.asset.model.AssetCategory fetchByPrimaryKey(
115 long categoryId)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return getPersistence().fetchByPrimaryKey(categoryId);
118 }
119
120 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
121 java.lang.String uuid)
122 throws com.liferay.portal.kernel.exception.SystemException {
123 return getPersistence().findByUuid(uuid);
124 }
125
126 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
127 java.lang.String uuid, int start, int end)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return getPersistence().findByUuid(uuid, start, end);
130 }
131
132 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByUuid(
133 java.lang.String uuid, int start, int end,
134 com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return getPersistence().findByUuid(uuid, start, end, obc);
137 }
138
139 public static com.liferay.portlet.asset.model.AssetCategory findByUuid_First(
140 java.lang.String uuid,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.kernel.exception.SystemException,
143 com.liferay.portlet.asset.NoSuchCategoryException {
144 return getPersistence().findByUuid_First(uuid, obc);
145 }
146
147 public static com.liferay.portlet.asset.model.AssetCategory findByUuid_Last(
148 java.lang.String uuid,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.kernel.exception.SystemException,
151 com.liferay.portlet.asset.NoSuchCategoryException {
152 return getPersistence().findByUuid_Last(uuid, obc);
153 }
154
155 public static com.liferay.portlet.asset.model.AssetCategory[] findByUuid_PrevAndNext(
156 long categoryId, java.lang.String uuid,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.asset.NoSuchCategoryException {
160 return getPersistence().findByUuid_PrevAndNext(categoryId, uuid, obc);
161 }
162
163 public static com.liferay.portlet.asset.model.AssetCategory findByUUID_G(
164 java.lang.String uuid, long groupId)
165 throws com.liferay.portal.kernel.exception.SystemException,
166 com.liferay.portlet.asset.NoSuchCategoryException {
167 return getPersistence().findByUUID_G(uuid, groupId);
168 }
169
170 public static com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
171 java.lang.String uuid, long groupId)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 return getPersistence().fetchByUUID_G(uuid, groupId);
174 }
175
176 public static com.liferay.portlet.asset.model.AssetCategory fetchByUUID_G(
177 java.lang.String uuid, long groupId, boolean retrieveFromCache)
178 throws com.liferay.portal.kernel.exception.SystemException {
179 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
180 }
181
182 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
183 long parentCategoryId)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return getPersistence().findByParentCategoryId(parentCategoryId);
186 }
187
188 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
189 long parentCategoryId, int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return getPersistence()
192 .findByParentCategoryId(parentCategoryId, start, end);
193 }
194
195 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByParentCategoryId(
196 long parentCategoryId, int start, int end,
197 com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return getPersistence()
200 .findByParentCategoryId(parentCategoryId, start, end, obc);
201 }
202
203 public static com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_First(
204 long parentCategoryId,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.kernel.exception.SystemException,
207 com.liferay.portlet.asset.NoSuchCategoryException {
208 return getPersistence()
209 .findByParentCategoryId_First(parentCategoryId, obc);
210 }
211
212 public static com.liferay.portlet.asset.model.AssetCategory findByParentCategoryId_Last(
213 long parentCategoryId,
214 com.liferay.portal.kernel.util.OrderByComparator obc)
215 throws com.liferay.portal.kernel.exception.SystemException,
216 com.liferay.portlet.asset.NoSuchCategoryException {
217 return getPersistence()
218 .findByParentCategoryId_Last(parentCategoryId, obc);
219 }
220
221 public static com.liferay.portlet.asset.model.AssetCategory[] findByParentCategoryId_PrevAndNext(
222 long categoryId, long parentCategoryId,
223 com.liferay.portal.kernel.util.OrderByComparator obc)
224 throws com.liferay.portal.kernel.exception.SystemException,
225 com.liferay.portlet.asset.NoSuchCategoryException {
226 return getPersistence()
227 .findByParentCategoryId_PrevAndNext(categoryId,
228 parentCategoryId, obc);
229 }
230
231 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
232 long vocabularyId)
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return getPersistence().findByVocabularyId(vocabularyId);
235 }
236
237 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
238 long vocabularyId, int start, int end)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return getPersistence().findByVocabularyId(vocabularyId, start, end);
241 }
242
243 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByVocabularyId(
244 long vocabularyId, int start, int end,
245 com.liferay.portal.kernel.util.OrderByComparator obc)
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return getPersistence().findByVocabularyId(vocabularyId, start, end, obc);
248 }
249
250 public static com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_First(
251 long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
252 throws com.liferay.portal.kernel.exception.SystemException,
253 com.liferay.portlet.asset.NoSuchCategoryException {
254 return getPersistence().findByVocabularyId_First(vocabularyId, obc);
255 }
256
257 public static com.liferay.portlet.asset.model.AssetCategory findByVocabularyId_Last(
258 long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
259 throws com.liferay.portal.kernel.exception.SystemException,
260 com.liferay.portlet.asset.NoSuchCategoryException {
261 return getPersistence().findByVocabularyId_Last(vocabularyId, obc);
262 }
263
264 public static com.liferay.portlet.asset.model.AssetCategory[] findByVocabularyId_PrevAndNext(
265 long categoryId, long vocabularyId,
266 com.liferay.portal.kernel.util.OrderByComparator obc)
267 throws com.liferay.portal.kernel.exception.SystemException,
268 com.liferay.portlet.asset.NoSuchCategoryException {
269 return getPersistence()
270 .findByVocabularyId_PrevAndNext(categoryId, vocabularyId, obc);
271 }
272
273 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
274 long parentCategoryId, java.lang.String name)
275 throws com.liferay.portal.kernel.exception.SystemException {
276 return getPersistence().findByP_N(parentCategoryId, name);
277 }
278
279 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
280 long parentCategoryId, java.lang.String name, int start, int end)
281 throws com.liferay.portal.kernel.exception.SystemException {
282 return getPersistence().findByP_N(parentCategoryId, name, start, end);
283 }
284
285 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_N(
286 long parentCategoryId, java.lang.String name, int start, int end,
287 com.liferay.portal.kernel.util.OrderByComparator obc)
288 throws com.liferay.portal.kernel.exception.SystemException {
289 return getPersistence()
290 .findByP_N(parentCategoryId, name, start, end, obc);
291 }
292
293 public static com.liferay.portlet.asset.model.AssetCategory findByP_N_First(
294 long parentCategoryId, java.lang.String name,
295 com.liferay.portal.kernel.util.OrderByComparator obc)
296 throws com.liferay.portal.kernel.exception.SystemException,
297 com.liferay.portlet.asset.NoSuchCategoryException {
298 return getPersistence().findByP_N_First(parentCategoryId, name, obc);
299 }
300
301 public static com.liferay.portlet.asset.model.AssetCategory findByP_N_Last(
302 long parentCategoryId, java.lang.String name,
303 com.liferay.portal.kernel.util.OrderByComparator obc)
304 throws com.liferay.portal.kernel.exception.SystemException,
305 com.liferay.portlet.asset.NoSuchCategoryException {
306 return getPersistence().findByP_N_Last(parentCategoryId, name, obc);
307 }
308
309 public static com.liferay.portlet.asset.model.AssetCategory[] findByP_N_PrevAndNext(
310 long categoryId, long parentCategoryId, java.lang.String name,
311 com.liferay.portal.kernel.util.OrderByComparator obc)
312 throws com.liferay.portal.kernel.exception.SystemException,
313 com.liferay.portlet.asset.NoSuchCategoryException {
314 return getPersistence()
315 .findByP_N_PrevAndNext(categoryId, parentCategoryId, name,
316 obc);
317 }
318
319 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
320 long parentCategoryId, long vocabularyId)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return getPersistence().findByP_V(parentCategoryId, vocabularyId);
323 }
324
325 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
326 long parentCategoryId, long vocabularyId, int start, int end)
327 throws com.liferay.portal.kernel.exception.SystemException {
328 return getPersistence()
329 .findByP_V(parentCategoryId, vocabularyId, start, end);
330 }
331
332 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByP_V(
333 long parentCategoryId, long vocabularyId, int start, int end,
334 com.liferay.portal.kernel.util.OrderByComparator obc)
335 throws com.liferay.portal.kernel.exception.SystemException {
336 return getPersistence()
337 .findByP_V(parentCategoryId, vocabularyId, start, end, obc);
338 }
339
340 public static com.liferay.portlet.asset.model.AssetCategory findByP_V_First(
341 long parentCategoryId, long vocabularyId,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.kernel.exception.SystemException,
344 com.liferay.portlet.asset.NoSuchCategoryException {
345 return getPersistence()
346 .findByP_V_First(parentCategoryId, vocabularyId, obc);
347 }
348
349 public static com.liferay.portlet.asset.model.AssetCategory findByP_V_Last(
350 long parentCategoryId, long vocabularyId,
351 com.liferay.portal.kernel.util.OrderByComparator obc)
352 throws com.liferay.portal.kernel.exception.SystemException,
353 com.liferay.portlet.asset.NoSuchCategoryException {
354 return getPersistence()
355 .findByP_V_Last(parentCategoryId, vocabularyId, obc);
356 }
357
358 public static com.liferay.portlet.asset.model.AssetCategory[] findByP_V_PrevAndNext(
359 long categoryId, long parentCategoryId, long vocabularyId,
360 com.liferay.portal.kernel.util.OrderByComparator obc)
361 throws com.liferay.portal.kernel.exception.SystemException,
362 com.liferay.portlet.asset.NoSuchCategoryException {
363 return getPersistence()
364 .findByP_V_PrevAndNext(categoryId, parentCategoryId,
365 vocabularyId, obc);
366 }
367
368 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
369 java.lang.String name, long vocabularyId)
370 throws com.liferay.portal.kernel.exception.SystemException {
371 return getPersistence().findByN_V(name, vocabularyId);
372 }
373
374 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
375 java.lang.String name, long vocabularyId, int start, int end)
376 throws com.liferay.portal.kernel.exception.SystemException {
377 return getPersistence().findByN_V(name, vocabularyId, start, end);
378 }
379
380 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByN_V(
381 java.lang.String name, long vocabularyId, int start, int end,
382 com.liferay.portal.kernel.util.OrderByComparator obc)
383 throws com.liferay.portal.kernel.exception.SystemException {
384 return getPersistence().findByN_V(name, vocabularyId, start, end, obc);
385 }
386
387 public static com.liferay.portlet.asset.model.AssetCategory findByN_V_First(
388 java.lang.String name, long vocabularyId,
389 com.liferay.portal.kernel.util.OrderByComparator obc)
390 throws com.liferay.portal.kernel.exception.SystemException,
391 com.liferay.portlet.asset.NoSuchCategoryException {
392 return getPersistence().findByN_V_First(name, vocabularyId, obc);
393 }
394
395 public static com.liferay.portlet.asset.model.AssetCategory findByN_V_Last(
396 java.lang.String name, long vocabularyId,
397 com.liferay.portal.kernel.util.OrderByComparator obc)
398 throws com.liferay.portal.kernel.exception.SystemException,
399 com.liferay.portlet.asset.NoSuchCategoryException {
400 return getPersistence().findByN_V_Last(name, vocabularyId, obc);
401 }
402
403 public static com.liferay.portlet.asset.model.AssetCategory[] findByN_V_PrevAndNext(
404 long categoryId, java.lang.String name, long vocabularyId,
405 com.liferay.portal.kernel.util.OrderByComparator obc)
406 throws com.liferay.portal.kernel.exception.SystemException,
407 com.liferay.portlet.asset.NoSuchCategoryException {
408 return getPersistence()
409 .findByN_V_PrevAndNext(categoryId, name, vocabularyId, obc);
410 }
411
412 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll()
413 throws com.liferay.portal.kernel.exception.SystemException {
414 return getPersistence().findAll();
415 }
416
417 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
418 int start, int end)
419 throws com.liferay.portal.kernel.exception.SystemException {
420 return getPersistence().findAll(start, end);
421 }
422
423 public static java.util.List<com.liferay.portlet.asset.model.AssetCategory> findAll(
424 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
425 throws com.liferay.portal.kernel.exception.SystemException {
426 return getPersistence().findAll(start, end, obc);
427 }
428
429 public static void removeByUuid(java.lang.String uuid)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 getPersistence().removeByUuid(uuid);
432 }
433
434 public static void removeByUUID_G(java.lang.String uuid, long groupId)
435 throws com.liferay.portal.kernel.exception.SystemException,
436 com.liferay.portlet.asset.NoSuchCategoryException {
437 getPersistence().removeByUUID_G(uuid, groupId);
438 }
439
440 public static void removeByParentCategoryId(long parentCategoryId)
441 throws com.liferay.portal.kernel.exception.SystemException {
442 getPersistence().removeByParentCategoryId(parentCategoryId);
443 }
444
445 public static void removeByVocabularyId(long vocabularyId)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 getPersistence().removeByVocabularyId(vocabularyId);
448 }
449
450 public static void removeByP_N(long parentCategoryId, java.lang.String name)
451 throws com.liferay.portal.kernel.exception.SystemException {
452 getPersistence().removeByP_N(parentCategoryId, name);
453 }
454
455 public static void removeByP_V(long parentCategoryId, long vocabularyId)
456 throws com.liferay.portal.kernel.exception.SystemException {
457 getPersistence().removeByP_V(parentCategoryId, vocabularyId);
458 }
459
460 public static void removeByN_V(java.lang.String name, long vocabularyId)
461 throws com.liferay.portal.kernel.exception.SystemException {
462 getPersistence().removeByN_V(name, vocabularyId);
463 }
464
465 public static void removeAll()
466 throws com.liferay.portal.kernel.exception.SystemException {
467 getPersistence().removeAll();
468 }
469
470 public static int countByUuid(java.lang.String uuid)
471 throws com.liferay.portal.kernel.exception.SystemException {
472 return getPersistence().countByUuid(uuid);
473 }
474
475 public static int countByUUID_G(java.lang.String uuid, long groupId)
476 throws com.liferay.portal.kernel.exception.SystemException {
477 return getPersistence().countByUUID_G(uuid, groupId);
478 }
479
480 public static int countByParentCategoryId(long parentCategoryId)
481 throws com.liferay.portal.kernel.exception.SystemException {
482 return getPersistence().countByParentCategoryId(parentCategoryId);
483 }
484
485 public static int countByVocabularyId(long vocabularyId)
486 throws com.liferay.portal.kernel.exception.SystemException {
487 return getPersistence().countByVocabularyId(vocabularyId);
488 }
489
490 public static int countByP_N(long parentCategoryId, java.lang.String name)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return getPersistence().countByP_N(parentCategoryId, name);
493 }
494
495 public static int countByP_V(long parentCategoryId, long vocabularyId)
496 throws com.liferay.portal.kernel.exception.SystemException {
497 return getPersistence().countByP_V(parentCategoryId, vocabularyId);
498 }
499
500 public static int countByN_V(java.lang.String name, long vocabularyId)
501 throws com.liferay.portal.kernel.exception.SystemException {
502 return getPersistence().countByN_V(name, vocabularyId);
503 }
504
505 public static int countAll()
506 throws com.liferay.portal.kernel.exception.SystemException {
507 return getPersistence().countAll();
508 }
509
510 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
511 long pk) throws com.liferay.portal.kernel.exception.SystemException {
512 return getPersistence().getAssetEntries(pk);
513 }
514
515 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
516 long pk, int start, int end)
517 throws com.liferay.portal.kernel.exception.SystemException {
518 return getPersistence().getAssetEntries(pk, start, end);
519 }
520
521 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
522 long pk, int start, int end,
523 com.liferay.portal.kernel.util.OrderByComparator obc)
524 throws com.liferay.portal.kernel.exception.SystemException {
525 return getPersistence().getAssetEntries(pk, start, end, obc);
526 }
527
528 public static int getAssetEntriesSize(long pk)
529 throws com.liferay.portal.kernel.exception.SystemException {
530 return getPersistence().getAssetEntriesSize(pk);
531 }
532
533 public static boolean containsAssetEntry(long pk, long assetEntryPK)
534 throws com.liferay.portal.kernel.exception.SystemException {
535 return getPersistence().containsAssetEntry(pk, assetEntryPK);
536 }
537
538 public static boolean containsAssetEntries(long pk)
539 throws com.liferay.portal.kernel.exception.SystemException {
540 return getPersistence().containsAssetEntries(pk);
541 }
542
543 public static void addAssetEntry(long pk, long assetEntryPK)
544 throws com.liferay.portal.kernel.exception.SystemException {
545 getPersistence().addAssetEntry(pk, assetEntryPK);
546 }
547
548 public static void addAssetEntry(long pk,
549 com.liferay.portlet.asset.model.AssetEntry assetEntry)
550 throws com.liferay.portal.kernel.exception.SystemException {
551 getPersistence().addAssetEntry(pk, assetEntry);
552 }
553
554 public static void addAssetEntries(long pk, long[] assetEntryPKs)
555 throws com.liferay.portal.kernel.exception.SystemException {
556 getPersistence().addAssetEntries(pk, assetEntryPKs);
557 }
558
559 public static void addAssetEntries(long pk,
560 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
561 throws com.liferay.portal.kernel.exception.SystemException {
562 getPersistence().addAssetEntries(pk, assetEntries);
563 }
564
565 public static void clearAssetEntries(long pk)
566 throws com.liferay.portal.kernel.exception.SystemException {
567 getPersistence().clearAssetEntries(pk);
568 }
569
570 public static void removeAssetEntry(long pk, long assetEntryPK)
571 throws com.liferay.portal.kernel.exception.SystemException {
572 getPersistence().removeAssetEntry(pk, assetEntryPK);
573 }
574
575 public static void removeAssetEntry(long pk,
576 com.liferay.portlet.asset.model.AssetEntry assetEntry)
577 throws com.liferay.portal.kernel.exception.SystemException {
578 getPersistence().removeAssetEntry(pk, assetEntry);
579 }
580
581 public static void removeAssetEntries(long pk, long[] assetEntryPKs)
582 throws com.liferay.portal.kernel.exception.SystemException {
583 getPersistence().removeAssetEntries(pk, assetEntryPKs);
584 }
585
586 public static void removeAssetEntries(long pk,
587 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
588 throws com.liferay.portal.kernel.exception.SystemException {
589 getPersistence().removeAssetEntries(pk, assetEntries);
590 }
591
592 public static void setAssetEntries(long pk, long[] assetEntryPKs)
593 throws com.liferay.portal.kernel.exception.SystemException {
594 getPersistence().setAssetEntries(pk, assetEntryPKs);
595 }
596
597 public static void setAssetEntries(long pk,
598 java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
599 throws com.liferay.portal.kernel.exception.SystemException {
600 getPersistence().setAssetEntries(pk, assetEntries);
601 }
602
603 public static void rebuildTree(long groupId, boolean force)
604 throws com.liferay.portal.kernel.exception.SystemException {
605 getPersistence().rebuildTree(groupId, force);
606 }
607
608 public static AssetCategoryPersistence getPersistence() {
609 if (_persistence == null) {
610 _persistence = (AssetCategoryPersistence)PortalBeanLocatorUtil.locate(AssetCategoryPersistence.class.getName());
611 }
612
613 return _persistence;
614 }
615
616 public void setPersistence(AssetCategoryPersistence persistence) {
617 _persistence = persistence;
618 }
619
620 private static AssetCategoryPersistence _persistence;
621 }