001
014
015 package com.liferay.asset.kernel.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class AssetEntryLocalServiceUtil {
038
043 public static boolean hasAssetCategoryAssetEntries(long categoryId) {
044 return getService().hasAssetCategoryAssetEntries(categoryId);
045 }
046
047 public static boolean hasAssetCategoryAssetEntry(long categoryId,
048 long entryId) {
049 return getService().hasAssetCategoryAssetEntry(categoryId, entryId);
050 }
051
052 public static boolean hasAssetTagAssetEntries(long tagId) {
053 return getService().hasAssetTagAssetEntries(tagId);
054 }
055
056 public static boolean hasAssetTagAssetEntry(long tagId, long entryId) {
057 return getService().hasAssetTagAssetEntry(tagId, entryId);
058 }
059
060
066 public static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(
067 com.liferay.asset.kernel.model.AssetEntry assetEntry) {
068 return getService().addAssetEntry(assetEntry);
069 }
070
071
077 public static com.liferay.asset.kernel.model.AssetEntry createAssetEntry(
078 long entryId) {
079 return getService().createAssetEntry(entryId);
080 }
081
082
088 public static com.liferay.asset.kernel.model.AssetEntry deleteAssetEntry(
089 com.liferay.asset.kernel.model.AssetEntry assetEntry) {
090 return getService().deleteAssetEntry(assetEntry);
091 }
092
093
100 public static com.liferay.asset.kernel.model.AssetEntry deleteAssetEntry(
101 long entryId)
102 throws com.liferay.portal.kernel.exception.PortalException {
103 return getService().deleteAssetEntry(entryId);
104 }
105
106 public static com.liferay.asset.kernel.model.AssetEntry fetchAssetEntry(
107 long entryId) {
108 return getService().fetchAssetEntry(entryId);
109 }
110
111 public static com.liferay.asset.kernel.model.AssetEntry fetchEntry(
112 java.lang.String className, long classPK) {
113 return getService().fetchEntry(className, classPK);
114 }
115
116 public static com.liferay.asset.kernel.model.AssetEntry fetchEntry(
117 long entryId) {
118 return getService().fetchEntry(entryId);
119 }
120
121 public static com.liferay.asset.kernel.model.AssetEntry fetchEntry(
122 long groupId, java.lang.String classUuid) {
123 return getService().fetchEntry(groupId, classUuid);
124 }
125
126
133 public static com.liferay.asset.kernel.model.AssetEntry getAssetEntry(
134 long entryId)
135 throws com.liferay.portal.kernel.exception.PortalException {
136 return getService().getAssetEntry(entryId);
137 }
138
139 public static com.liferay.asset.kernel.model.AssetEntry getEntry(
140 java.lang.String className, long classPK)
141 throws com.liferay.portal.kernel.exception.PortalException {
142 return getService().getEntry(className, classPK);
143 }
144
145 public static com.liferay.asset.kernel.model.AssetEntry getEntry(
146 long entryId)
147 throws com.liferay.portal.kernel.exception.PortalException {
148 return getService().getEntry(entryId);
149 }
150
151 public static com.liferay.asset.kernel.model.AssetEntry getEntry(
152 long groupId, java.lang.String classUuid)
153 throws com.liferay.portal.kernel.exception.PortalException {
154 return getService().getEntry(groupId, classUuid);
155 }
156
157 public static com.liferay.asset.kernel.model.AssetEntry getNextEntry(
158 long entryId)
159 throws com.liferay.portal.kernel.exception.PortalException {
160 return getService().getNextEntry(entryId);
161 }
162
163 public static com.liferay.asset.kernel.model.AssetEntry getParentEntry(
164 long entryId)
165 throws com.liferay.portal.kernel.exception.PortalException {
166 return getService().getParentEntry(entryId);
167 }
168
169 public static com.liferay.asset.kernel.model.AssetEntry getPreviousEntry(
170 long entryId)
171 throws com.liferay.portal.kernel.exception.PortalException {
172 return getService().getPreviousEntry(entryId);
173 }
174
175 public static com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(
176 long userId, java.lang.String className, long classPK)
177 throws com.liferay.portal.kernel.exception.PortalException {
178 return getService().incrementViewCounter(userId, className, classPK);
179 }
180
181
187 public static com.liferay.asset.kernel.model.AssetEntry updateAssetEntry(
188 com.liferay.asset.kernel.model.AssetEntry assetEntry) {
189 return getService().updateAssetEntry(assetEntry);
190 }
191
192
196 @Deprecated
197 public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
198 java.lang.String className, long classPK, java.util.Date publishDate,
199 boolean visible)
200 throws com.liferay.portal.kernel.exception.PortalException {
201 return getService().updateEntry(className, classPK, publishDate, visible);
202 }
203
204 public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
205 java.lang.String className, long classPK, java.util.Date publishDate,
206 java.util.Date expirationDate, boolean listable, boolean visible)
207 throws com.liferay.portal.kernel.exception.PortalException {
208 return getService()
209 .updateEntry(className, classPK, publishDate,
210 expirationDate, listable, visible);
211 }
212
213
217 @Deprecated
218 public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
219 java.lang.String className, long classPK, java.util.Date publishDate,
220 java.util.Date expirationDate, boolean visible)
221 throws com.liferay.portal.kernel.exception.PortalException {
222 return getService()
223 .updateEntry(className, classPK, publishDate,
224 expirationDate, visible);
225 }
226
227 public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
228 long userId, long groupId, java.lang.String className, long classPK,
229 long[] categoryIds, java.lang.String[] tagNames)
230 throws com.liferay.portal.kernel.exception.PortalException {
231 return getService()
232 .updateEntry(userId, groupId, className, classPK,
233 categoryIds, tagNames);
234 }
235
236
242 @Deprecated
243 public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
244 long userId, long groupId, java.util.Date createDate,
245 java.util.Date modifiedDate, java.lang.String className, long classPK,
246 java.lang.String classUuid, long classTypeId, long[] categoryIds,
247 java.lang.String[] tagNames, boolean listable, boolean visible,
248 java.util.Date startDate, java.util.Date endDate,
249 java.util.Date expirationDate, java.lang.String mimeType,
250 java.lang.String title, java.lang.String description,
251 java.lang.String summary, java.lang.String url,
252 java.lang.String layoutUuid, int height, int width,
253 java.lang.Double priority)
254 throws com.liferay.portal.kernel.exception.PortalException {
255 return getService()
256 .updateEntry(userId, groupId, createDate, modifiedDate,
257 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
258 listable, visible, startDate, endDate, expirationDate, mimeType,
259 title, description, summary, url, layoutUuid, height, width,
260 priority);
261 }
262
263 public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
264 long userId, long groupId, java.util.Date createDate,
265 java.util.Date modifiedDate, java.lang.String className, long classPK,
266 java.lang.String classUuid, long classTypeId, long[] categoryIds,
267 java.lang.String[] tagNames, boolean listable, boolean visible,
268 java.util.Date startDate, java.util.Date endDate,
269 java.util.Date publishDate, java.util.Date expirationDate,
270 java.lang.String mimeType, java.lang.String title,
271 java.lang.String description, java.lang.String summary,
272 java.lang.String url, java.lang.String layoutUuid, int height,
273 int width, java.lang.Double priority)
274 throws com.liferay.portal.kernel.exception.PortalException {
275 return getService()
276 .updateEntry(userId, groupId, createDate, modifiedDate,
277 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
278 listable, visible, startDate, endDate, publishDate, expirationDate,
279 mimeType, title, description, summary, url, layoutUuid, height,
280 width, priority);
281 }
282
283
289 @Deprecated
290 public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
291 long userId, long groupId, java.util.Date createDate,
292 java.util.Date modifiedDate, java.lang.String className, long classPK,
293 java.lang.String classUuid, long classTypeId, long[] categoryIds,
294 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
295 java.util.Date endDate, java.util.Date expirationDate,
296 java.lang.String mimeType, java.lang.String title,
297 java.lang.String description, java.lang.String summary,
298 java.lang.String url, java.lang.String layoutUuid, int height,
299 int width, java.lang.Integer priority, boolean sync)
300 throws com.liferay.portal.kernel.exception.PortalException {
301 return getService()
302 .updateEntry(userId, groupId, createDate, modifiedDate,
303 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
304 visible, startDate, endDate, expirationDate, mimeType, title,
305 description, summary, url, layoutUuid, height, width, priority, sync);
306 }
307
308 public static com.liferay.asset.kernel.model.AssetEntry updateVisible(
309 com.liferay.asset.kernel.model.AssetEntry entry, boolean visible)
310 throws com.liferay.portal.kernel.exception.PortalException {
311 return getService().updateVisible(entry, visible);
312 }
313
314 public static com.liferay.asset.kernel.model.AssetEntry updateVisible(
315 java.lang.String className, long classPK, boolean visible)
316 throws com.liferay.portal.kernel.exception.PortalException {
317 return getService().updateVisible(className, classPK, visible);
318 }
319
320 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
321 return getService().getActionableDynamicQuery();
322 }
323
324 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
325 return getService().dynamicQuery();
326 }
327
328 public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
329 return getService().getIndexableActionableDynamicQuery();
330 }
331
332
335 public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
336 com.liferay.portal.kernel.model.PersistedModel persistedModel)
337 throws com.liferay.portal.kernel.exception.PortalException {
338 return getService().deletePersistedModel(persistedModel);
339 }
340
341 public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
342 java.io.Serializable primaryKeyObj)
343 throws com.liferay.portal.kernel.exception.PortalException {
344 return getService().getPersistedModel(primaryKeyObj);
345 }
346
347 public static com.liferay.portal.kernel.search.Hits search(long companyId,
348 long[] groupIds, long userId, java.lang.String className,
349 java.lang.String keywords, int status, int start, int end) {
350 return getService()
351 .search(companyId, groupIds, userId, className, keywords,
352 status, start, end);
353 }
354
355 public static com.liferay.portal.kernel.search.Hits search(long companyId,
356 long[] groupIds, long userId, java.lang.String className,
357 java.lang.String userName, java.lang.String title,
358 java.lang.String description, java.lang.String assetCategoryIds,
359 java.lang.String assetTagNames, int status, boolean andSearch,
360 int start, int end) {
361 return getService()
362 .search(companyId, groupIds, userId, className, userName,
363 title, description, assetCategoryIds, assetTagNames, status,
364 andSearch, start, end);
365 }
366
367 public static com.liferay.portal.kernel.search.Hits search(long companyId,
368 long[] groupIds, long userId, java.lang.String className,
369 long classTypeId, java.lang.String keywords, boolean showNonindexable,
370 int status, int start, int end) {
371 return getService()
372 .search(companyId, groupIds, userId, className, classTypeId,
373 keywords, showNonindexable, status, start, end);
374 }
375
376 public static com.liferay.portal.kernel.search.Hits search(long companyId,
377 long[] groupIds, long userId, java.lang.String className,
378 long classTypeId, java.lang.String keywords, boolean showNonindexable,
379 int[] statuses, int start, int end) {
380 return getService()
381 .search(companyId, groupIds, userId, className, classTypeId,
382 keywords, showNonindexable, statuses, start, end);
383 }
384
385 public static com.liferay.portal.kernel.search.Hits search(long companyId,
386 long[] groupIds, long userId, java.lang.String className,
387 long classTypeId, java.lang.String keywords, int status, int start,
388 int end) {
389 return getService()
390 .search(companyId, groupIds, userId, className, classTypeId,
391 keywords, status, start, end);
392 }
393
394 public static com.liferay.portal.kernel.search.Hits search(long companyId,
395 long[] groupIds, long userId, java.lang.String className,
396 long classTypeId, java.lang.String userName, java.lang.String title,
397 java.lang.String description, java.lang.String assetCategoryIds,
398 java.lang.String assetTagNames, boolean showNonindexable, int status,
399 boolean andSearch, int start, int end) {
400 return getService()
401 .search(companyId, groupIds, userId, className, classTypeId,
402 userName, title, description, assetCategoryIds, assetTagNames,
403 showNonindexable, status, andSearch, start, end);
404 }
405
406 public static com.liferay.portal.kernel.search.Hits search(long companyId,
407 long[] groupIds, long userId, java.lang.String className,
408 long classTypeId, java.lang.String userName, java.lang.String title,
409 java.lang.String description, java.lang.String assetCategoryIds,
410 java.lang.String assetTagNames, boolean showNonindexable,
411 int[] statuses, boolean andSearch, int start, int end) {
412 return getService()
413 .search(companyId, groupIds, userId, className, classTypeId,
414 userName, title, description, assetCategoryIds, assetTagNames,
415 showNonindexable, statuses, andSearch, start, end);
416 }
417
418 public static com.liferay.portal.kernel.search.Hits search(long companyId,
419 long[] groupIds, long userId, java.lang.String className,
420 long classTypeId, java.lang.String userName, java.lang.String title,
421 java.lang.String description, java.lang.String assetCategoryIds,
422 java.lang.String assetTagNames, int status, boolean andSearch,
423 int start, int end) {
424 return getService()
425 .search(companyId, groupIds, userId, className, classTypeId,
426 userName, title, description, assetCategoryIds, assetTagNames,
427 status, andSearch, start, end);
428 }
429
430 public static int getAssetCategoryAssetEntriesCount(long categoryId) {
431 return getService().getAssetCategoryAssetEntriesCount(categoryId);
432 }
433
434
439 public static int getAssetEntriesCount() {
440 return getService().getAssetEntriesCount();
441 }
442
443 public static int getAssetTagAssetEntriesCount(long tagId) {
444 return getService().getAssetTagAssetEntriesCount(tagId);
445 }
446
447 public static int getCompanyEntriesCount(long companyId) {
448 return getService().getCompanyEntriesCount(companyId);
449 }
450
451 public static int getEntriesCount(
452 com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery) {
453 return getService().getEntriesCount(entryQuery);
454 }
455
456 public static int getEntriesCount(long[] groupIds, long[] classNameIds,
457 java.lang.String keywords, java.lang.String userName,
458 java.lang.String title, java.lang.String description,
459 java.lang.Boolean listable, boolean advancedSearch, boolean andOperator) {
460 return getService()
461 .getEntriesCount(groupIds, classNameIds, keywords, userName,
462 title, description, listable, advancedSearch, andOperator);
463 }
464
465
470 public static java.lang.String getOSGiServiceIdentifier() {
471 return getService().getOSGiServiceIdentifier();
472 }
473
474
480 public static <T> java.util.List<T> dynamicQuery(
481 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
482 return getService().dynamicQuery(dynamicQuery);
483 }
484
485
497 public static <T> java.util.List<T> dynamicQuery(
498 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
499 int end) {
500 return getService().dynamicQuery(dynamicQuery, start, end);
501 }
502
503
516 public static <T> java.util.List<T> dynamicQuery(
517 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
518 int end,
519 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
520 return getService()
521 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
522 }
523
524 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAncestorEntries(
525 long entryId)
526 throws com.liferay.portal.kernel.exception.PortalException {
527 return getService().getAncestorEntries(entryId);
528 }
529
530 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAssetCategoryAssetEntries(
531 long categoryId) {
532 return getService().getAssetCategoryAssetEntries(categoryId);
533 }
534
535 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAssetCategoryAssetEntries(
536 long categoryId, int start, int end) {
537 return getService().getAssetCategoryAssetEntries(categoryId, start, end);
538 }
539
540 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAssetCategoryAssetEntries(
541 long categoryId, int start, int end,
542 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) {
543 return getService()
544 .getAssetCategoryAssetEntries(categoryId, start, end,
545 orderByComparator);
546 }
547
548
559 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAssetEntries(
560 int start, int end) {
561 return getService().getAssetEntries(start, end);
562 }
563
564 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAssetTagAssetEntries(
565 long tagId) {
566 return getService().getAssetTagAssetEntries(tagId);
567 }
568
569 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAssetTagAssetEntries(
570 long tagId, int start, int end) {
571 return getService().getAssetTagAssetEntries(tagId, start, end);
572 }
573
574 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getAssetTagAssetEntries(
575 long tagId, int start, int end,
576 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) {
577 return getService()
578 .getAssetTagAssetEntries(tagId, start, end, orderByComparator);
579 }
580
581 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getChildEntries(
582 long entryId)
583 throws com.liferay.portal.kernel.exception.PortalException {
584 return getService().getChildEntries(entryId);
585 }
586
587 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getCompanyEntries(
588 long companyId, int start, int end) {
589 return getService().getCompanyEntries(companyId, start, end);
590 }
591
592 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getEntries(
593 com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery) {
594 return getService().getEntries(entryQuery);
595 }
596
597 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getEntries(
598 long[] groupIds, long[] classNameIds, java.lang.String keywords,
599 java.lang.String userName, java.lang.String title,
600 java.lang.String description, java.lang.Boolean listable,
601 boolean advancedSearch, boolean andOperator, int start, int end,
602 java.lang.String orderByCol1, java.lang.String orderByCol2,
603 java.lang.String orderByType1, java.lang.String orderByType2) {
604 return getService()
605 .getEntries(groupIds, classNameIds, keywords, userName,
606 title, description, listable, advancedSearch, andOperator, start,
607 end, orderByCol1, orderByCol2, orderByType1, orderByType2);
608 }
609
610 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getGroupEntries(
611 long groupId) {
612 return getService().getGroupEntries(groupId);
613 }
614
615 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getTopViewedEntries(
616 java.lang.String className, boolean asc, int start, int end) {
617 return getService().getTopViewedEntries(className, asc, start, end);
618 }
619
620 public static java.util.List<com.liferay.asset.kernel.model.AssetEntry> getTopViewedEntries(
621 java.lang.String[] className, boolean asc, int start, int end) {
622 return getService().getTopViewedEntries(className, asc, start, end);
623 }
624
625
631 public static long dynamicQueryCount(
632 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
633 return getService().dynamicQueryCount(dynamicQuery);
634 }
635
636
643 public static long dynamicQueryCount(
644 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
645 com.liferay.portal.kernel.dao.orm.Projection projection) {
646 return getService().dynamicQueryCount(dynamicQuery, projection);
647 }
648
649 public static long searchCount(long companyId, long[] groupIds,
650 long userId, java.lang.String className, long classTypeId,
651 java.lang.String keywords, boolean showNonindexable, int[] statuses) {
652 return getService()
653 .searchCount(companyId, groupIds, userId, className,
654 classTypeId, keywords, showNonindexable, statuses);
655 }
656
657 public static long searchCount(long companyId, long[] groupIds,
658 long userId, java.lang.String className, long classTypeId,
659 java.lang.String userName, java.lang.String title,
660 java.lang.String description, java.lang.String assetCategoryIds,
661 java.lang.String assetTagNames, boolean showInvisible,
662 boolean showNonindexable, int[] statuses, boolean andSearch) {
663 return getService()
664 .searchCount(companyId, groupIds, userId, className,
665 classTypeId, userName, title, description, assetCategoryIds,
666 assetTagNames, showInvisible, showNonindexable, statuses, andSearch);
667 }
668
669 public static long searchCount(long companyId, long[] groupIds,
670 long userId, java.lang.String className, long classTypeId,
671 java.lang.String userName, java.lang.String title,
672 java.lang.String description, java.lang.String assetCategoryIds,
673 java.lang.String assetTagNames, boolean showNonindexable,
674 int[] statuses, boolean andSearch) {
675 return getService()
676 .searchCount(companyId, groupIds, userId, className,
677 classTypeId, userName, title, description, assetCategoryIds,
678 assetTagNames, showNonindexable, statuses, andSearch);
679 }
680
681
687 public static long[] getAssetCategoryPrimaryKeys(long entryId) {
688 return getService().getAssetCategoryPrimaryKeys(entryId);
689 }
690
691
697 public static long[] getAssetTagPrimaryKeys(long entryId) {
698 return getService().getAssetTagPrimaryKeys(entryId);
699 }
700
701 public static void addAssetCategoryAssetEntries(long categoryId,
702 java.util.List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) {
703 getService().addAssetCategoryAssetEntries(categoryId, assetEntries);
704 }
705
706 public static void addAssetCategoryAssetEntries(long categoryId,
707 long[] entryIds) {
708 getService().addAssetCategoryAssetEntries(categoryId, entryIds);
709 }
710
711 public static void addAssetCategoryAssetEntry(long categoryId,
712 com.liferay.asset.kernel.model.AssetEntry assetEntry) {
713 getService().addAssetCategoryAssetEntry(categoryId, assetEntry);
714 }
715
716 public static void addAssetCategoryAssetEntry(long categoryId, long entryId) {
717 getService().addAssetCategoryAssetEntry(categoryId, entryId);
718 }
719
720 public static void addAssetTagAssetEntries(long tagId,
721 java.util.List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) {
722 getService().addAssetTagAssetEntries(tagId, assetEntries);
723 }
724
725 public static void addAssetTagAssetEntries(long tagId, long[] entryIds) {
726 getService().addAssetTagAssetEntries(tagId, entryIds);
727 }
728
729 public static void addAssetTagAssetEntry(long tagId,
730 com.liferay.asset.kernel.model.AssetEntry assetEntry) {
731 getService().addAssetTagAssetEntry(tagId, assetEntry);
732 }
733
734 public static void addAssetTagAssetEntry(long tagId, long entryId) {
735 getService().addAssetTagAssetEntry(tagId, entryId);
736 }
737
738 public static void clearAssetCategoryAssetEntries(long categoryId) {
739 getService().clearAssetCategoryAssetEntries(categoryId);
740 }
741
742 public static void clearAssetTagAssetEntries(long tagId) {
743 getService().clearAssetTagAssetEntries(tagId);
744 }
745
746 public static void deleteAssetCategoryAssetEntries(long categoryId,
747 java.util.List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) {
748 getService().deleteAssetCategoryAssetEntries(categoryId, assetEntries);
749 }
750
751 public static void deleteAssetCategoryAssetEntries(long categoryId,
752 long[] entryIds) {
753 getService().deleteAssetCategoryAssetEntries(categoryId, entryIds);
754 }
755
756 public static void deleteAssetCategoryAssetEntry(long categoryId,
757 com.liferay.asset.kernel.model.AssetEntry assetEntry) {
758 getService().deleteAssetCategoryAssetEntry(categoryId, assetEntry);
759 }
760
761 public static void deleteAssetCategoryAssetEntry(long categoryId,
762 long entryId) {
763 getService().deleteAssetCategoryAssetEntry(categoryId, entryId);
764 }
765
766 public static void deleteAssetTagAssetEntries(long tagId,
767 java.util.List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) {
768 getService().deleteAssetTagAssetEntries(tagId, assetEntries);
769 }
770
771 public static void deleteAssetTagAssetEntries(long tagId, long[] entryIds) {
772 getService().deleteAssetTagAssetEntries(tagId, entryIds);
773 }
774
775 public static void deleteAssetTagAssetEntry(long tagId,
776 com.liferay.asset.kernel.model.AssetEntry assetEntry) {
777 getService().deleteAssetTagAssetEntry(tagId, assetEntry);
778 }
779
780 public static void deleteAssetTagAssetEntry(long tagId, long entryId) {
781 getService().deleteAssetTagAssetEntry(tagId, entryId);
782 }
783
784 public static void deleteEntry(
785 com.liferay.asset.kernel.model.AssetEntry entry)
786 throws com.liferay.portal.kernel.exception.PortalException {
787 getService().deleteEntry(entry);
788 }
789
790 public static void deleteEntry(java.lang.String className, long classPK)
791 throws com.liferay.portal.kernel.exception.PortalException {
792 getService().deleteEntry(className, classPK);
793 }
794
795 public static void deleteEntry(long entryId)
796 throws com.liferay.portal.kernel.exception.PortalException {
797 getService().deleteEntry(entryId);
798 }
799
800 public static void deleteGroupEntries(long groupId)
801 throws com.liferay.portal.kernel.exception.PortalException {
802 getService().deleteGroupEntries(groupId);
803 }
804
805 public static void incrementViewCounter(long userId,
806 java.lang.String className, long classPK, int increment) {
807 getService().incrementViewCounter(userId, className, classPK, increment);
808 }
809
810 public static void reindex(
811 java.util.List<com.liferay.asset.kernel.model.AssetEntry> entries)
812 throws com.liferay.portal.kernel.exception.PortalException {
813 getService().reindex(entries);
814 }
815
816 public static void setAssetCategoryAssetEntries(long categoryId,
817 long[] entryIds) {
818 getService().setAssetCategoryAssetEntries(categoryId, entryIds);
819 }
820
821 public static void setAssetTagAssetEntries(long tagId, long[] entryIds) {
822 getService().setAssetTagAssetEntries(tagId, entryIds);
823 }
824
825 public static void validate(long groupId, java.lang.String className,
826 long classTypePK, long[] categoryIds, java.lang.String[] tagNames)
827 throws com.liferay.portal.kernel.exception.PortalException {
828 getService()
829 .validate(groupId, className, classTypePK, categoryIds, tagNames);
830 }
831
832
836 @Deprecated
837 public static void validate(long groupId, java.lang.String className,
838 long[] categoryIds, java.lang.String[] tagNames)
839 throws com.liferay.portal.kernel.exception.PortalException {
840 getService().validate(groupId, className, categoryIds, tagNames);
841 }
842
843 public static AssetEntryLocalService getService() {
844 if (_service == null) {
845 _service = (AssetEntryLocalService)PortalBeanLocatorUtil.locate(AssetEntryLocalService.class.getName());
846
847 ReferenceRegistry.registerReference(AssetEntryLocalServiceUtil.class,
848 "_service");
849 }
850
851 return _service;
852 }
853
854 private static AssetEntryLocalService _service;
855 }