001
014
015 package com.liferay.portlet.asset.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 void addAssetCategoryAssetEntries(long categoryId,
044 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
045 getService().addAssetCategoryAssetEntries(categoryId, AssetEntries);
046 }
047
048 public static void addAssetCategoryAssetEntries(long categoryId,
049 long[] entryIds) {
050 getService().addAssetCategoryAssetEntries(categoryId, entryIds);
051 }
052
053 public static void addAssetCategoryAssetEntry(long categoryId,
054 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
055 getService().addAssetCategoryAssetEntry(categoryId, assetEntry);
056 }
057
058 public static void addAssetCategoryAssetEntry(long categoryId, long entryId) {
059 getService().addAssetCategoryAssetEntry(categoryId, entryId);
060 }
061
062
068 public static com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
069 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
070 return getService().addAssetEntry(assetEntry);
071 }
072
073 public static void addAssetTagAssetEntries(long tagId,
074 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
075 getService().addAssetTagAssetEntries(tagId, AssetEntries);
076 }
077
078 public static void addAssetTagAssetEntries(long tagId, long[] entryIds) {
079 getService().addAssetTagAssetEntries(tagId, entryIds);
080 }
081
082 public static void addAssetTagAssetEntry(long tagId,
083 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
084 getService().addAssetTagAssetEntry(tagId, assetEntry);
085 }
086
087 public static void addAssetTagAssetEntry(long tagId, long entryId) {
088 getService().addAssetTagAssetEntry(tagId, entryId);
089 }
090
091 public static void clearAssetCategoryAssetEntries(long categoryId) {
092 getService().clearAssetCategoryAssetEntries(categoryId);
093 }
094
095 public static void clearAssetTagAssetEntries(long tagId) {
096 getService().clearAssetTagAssetEntries(tagId);
097 }
098
099
105 public static com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
106 long entryId) {
107 return getService().createAssetEntry(entryId);
108 }
109
110 public static void deleteAssetCategoryAssetEntries(long categoryId,
111 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
112 getService().deleteAssetCategoryAssetEntries(categoryId, AssetEntries);
113 }
114
115 public static void deleteAssetCategoryAssetEntries(long categoryId,
116 long[] entryIds) {
117 getService().deleteAssetCategoryAssetEntries(categoryId, entryIds);
118 }
119
120 public static void deleteAssetCategoryAssetEntry(long categoryId,
121 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
122 getService().deleteAssetCategoryAssetEntry(categoryId, assetEntry);
123 }
124
125 public static void deleteAssetCategoryAssetEntry(long categoryId,
126 long entryId) {
127 getService().deleteAssetCategoryAssetEntry(categoryId, entryId);
128 }
129
130
136 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
137 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
138 return getService().deleteAssetEntry(assetEntry);
139 }
140
141
148 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
149 long entryId)
150 throws com.liferay.portal.kernel.exception.PortalException {
151 return getService().deleteAssetEntry(entryId);
152 }
153
154 public static void deleteAssetTagAssetEntries(long tagId,
155 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries) {
156 getService().deleteAssetTagAssetEntries(tagId, AssetEntries);
157 }
158
159 public static void deleteAssetTagAssetEntries(long tagId, long[] entryIds) {
160 getService().deleteAssetTagAssetEntries(tagId, entryIds);
161 }
162
163 public static void deleteAssetTagAssetEntry(long tagId,
164 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
165 getService().deleteAssetTagAssetEntry(tagId, assetEntry);
166 }
167
168 public static void deleteAssetTagAssetEntry(long tagId, long entryId) {
169 getService().deleteAssetTagAssetEntry(tagId, entryId);
170 }
171
172 public static void deleteEntry(java.lang.String className, long classPK)
173 throws com.liferay.portal.kernel.exception.PortalException {
174 getService().deleteEntry(className, classPK);
175 }
176
177 public static void deleteEntry(
178 com.liferay.portlet.asset.model.AssetEntry entry)
179 throws com.liferay.portal.kernel.exception.PortalException {
180 getService().deleteEntry(entry);
181 }
182
183 public static void deleteEntry(long entryId)
184 throws com.liferay.portal.kernel.exception.PortalException {
185 getService().deleteEntry(entryId);
186 }
187
188 public static void deleteGroupEntries(long groupId)
189 throws com.liferay.portal.kernel.exception.PortalException {
190 getService().deleteGroupEntries(groupId);
191 }
192
193
196 public static com.liferay.portal.model.PersistedModel deletePersistedModel(
197 com.liferay.portal.model.PersistedModel persistedModel)
198 throws com.liferay.portal.kernel.exception.PortalException {
199 return getService().deletePersistedModel(persistedModel);
200 }
201
202 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
203 return getService().dynamicQuery();
204 }
205
206
212 public static <T> java.util.List<T> dynamicQuery(
213 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
214 return getService().dynamicQuery(dynamicQuery);
215 }
216
217
229 public static <T> java.util.List<T> dynamicQuery(
230 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
231 int end) {
232 return getService().dynamicQuery(dynamicQuery, start, end);
233 }
234
235
248 public static <T> java.util.List<T> dynamicQuery(
249 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
250 int end,
251 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
252 return getService()
253 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
254 }
255
256
262 public static long dynamicQueryCount(
263 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
264 return getService().dynamicQueryCount(dynamicQuery);
265 }
266
267
274 public static long dynamicQueryCount(
275 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
276 com.liferay.portal.kernel.dao.orm.Projection projection) {
277 return getService().dynamicQueryCount(dynamicQuery, projection);
278 }
279
280 public static com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
281 long entryId) {
282 return getService().fetchAssetEntry(entryId);
283 }
284
285 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
286 java.lang.String className, long classPK) {
287 return getService().fetchEntry(className, classPK);
288 }
289
290 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
291 long entryId) {
292 return getService().fetchEntry(entryId);
293 }
294
295 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
296 long groupId, java.lang.String classUuid) {
297 return getService().fetchEntry(groupId, classUuid);
298 }
299
300 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
301 return getService().getActionableDynamicQuery();
302 }
303
304 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
305 long entryId)
306 throws com.liferay.portal.kernel.exception.PortalException {
307 return getService().getAncestorEntries(entryId);
308 }
309
310 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
311 long categoryId) {
312 return getService().getAssetCategoryAssetEntries(categoryId);
313 }
314
315 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
316 long categoryId, int start, int end) {
317 return getService().getAssetCategoryAssetEntries(categoryId, start, end);
318 }
319
320 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
321 long categoryId, int start, int end,
322 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetEntry> orderByComparator) {
323 return getService()
324 .getAssetCategoryAssetEntries(categoryId, start, end,
325 orderByComparator);
326 }
327
328 public static int getAssetCategoryAssetEntriesCount(long categoryId) {
329 return getService().getAssetCategoryAssetEntriesCount(categoryId);
330 }
331
332
338 public static long[] getAssetCategoryPrimaryKeys(long entryId) {
339 return getService().getAssetCategoryPrimaryKeys(entryId);
340 }
341
342
353 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
354 int start, int end) {
355 return getService().getAssetEntries(start, end);
356 }
357
358
363 public static int getAssetEntriesCount() {
364 return getService().getAssetEntriesCount();
365 }
366
367
374 public static com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
375 long entryId)
376 throws com.liferay.portal.kernel.exception.PortalException {
377 return getService().getAssetEntry(entryId);
378 }
379
380 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
381 long tagId) {
382 return getService().getAssetTagAssetEntries(tagId);
383 }
384
385 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
386 long tagId, int start, int end) {
387 return getService().getAssetTagAssetEntries(tagId, start, end);
388 }
389
390 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
391 long tagId, int start, int end,
392 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetEntry> orderByComparator) {
393 return getService()
394 .getAssetTagAssetEntries(tagId, start, end, orderByComparator);
395 }
396
397 public static int getAssetTagAssetEntriesCount(long tagId) {
398 return getService().getAssetTagAssetEntriesCount(tagId);
399 }
400
401
407 public static long[] getAssetTagPrimaryKeys(long entryId) {
408 return getService().getAssetTagPrimaryKeys(entryId);
409 }
410
411
416 public static java.lang.String getBeanIdentifier() {
417 return getService().getBeanIdentifier();
418 }
419
420 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
421 long entryId)
422 throws com.liferay.portal.kernel.exception.PortalException {
423 return getService().getChildEntries(entryId);
424 }
425
426 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
427 long companyId, int start, int end) {
428 return getService().getCompanyEntries(companyId, start, end);
429 }
430
431 public static int getCompanyEntriesCount(long companyId) {
432 return getService().getCompanyEntriesCount(companyId);
433 }
434
435 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
436 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery) {
437 return getService().getEntries(entryQuery);
438 }
439
440 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
441 long[] groupIds, long[] classNameIds, java.lang.String keywords,
442 java.lang.String userName, java.lang.String title,
443 java.lang.String description, java.lang.Boolean listable,
444 boolean advancedSearch, boolean andOperator, int start, int end,
445 java.lang.String orderByCol1, java.lang.String orderByCol2,
446 java.lang.String orderByType1, java.lang.String orderByType2) {
447 return getService()
448 .getEntries(groupIds, classNameIds, keywords, userName,
449 title, description, listable, advancedSearch, andOperator, start,
450 end, orderByCol1, orderByCol2, orderByType1, orderByType2);
451 }
452
453 public static int getEntriesCount(
454 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery) {
455 return getService().getEntriesCount(entryQuery);
456 }
457
458 public static int getEntriesCount(long[] groupIds, long[] classNameIds,
459 java.lang.String keywords, java.lang.String userName,
460 java.lang.String title, java.lang.String description,
461 java.lang.Boolean listable, boolean advancedSearch, boolean andOperator) {
462 return getService()
463 .getEntriesCount(groupIds, classNameIds, keywords, userName,
464 title, description, listable, advancedSearch, andOperator);
465 }
466
467 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
468 java.lang.String className, long classPK)
469 throws com.liferay.portal.kernel.exception.PortalException {
470 return getService().getEntry(className, classPK);
471 }
472
473 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
474 long entryId)
475 throws com.liferay.portal.kernel.exception.PortalException {
476 return getService().getEntry(entryId);
477 }
478
479 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
480 long groupId, java.lang.String classUuid)
481 throws com.liferay.portal.kernel.exception.PortalException {
482 return getService().getEntry(groupId, classUuid);
483 }
484
485 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getGroupEntries(
486 long groupId) {
487 return getService().getGroupEntries(groupId);
488 }
489
490 public static com.liferay.portlet.asset.model.AssetEntry getNextEntry(
491 long entryId)
492 throws com.liferay.portal.kernel.exception.PortalException {
493 return getService().getNextEntry(entryId);
494 }
495
496 public static com.liferay.portlet.asset.model.AssetEntry getParentEntry(
497 long entryId)
498 throws com.liferay.portal.kernel.exception.PortalException {
499 return getService().getParentEntry(entryId);
500 }
501
502 public static com.liferay.portal.model.PersistedModel getPersistedModel(
503 java.io.Serializable primaryKeyObj)
504 throws com.liferay.portal.kernel.exception.PortalException {
505 return getService().getPersistedModel(primaryKeyObj);
506 }
507
508 public static com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
509 long entryId)
510 throws com.liferay.portal.kernel.exception.PortalException {
511 return getService().getPreviousEntry(entryId);
512 }
513
514 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
515 java.lang.String[] className, boolean asc, int start, int end) {
516 return getService().getTopViewedEntries(className, asc, start, end);
517 }
518
519 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
520 java.lang.String className, boolean asc, int start, int end) {
521 return getService().getTopViewedEntries(className, asc, start, end);
522 }
523
524 public static boolean hasAssetCategoryAssetEntries(long categoryId) {
525 return getService().hasAssetCategoryAssetEntries(categoryId);
526 }
527
528 public static boolean hasAssetCategoryAssetEntry(long categoryId,
529 long entryId) {
530 return getService().hasAssetCategoryAssetEntry(categoryId, entryId);
531 }
532
533 public static boolean hasAssetTagAssetEntries(long tagId) {
534 return getService().hasAssetTagAssetEntries(tagId);
535 }
536
537 public static boolean hasAssetTagAssetEntry(long tagId, long entryId) {
538 return getService().hasAssetTagAssetEntry(tagId, entryId);
539 }
540
541 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
542 long userId, java.lang.String className, long classPK)
543 throws com.liferay.portal.kernel.exception.PortalException {
544 return getService().incrementViewCounter(userId, className, classPK);
545 }
546
547 public static void incrementViewCounter(long userId,
548 java.lang.String className, long classPK, int increment) {
549 getService().incrementViewCounter(userId, className, classPK, increment);
550 }
551
552 public static void reindex(
553 java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
554 throws com.liferay.portal.kernel.exception.PortalException {
555 getService().reindex(entries);
556 }
557
558
562 @Deprecated
563 public static com.liferay.portal.kernel.search.Hits search(long companyId,
564 long[] groupIds, java.lang.String className, java.lang.String keywords,
565 int start, int end) {
566 return getService()
567 .search(companyId, groupIds, className, keywords, start, end);
568 }
569
570 public static com.liferay.portal.kernel.search.Hits search(long companyId,
571 long[] groupIds, long userId, java.lang.String className,
572 long classTypeId, java.lang.String keywords, boolean showNonindexable,
573 int status, int start, int end) {
574 return getService()
575 .search(companyId, groupIds, userId, className, classTypeId,
576 keywords, showNonindexable, status, start, end);
577 }
578
579 public static com.liferay.portal.kernel.search.Hits search(long companyId,
580 long[] groupIds, long userId, java.lang.String className,
581 long classTypeId, java.lang.String keywords, boolean showNonindexable,
582 int[] statuses, int start, int end) {
583 return getService()
584 .search(companyId, groupIds, userId, className, classTypeId,
585 keywords, showNonindexable, statuses, start, end);
586 }
587
588 public static com.liferay.portal.kernel.search.Hits search(long companyId,
589 long[] groupIds, long userId, java.lang.String className,
590 long classTypeId, java.lang.String keywords, int status, int start,
591 int end) {
592 return getService()
593 .search(companyId, groupIds, userId, className, classTypeId,
594 keywords, status, start, end);
595 }
596
597 public static com.liferay.portal.kernel.search.Hits search(long companyId,
598 long[] groupIds, long userId, java.lang.String className,
599 long classTypeId, java.lang.String userName, java.lang.String title,
600 java.lang.String description, java.lang.String assetCategoryIds,
601 java.lang.String assetTagNames, boolean showNonindexable, int status,
602 boolean andSearch, int start, int end) {
603 return getService()
604 .search(companyId, groupIds, userId, className, classTypeId,
605 userName, title, description, assetCategoryIds, assetTagNames,
606 showNonindexable, status, andSearch, start, end);
607 }
608
609 public static com.liferay.portal.kernel.search.Hits search(long companyId,
610 long[] groupIds, long userId, java.lang.String className,
611 long classTypeId, java.lang.String userName, java.lang.String title,
612 java.lang.String description, java.lang.String assetCategoryIds,
613 java.lang.String assetTagNames, boolean showNonindexable,
614 int[] statuses, boolean andSearch, int start, int end) {
615 return getService()
616 .search(companyId, groupIds, userId, className, classTypeId,
617 userName, title, description, assetCategoryIds, assetTagNames,
618 showNonindexable, statuses, andSearch, start, end);
619 }
620
621 public static com.liferay.portal.kernel.search.Hits search(long companyId,
622 long[] groupIds, long userId, java.lang.String className,
623 long classTypeId, java.lang.String userName, java.lang.String title,
624 java.lang.String description, java.lang.String assetCategoryIds,
625 java.lang.String assetTagNames, int status, boolean andSearch,
626 int start, int end) {
627 return getService()
628 .search(companyId, groupIds, userId, className, classTypeId,
629 userName, title, description, assetCategoryIds, assetTagNames,
630 status, andSearch, start, end);
631 }
632
633
637 @Deprecated
638 public static com.liferay.portal.kernel.search.Hits search(long companyId,
639 long[] groupIds, long userId, java.lang.String className,
640 java.lang.String keywords, int start, int end) {
641 return getService()
642 .search(companyId, groupIds, userId, className, keywords,
643 start, end);
644 }
645
646 public static com.liferay.portal.kernel.search.Hits search(long companyId,
647 long[] groupIds, long userId, java.lang.String className,
648 java.lang.String keywords, int status, int start, int end) {
649 return getService()
650 .search(companyId, groupIds, userId, className, keywords,
651 status, start, end);
652 }
653
654
659 @Deprecated
660 public static com.liferay.portal.kernel.search.Hits search(long companyId,
661 long[] groupIds, long userId, java.lang.String className,
662 java.lang.String userName, java.lang.String title,
663 java.lang.String description, java.lang.String assetCategoryIds,
664 java.lang.String assetTagNames, boolean andSearch, int start, int end) {
665 return getService()
666 .search(companyId, groupIds, userId, className, userName,
667 title, description, assetCategoryIds, assetTagNames, andSearch,
668 start, end);
669 }
670
671 public static com.liferay.portal.kernel.search.Hits search(long companyId,
672 long[] groupIds, long userId, java.lang.String className,
673 java.lang.String userName, java.lang.String title,
674 java.lang.String description, java.lang.String assetCategoryIds,
675 java.lang.String assetTagNames, int status, boolean andSearch,
676 int start, int end) {
677 return getService()
678 .search(companyId, groupIds, userId, className, userName,
679 title, description, assetCategoryIds, assetTagNames, status,
680 andSearch, start, end);
681 }
682
683 public static void setAssetCategoryAssetEntries(long categoryId,
684 long[] entryIds) {
685 getService().setAssetCategoryAssetEntries(categoryId, entryIds);
686 }
687
688 public static void setAssetTagAssetEntries(long tagId, long[] entryIds) {
689 getService().setAssetTagAssetEntries(tagId, entryIds);
690 }
691
692
697 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
698 getService().setBeanIdentifier(beanIdentifier);
699 }
700
701
707 public static com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
708 com.liferay.portlet.asset.model.AssetEntry assetEntry) {
709 return getService().updateAssetEntry(assetEntry);
710 }
711
712 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
713 java.lang.String className, long classPK, java.util.Date publishDate,
714 java.util.Date expirationDate, boolean visible)
715 throws com.liferay.portal.kernel.exception.PortalException {
716 return getService()
717 .updateEntry(className, classPK, publishDate,
718 expirationDate, visible);
719 }
720
721 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
722 java.lang.String className, long classPK, java.util.Date publishDate,
723 boolean visible)
724 throws com.liferay.portal.kernel.exception.PortalException {
725 return getService().updateEntry(className, classPK, publishDate, visible);
726 }
727
728 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
729 long userId, long groupId, java.lang.String className, long classPK,
730 long[] categoryIds, java.lang.String[] tagNames)
731 throws com.liferay.portal.kernel.exception.PortalException {
732 return getService()
733 .updateEntry(userId, groupId, className, classPK,
734 categoryIds, tagNames);
735 }
736
737
743 @Deprecated
744 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
745 long userId, long groupId, java.lang.String className, long classPK,
746 java.lang.String classUuid, long classTypeId, long[] categoryIds,
747 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
748 java.util.Date endDate, java.util.Date expirationDate,
749 java.lang.String mimeType, java.lang.String title,
750 java.lang.String description, java.lang.String summary,
751 java.lang.String url, java.lang.String layoutUuid, int height,
752 int width, java.lang.Integer priority, boolean sync)
753 throws com.liferay.portal.kernel.exception.PortalException {
754 return getService()
755 .updateEntry(userId, groupId, className, classPK, classUuid,
756 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
757 expirationDate, mimeType, title, description, summary, url,
758 layoutUuid, height, width, priority, sync);
759 }
760
761
767 @Deprecated
768 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
769 long userId, long groupId, java.lang.String className, long classPK,
770 java.lang.String classUuid, long classTypeId, long[] categoryIds,
771 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
772 java.util.Date endDate, java.util.Date publishDate,
773 java.util.Date expirationDate, java.lang.String mimeType,
774 java.lang.String title, java.lang.String description,
775 java.lang.String summary, java.lang.String url,
776 java.lang.String layoutUuid, int height, int width,
777 java.lang.Integer priority, boolean sync)
778 throws com.liferay.portal.kernel.exception.PortalException {
779 return getService()
780 .updateEntry(userId, groupId, className, classPK, classUuid,
781 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
782 publishDate, expirationDate, mimeType, title, description, summary,
783 url, layoutUuid, height, width, priority, sync);
784 }
785
786 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
787 long userId, long groupId, java.util.Date createDate,
788 java.util.Date modifiedDate, java.lang.String className, long classPK,
789 java.lang.String classUuid, long classTypeId, long[] categoryIds,
790 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
791 java.util.Date endDate, java.util.Date expirationDate,
792 java.lang.String mimeType, java.lang.String title,
793 java.lang.String description, java.lang.String summary,
794 java.lang.String url, java.lang.String layoutUuid, int height,
795 int width, java.lang.Double priority)
796 throws com.liferay.portal.kernel.exception.PortalException {
797 return getService()
798 .updateEntry(userId, groupId, createDate, modifiedDate,
799 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
800 visible, startDate, endDate, expirationDate, mimeType, title,
801 description, summary, url, layoutUuid, height, width, priority);
802 }
803
804
810 @Deprecated
811 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
812 long userId, long groupId, java.util.Date createDate,
813 java.util.Date modifiedDate, java.lang.String className, long classPK,
814 java.lang.String classUuid, long classTypeId, long[] categoryIds,
815 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
816 java.util.Date endDate, java.util.Date expirationDate,
817 java.lang.String mimeType, java.lang.String title,
818 java.lang.String description, java.lang.String summary,
819 java.lang.String url, java.lang.String layoutUuid, int height,
820 int width, java.lang.Integer priority, boolean sync)
821 throws com.liferay.portal.kernel.exception.PortalException {
822 return getService()
823 .updateEntry(userId, groupId, createDate, modifiedDate,
824 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
825 visible, startDate, endDate, expirationDate, mimeType, title,
826 description, summary, url, layoutUuid, height, width, priority, sync);
827 }
828
829 public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
830 java.lang.String className, long classPK, boolean visible)
831 throws com.liferay.portal.kernel.exception.PortalException {
832 return getService().updateVisible(className, classPK, visible);
833 }
834
835 public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
836 com.liferay.portlet.asset.model.AssetEntry entry, boolean visible)
837 throws com.liferay.portal.kernel.exception.PortalException {
838 return getService().updateVisible(entry, visible);
839 }
840
841
845 @Deprecated
846 public static void validate(long groupId, java.lang.String className,
847 long[] categoryIds, java.lang.String[] tagNames)
848 throws com.liferay.portal.kernel.exception.PortalException {
849 getService().validate(groupId, className, categoryIds, tagNames);
850 }
851
852 public static void validate(long groupId, java.lang.String className,
853 long classTypePK, long[] categoryIds, java.lang.String[] tagNames)
854 throws com.liferay.portal.kernel.exception.PortalException {
855 getService()
856 .validate(groupId, className, classTypePK, categoryIds, tagNames);
857 }
858
859 public static AssetEntryLocalService getService() {
860 if (_service == null) {
861 _service = (AssetEntryLocalService)PortalBeanLocatorUtil.locate(AssetEntryLocalService.class.getName());
862
863 ReferenceRegistry.registerReference(AssetEntryLocalServiceUtil.class,
864 "_service");
865 }
866
867 return _service;
868 }
869
870
873 @Deprecated
874 public void setService(AssetEntryLocalService service) {
875 }
876
877 private static AssetEntryLocalService _service;
878 }