001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
033 public class AssetEntryLocalServiceUtil {
034
039
040
047 public static com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
048 com.liferay.portlet.asset.model.AssetEntry assetEntry)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 return getService().addAssetEntry(assetEntry);
051 }
052
053
059 public static com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
060 long entryId) {
061 return getService().createAssetEntry(entryId);
062 }
063
064
072 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
073 long entryId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return getService().deleteAssetEntry(entryId);
077 }
078
079
086 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
087 com.liferay.portlet.asset.model.AssetEntry assetEntry)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return getService().deleteAssetEntry(assetEntry);
090 }
091
092 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
093 return getService().dynamicQuery();
094 }
095
096
103 @SuppressWarnings("rawtypes")
104 public static java.util.List dynamicQuery(
105 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getService().dynamicQuery(dynamicQuery);
108 }
109
110
123 @SuppressWarnings("rawtypes")
124 public static java.util.List dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126 int end) throws com.liferay.portal.kernel.exception.SystemException {
127 return getService().dynamicQuery(dynamicQuery, start, end);
128 }
129
130
144 @SuppressWarnings("rawtypes")
145 public static java.util.List dynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
147 int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return getService()
151 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
152 }
153
154
161 public static long dynamicQueryCount(
162 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
163 throws com.liferay.portal.kernel.exception.SystemException {
164 return getService().dynamicQueryCount(dynamicQuery);
165 }
166
167 public static com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
168 long entryId)
169 throws com.liferay.portal.kernel.exception.SystemException {
170 return getService().fetchAssetEntry(entryId);
171 }
172
173
181 public static com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
182 long entryId)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 return getService().getAssetEntry(entryId);
186 }
187
188 public static com.liferay.portal.model.PersistedModel getPersistedModel(
189 java.io.Serializable primaryKeyObj)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 return getService().getPersistedModel(primaryKeyObj);
193 }
194
195
207 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
208 int start, int end)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return getService().getAssetEntries(start, end);
211 }
212
213
219 public static int getAssetEntriesCount()
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return getService().getAssetEntriesCount();
222 }
223
224
231 public static com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
232 com.liferay.portlet.asset.model.AssetEntry assetEntry)
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return getService().updateAssetEntry(assetEntry);
235 }
236
237
240 public static void addAssetCategoryAssetEntry(long categoryId, long entryId)
241 throws com.liferay.portal.kernel.exception.SystemException {
242 getService().addAssetCategoryAssetEntry(categoryId, entryId);
243 }
244
245
248 public static void addAssetCategoryAssetEntry(long categoryId,
249 com.liferay.portlet.asset.model.AssetEntry assetEntry)
250 throws com.liferay.portal.kernel.exception.SystemException {
251 getService().addAssetCategoryAssetEntry(categoryId, assetEntry);
252 }
253
254
257 public static void addAssetCategoryAssetEntries(long categoryId,
258 long[] entryIds)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 getService().addAssetCategoryAssetEntries(categoryId, entryIds);
261 }
262
263
266 public static void addAssetCategoryAssetEntries(long categoryId,
267 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 getService().addAssetCategoryAssetEntries(categoryId, AssetEntries);
270 }
271
272
275 public static void clearAssetCategoryAssetEntries(long categoryId)
276 throws com.liferay.portal.kernel.exception.SystemException {
277 getService().clearAssetCategoryAssetEntries(categoryId);
278 }
279
280
283 public static void deleteAssetCategoryAssetEntry(long categoryId,
284 long entryId)
285 throws com.liferay.portal.kernel.exception.SystemException {
286 getService().deleteAssetCategoryAssetEntry(categoryId, entryId);
287 }
288
289
292 public static void deleteAssetCategoryAssetEntry(long categoryId,
293 com.liferay.portlet.asset.model.AssetEntry assetEntry)
294 throws com.liferay.portal.kernel.exception.SystemException {
295 getService().deleteAssetCategoryAssetEntry(categoryId, assetEntry);
296 }
297
298
301 public static void deleteAssetCategoryAssetEntries(long categoryId,
302 long[] entryIds)
303 throws com.liferay.portal.kernel.exception.SystemException {
304 getService().deleteAssetCategoryAssetEntries(categoryId, entryIds);
305 }
306
307
310 public static void deleteAssetCategoryAssetEntries(long categoryId,
311 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 getService().deleteAssetCategoryAssetEntries(categoryId, AssetEntries);
314 }
315
316
319 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
320 long categoryId)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 return getService().getAssetCategoryAssetEntries(categoryId);
323 }
324
325
328 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
329 long categoryId, int start, int end)
330 throws com.liferay.portal.kernel.exception.SystemException {
331 return getService().getAssetCategoryAssetEntries(categoryId, start, end);
332 }
333
334
337 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
338 long categoryId, int start, int end,
339 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
340 throws com.liferay.portal.kernel.exception.SystemException {
341 return getService()
342 .getAssetCategoryAssetEntries(categoryId, start, end,
343 orderByComparator);
344 }
345
346
349 public static int getAssetCategoryAssetEntriesCount(long categoryId)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 return getService().getAssetCategoryAssetEntriesCount(categoryId);
352 }
353
354
357 public static boolean hasAssetCategoryAssetEntry(long categoryId,
358 long entryId)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return getService().hasAssetCategoryAssetEntry(categoryId, entryId);
361 }
362
363
366 public static boolean hasAssetCategoryAssetEntries(long categoryId)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return getService().hasAssetCategoryAssetEntries(categoryId);
369 }
370
371
374 public static void setAssetCategoryAssetEntries(long categoryId,
375 long[] entryIds)
376 throws com.liferay.portal.kernel.exception.SystemException {
377 getService().setAssetCategoryAssetEntries(categoryId, entryIds);
378 }
379
380
383 public static void addAssetTagAssetEntry(long tagId, long entryId)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 getService().addAssetTagAssetEntry(tagId, entryId);
386 }
387
388
391 public static void addAssetTagAssetEntry(long tagId,
392 com.liferay.portlet.asset.model.AssetEntry assetEntry)
393 throws com.liferay.portal.kernel.exception.SystemException {
394 getService().addAssetTagAssetEntry(tagId, assetEntry);
395 }
396
397
400 public static void addAssetTagAssetEntries(long tagId, long[] entryIds)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 getService().addAssetTagAssetEntries(tagId, entryIds);
403 }
404
405
408 public static void addAssetTagAssetEntries(long tagId,
409 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
410 throws com.liferay.portal.kernel.exception.SystemException {
411 getService().addAssetTagAssetEntries(tagId, AssetEntries);
412 }
413
414
417 public static void clearAssetTagAssetEntries(long tagId)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 getService().clearAssetTagAssetEntries(tagId);
420 }
421
422
425 public static void deleteAssetTagAssetEntry(long tagId, long entryId)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 getService().deleteAssetTagAssetEntry(tagId, entryId);
428 }
429
430
433 public static void deleteAssetTagAssetEntry(long tagId,
434 com.liferay.portlet.asset.model.AssetEntry assetEntry)
435 throws com.liferay.portal.kernel.exception.SystemException {
436 getService().deleteAssetTagAssetEntry(tagId, assetEntry);
437 }
438
439
442 public static void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 getService().deleteAssetTagAssetEntries(tagId, entryIds);
445 }
446
447
450 public static void deleteAssetTagAssetEntries(long tagId,
451 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
452 throws com.liferay.portal.kernel.exception.SystemException {
453 getService().deleteAssetTagAssetEntries(tagId, AssetEntries);
454 }
455
456
459 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
460 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
461 return getService().getAssetTagAssetEntries(tagId);
462 }
463
464
467 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
468 long tagId, int start, int end)
469 throws com.liferay.portal.kernel.exception.SystemException {
470 return getService().getAssetTagAssetEntries(tagId, start, end);
471 }
472
473
476 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
477 long tagId, int start, int end,
478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
479 throws com.liferay.portal.kernel.exception.SystemException {
480 return getService()
481 .getAssetTagAssetEntries(tagId, start, end, orderByComparator);
482 }
483
484
487 public static int getAssetTagAssetEntriesCount(long tagId)
488 throws com.liferay.portal.kernel.exception.SystemException {
489 return getService().getAssetTagAssetEntriesCount(tagId);
490 }
491
492
495 public static boolean hasAssetTagAssetEntry(long tagId, long entryId)
496 throws com.liferay.portal.kernel.exception.SystemException {
497 return getService().hasAssetTagAssetEntry(tagId, entryId);
498 }
499
500
503 public static boolean hasAssetTagAssetEntries(long tagId)
504 throws com.liferay.portal.kernel.exception.SystemException {
505 return getService().hasAssetTagAssetEntries(tagId);
506 }
507
508
511 public static void setAssetTagAssetEntries(long tagId, long[] entryIds)
512 throws com.liferay.portal.kernel.exception.SystemException {
513 getService().setAssetTagAssetEntries(tagId, entryIds);
514 }
515
516
521 public static java.lang.String getBeanIdentifier() {
522 return getService().getBeanIdentifier();
523 }
524
525
530 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
531 getService().setBeanIdentifier(beanIdentifier);
532 }
533
534 public static void deleteEntry(
535 com.liferay.portlet.asset.model.AssetEntry entry)
536 throws com.liferay.portal.kernel.exception.PortalException,
537 com.liferay.portal.kernel.exception.SystemException {
538 getService().deleteEntry(entry);
539 }
540
541 public static void deleteEntry(long entryId)
542 throws com.liferay.portal.kernel.exception.PortalException,
543 com.liferay.portal.kernel.exception.SystemException {
544 getService().deleteEntry(entryId);
545 }
546
547 public static void deleteEntry(java.lang.String className, long classPK)
548 throws com.liferay.portal.kernel.exception.PortalException,
549 com.liferay.portal.kernel.exception.SystemException {
550 getService().deleteEntry(className, classPK);
551 }
552
553 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
554 long entryId)
555 throws com.liferay.portal.kernel.exception.SystemException {
556 return getService().fetchEntry(entryId);
557 }
558
559 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
560 long groupId, java.lang.String classUuid)
561 throws com.liferay.portal.kernel.exception.SystemException {
562 return getService().fetchEntry(groupId, classUuid);
563 }
564
565 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
566 java.lang.String className, long classPK)
567 throws com.liferay.portal.kernel.exception.SystemException {
568 return getService().fetchEntry(className, classPK);
569 }
570
571 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
572 long entryId)
573 throws com.liferay.portal.kernel.exception.PortalException,
574 com.liferay.portal.kernel.exception.SystemException {
575 return getService().getAncestorEntries(entryId);
576 }
577
578 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
579 long entryId)
580 throws com.liferay.portal.kernel.exception.PortalException,
581 com.liferay.portal.kernel.exception.SystemException {
582 return getService().getChildEntries(entryId);
583 }
584
585 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
586 long companyId, int start, int end)
587 throws com.liferay.portal.kernel.exception.SystemException {
588 return getService().getCompanyEntries(companyId, start, end);
589 }
590
591 public static int getCompanyEntriesCount(long companyId)
592 throws com.liferay.portal.kernel.exception.SystemException {
593 return getService().getCompanyEntriesCount(companyId);
594 }
595
596 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
597 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
598 throws com.liferay.portal.kernel.exception.SystemException {
599 return getService().getEntries(entryQuery);
600 }
601
602 public static int getEntriesCount(
603 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
604 throws com.liferay.portal.kernel.exception.SystemException {
605 return getService().getEntriesCount(entryQuery);
606 }
607
608 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
609 long entryId)
610 throws com.liferay.portal.kernel.exception.PortalException,
611 com.liferay.portal.kernel.exception.SystemException {
612 return getService().getEntry(entryId);
613 }
614
615 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
616 long groupId, java.lang.String classUuid)
617 throws com.liferay.portal.kernel.exception.PortalException,
618 com.liferay.portal.kernel.exception.SystemException {
619 return getService().getEntry(groupId, classUuid);
620 }
621
622 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
623 java.lang.String className, long classPK)
624 throws com.liferay.portal.kernel.exception.PortalException,
625 com.liferay.portal.kernel.exception.SystemException {
626 return getService().getEntry(className, classPK);
627 }
628
629 public static com.liferay.portlet.asset.model.AssetEntry getNextEntry(
630 long entryId)
631 throws com.liferay.portal.kernel.exception.PortalException,
632 com.liferay.portal.kernel.exception.SystemException {
633 return getService().getNextEntry(entryId);
634 }
635
636 public static com.liferay.portlet.asset.model.AssetEntry getParentEntry(
637 long entryId)
638 throws com.liferay.portal.kernel.exception.PortalException,
639 com.liferay.portal.kernel.exception.SystemException {
640 return getService().getParentEntry(entryId);
641 }
642
643 public static com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
644 long entryId)
645 throws com.liferay.portal.kernel.exception.PortalException,
646 com.liferay.portal.kernel.exception.SystemException {
647 return getService().getPreviousEntry(entryId);
648 }
649
650 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
651 java.lang.String className, boolean asc, int start, int end)
652 throws com.liferay.portal.kernel.exception.SystemException {
653 return getService().getTopViewedEntries(className, asc, start, end);
654 }
655
656 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
657 java.lang.String[] className, boolean asc, int start, int end)
658 throws com.liferay.portal.kernel.exception.SystemException {
659 return getService().getTopViewedEntries(className, asc, start, end);
660 }
661
662 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
663 long userId, java.lang.String className, long classPK)
664 throws com.liferay.portal.kernel.exception.PortalException,
665 com.liferay.portal.kernel.exception.SystemException {
666 return getService().incrementViewCounter(userId, className, classPK);
667 }
668
669 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
670 long userId, java.lang.String className, long classPK, int increment)
671 throws com.liferay.portal.kernel.exception.SystemException {
672 return getService()
673 .incrementViewCounter(userId, className, classPK, increment);
674 }
675
676 public static void reindex(
677 java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
678 throws com.liferay.portal.kernel.exception.PortalException {
679 getService().reindex(entries);
680 }
681
682
686 public static com.liferay.portal.kernel.search.Hits search(long companyId,
687 long[] groupIds, long userId, java.lang.String className,
688 java.lang.String keywords, int start, int end)
689 throws com.liferay.portal.kernel.exception.SystemException {
690 return getService()
691 .search(companyId, groupIds, userId, className, keywords,
692 start, end);
693 }
694
695 public static com.liferay.portal.kernel.search.Hits search(long companyId,
696 long[] groupIds, long userId, java.lang.String className,
697 java.lang.String keywords, int status, int start, int end)
698 throws com.liferay.portal.kernel.exception.SystemException {
699 return getService()
700 .search(companyId, groupIds, userId, className, keywords,
701 status, start, end);
702 }
703
704
709 public static com.liferay.portal.kernel.search.Hits search(long companyId,
710 long[] groupIds, long userId, java.lang.String className,
711 java.lang.String userName, java.lang.String title,
712 java.lang.String description, java.lang.String assetCategoryIds,
713 java.lang.String assetTagNames, boolean andSearch, int start, int end)
714 throws com.liferay.portal.kernel.exception.SystemException {
715 return getService()
716 .search(companyId, groupIds, userId, className, userName,
717 title, description, assetCategoryIds, assetTagNames, andSearch,
718 start, end);
719 }
720
721 public static com.liferay.portal.kernel.search.Hits search(long companyId,
722 long[] groupIds, long userId, java.lang.String className,
723 java.lang.String userName, java.lang.String title,
724 java.lang.String description, java.lang.String assetCategoryIds,
725 java.lang.String assetTagNames, int status, boolean andSearch,
726 int start, int end)
727 throws com.liferay.portal.kernel.exception.SystemException {
728 return getService()
729 .search(companyId, groupIds, userId, className, userName,
730 title, description, assetCategoryIds, assetTagNames, status,
731 andSearch, start, end);
732 }
733
734
738 public static com.liferay.portal.kernel.search.Hits search(long companyId,
739 long[] groupIds, java.lang.String className, java.lang.String keywords,
740 int start, int end)
741 throws com.liferay.portal.kernel.exception.SystemException {
742 return getService()
743 .search(companyId, groupIds, className, keywords, start, end);
744 }
745
746 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
747 long userId, long groupId, java.util.Date createDate,
748 java.util.Date modifiedDate, java.lang.String className, long classPK,
749 java.lang.String classUuid, long classTypeId, long[] categoryIds,
750 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
751 java.util.Date endDate, java.util.Date expirationDate,
752 java.lang.String mimeType, java.lang.String title,
753 java.lang.String description, java.lang.String summary,
754 java.lang.String url, java.lang.String layoutUuid, int height,
755 int width, java.lang.Integer priority, boolean sync)
756 throws com.liferay.portal.kernel.exception.PortalException,
757 com.liferay.portal.kernel.exception.SystemException {
758 return getService()
759 .updateEntry(userId, groupId, createDate, modifiedDate,
760 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
761 visible, startDate, endDate, expirationDate, mimeType, title,
762 description, summary, url, layoutUuid, height, width, priority, sync);
763 }
764
765 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
766 long userId, long groupId, java.lang.String className, long classPK,
767 long[] categoryIds, java.lang.String[] tagNames)
768 throws com.liferay.portal.kernel.exception.PortalException,
769 com.liferay.portal.kernel.exception.SystemException {
770 return getService()
771 .updateEntry(userId, groupId, className, classPK,
772 categoryIds, tagNames);
773 }
774
775
781 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
782 long userId, long groupId, java.lang.String className, long classPK,
783 java.lang.String classUuid, long classTypeId, long[] categoryIds,
784 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
785 java.util.Date endDate, java.util.Date publishDate,
786 java.util.Date expirationDate, java.lang.String mimeType,
787 java.lang.String title, java.lang.String description,
788 java.lang.String summary, java.lang.String url,
789 java.lang.String layoutUuid, int height, int width,
790 java.lang.Integer priority, boolean sync)
791 throws com.liferay.portal.kernel.exception.PortalException,
792 com.liferay.portal.kernel.exception.SystemException {
793 return getService()
794 .updateEntry(userId, groupId, className, classPK, classUuid,
795 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
796 publishDate, expirationDate, mimeType, title, description, summary,
797 url, layoutUuid, height, width, priority, sync);
798 }
799
800
806 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
807 long userId, long groupId, java.lang.String className, long classPK,
808 java.lang.String classUuid, long classTypeId, long[] categoryIds,
809 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
810 java.util.Date endDate, java.util.Date expirationDate,
811 java.lang.String mimeType, java.lang.String title,
812 java.lang.String description, java.lang.String summary,
813 java.lang.String url, java.lang.String layoutUuid, int height,
814 int width, java.lang.Integer priority, boolean sync)
815 throws com.liferay.portal.kernel.exception.PortalException,
816 com.liferay.portal.kernel.exception.SystemException {
817 return getService()
818 .updateEntry(userId, groupId, className, classPK, classUuid,
819 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
820 expirationDate, mimeType, title, description, summary, url,
821 layoutUuid, height, width, priority, sync);
822 }
823
824 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
825 java.lang.String className, long classPK, java.util.Date publishDate,
826 boolean visible)
827 throws com.liferay.portal.kernel.exception.PortalException,
828 com.liferay.portal.kernel.exception.SystemException {
829 return getService().updateEntry(className, classPK, publishDate, visible);
830 }
831
832 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
833 java.lang.String className, long classPK, java.util.Date publishDate,
834 java.util.Date expirationDate, boolean visible)
835 throws com.liferay.portal.kernel.exception.PortalException,
836 com.liferay.portal.kernel.exception.SystemException {
837 return getService()
838 .updateEntry(className, classPK, publishDate,
839 expirationDate, visible);
840 }
841
842 public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
843 java.lang.String className, long classPK, boolean visible)
844 throws com.liferay.portal.kernel.exception.PortalException,
845 com.liferay.portal.kernel.exception.SystemException {
846 return getService().updateVisible(className, classPK, visible);
847 }
848
849 public static void validate(long groupId, java.lang.String className,
850 long[] categoryIds, java.lang.String[] tagNames)
851 throws com.liferay.portal.kernel.exception.PortalException,
852 com.liferay.portal.kernel.exception.SystemException {
853 getService().validate(groupId, className, categoryIds, tagNames);
854 }
855
856 public static AssetEntryLocalService getService() {
857 if (_service == null) {
858 _service = (AssetEntryLocalService)PortalBeanLocatorUtil.locate(AssetEntryLocalService.class.getName());
859
860 ReferenceRegistry.registerReference(AssetEntryLocalServiceUtil.class,
861 "_service");
862 }
863
864 return _service;
865 }
866
867
870 public void setService(AssetEntryLocalService service) {
871 }
872
873 private static AssetEntryLocalService _service;
874 }