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
044
051 public static com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
052 com.liferay.portlet.asset.model.AssetEntry assetEntry)
053 throws com.liferay.portal.kernel.exception.SystemException {
054 return getService().addAssetEntry(assetEntry);
055 }
056
057
063 public static com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
064 long entryId) {
065 return getService().createAssetEntry(entryId);
066 }
067
068
076 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
077 long entryId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return getService().deleteAssetEntry(entryId);
081 }
082
083
090 public static com.liferay.portlet.asset.model.AssetEntry deleteAssetEntry(
091 com.liferay.portlet.asset.model.AssetEntry assetEntry)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return getService().deleteAssetEntry(assetEntry);
094 }
095
096 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
097 return getService().dynamicQuery();
098 }
099
100
107 @SuppressWarnings("rawtypes")
108 public static java.util.List dynamicQuery(
109 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return getService().dynamicQuery(dynamicQuery);
112 }
113
114
127 @SuppressWarnings("rawtypes")
128 public static java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return getService().dynamicQuery(dynamicQuery, start, end);
132 }
133
134
148 @SuppressWarnings("rawtypes")
149 public static java.util.List dynamicQuery(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return getService()
155 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
156 }
157
158
165 public static long dynamicQueryCount(
166 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
167 throws com.liferay.portal.kernel.exception.SystemException {
168 return getService().dynamicQueryCount(dynamicQuery);
169 }
170
171
179 public static long dynamicQueryCount(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181 com.liferay.portal.kernel.dao.orm.Projection projection)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return getService().dynamicQueryCount(dynamicQuery, projection);
184 }
185
186 public static com.liferay.portlet.asset.model.AssetEntry fetchAssetEntry(
187 long entryId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return getService().fetchAssetEntry(entryId);
190 }
191
192
200 public static com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
201 long entryId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return getService().getAssetEntry(entryId);
205 }
206
207 public static com.liferay.portal.model.PersistedModel getPersistedModel(
208 java.io.Serializable primaryKeyObj)
209 throws com.liferay.portal.kernel.exception.PortalException,
210 com.liferay.portal.kernel.exception.SystemException {
211 return getService().getPersistedModel(primaryKeyObj);
212 }
213
214
226 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
227 int start, int end)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return getService().getAssetEntries(start, end);
230 }
231
232
238 public static int getAssetEntriesCount()
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return getService().getAssetEntriesCount();
241 }
242
243
250 public static com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
251 com.liferay.portlet.asset.model.AssetEntry assetEntry)
252 throws com.liferay.portal.kernel.exception.SystemException {
253 return getService().updateAssetEntry(assetEntry);
254 }
255
256
259 public static void addAssetCategoryAssetEntry(long categoryId, long entryId)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 getService().addAssetCategoryAssetEntry(categoryId, entryId);
262 }
263
264
267 public static void addAssetCategoryAssetEntry(long categoryId,
268 com.liferay.portlet.asset.model.AssetEntry assetEntry)
269 throws com.liferay.portal.kernel.exception.SystemException {
270 getService().addAssetCategoryAssetEntry(categoryId, assetEntry);
271 }
272
273
276 public static void addAssetCategoryAssetEntries(long categoryId,
277 long[] entryIds)
278 throws com.liferay.portal.kernel.exception.SystemException {
279 getService().addAssetCategoryAssetEntries(categoryId, entryIds);
280 }
281
282
285 public static void addAssetCategoryAssetEntries(long categoryId,
286 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
287 throws com.liferay.portal.kernel.exception.SystemException {
288 getService().addAssetCategoryAssetEntries(categoryId, AssetEntries);
289 }
290
291
294 public static void clearAssetCategoryAssetEntries(long categoryId)
295 throws com.liferay.portal.kernel.exception.SystemException {
296 getService().clearAssetCategoryAssetEntries(categoryId);
297 }
298
299
302 public static void deleteAssetCategoryAssetEntry(long categoryId,
303 long entryId)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 getService().deleteAssetCategoryAssetEntry(categoryId, entryId);
306 }
307
308
311 public static void deleteAssetCategoryAssetEntry(long categoryId,
312 com.liferay.portlet.asset.model.AssetEntry assetEntry)
313 throws com.liferay.portal.kernel.exception.SystemException {
314 getService().deleteAssetCategoryAssetEntry(categoryId, assetEntry);
315 }
316
317
320 public static void deleteAssetCategoryAssetEntries(long categoryId,
321 long[] entryIds)
322 throws com.liferay.portal.kernel.exception.SystemException {
323 getService().deleteAssetCategoryAssetEntries(categoryId, entryIds);
324 }
325
326
329 public static void deleteAssetCategoryAssetEntries(long categoryId,
330 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 getService().deleteAssetCategoryAssetEntries(categoryId, AssetEntries);
333 }
334
335
338 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
339 long categoryId)
340 throws com.liferay.portal.kernel.exception.SystemException {
341 return getService().getAssetCategoryAssetEntries(categoryId);
342 }
343
344
347 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
348 long categoryId, int start, int end)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return getService().getAssetCategoryAssetEntries(categoryId, start, end);
351 }
352
353
356 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetCategoryAssetEntries(
357 long categoryId, int start, int end,
358 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359 throws com.liferay.portal.kernel.exception.SystemException {
360 return getService()
361 .getAssetCategoryAssetEntries(categoryId, start, end,
362 orderByComparator);
363 }
364
365
368 public static int getAssetCategoryAssetEntriesCount(long categoryId)
369 throws com.liferay.portal.kernel.exception.SystemException {
370 return getService().getAssetCategoryAssetEntriesCount(categoryId);
371 }
372
373
376 public static boolean hasAssetCategoryAssetEntry(long categoryId,
377 long entryId)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return getService().hasAssetCategoryAssetEntry(categoryId, entryId);
380 }
381
382
385 public static boolean hasAssetCategoryAssetEntries(long categoryId)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 return getService().hasAssetCategoryAssetEntries(categoryId);
388 }
389
390
393 public static void setAssetCategoryAssetEntries(long categoryId,
394 long[] entryIds)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 getService().setAssetCategoryAssetEntries(categoryId, entryIds);
397 }
398
399
402 public static void addAssetTagAssetEntry(long tagId, long entryId)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 getService().addAssetTagAssetEntry(tagId, entryId);
405 }
406
407
410 public static void addAssetTagAssetEntry(long tagId,
411 com.liferay.portlet.asset.model.AssetEntry assetEntry)
412 throws com.liferay.portal.kernel.exception.SystemException {
413 getService().addAssetTagAssetEntry(tagId, assetEntry);
414 }
415
416
419 public static void addAssetTagAssetEntries(long tagId, long[] entryIds)
420 throws com.liferay.portal.kernel.exception.SystemException {
421 getService().addAssetTagAssetEntries(tagId, entryIds);
422 }
423
424
427 public static void addAssetTagAssetEntries(long tagId,
428 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
429 throws com.liferay.portal.kernel.exception.SystemException {
430 getService().addAssetTagAssetEntries(tagId, AssetEntries);
431 }
432
433
436 public static void clearAssetTagAssetEntries(long tagId)
437 throws com.liferay.portal.kernel.exception.SystemException {
438 getService().clearAssetTagAssetEntries(tagId);
439 }
440
441
444 public static void deleteAssetTagAssetEntry(long tagId, long entryId)
445 throws com.liferay.portal.kernel.exception.SystemException {
446 getService().deleteAssetTagAssetEntry(tagId, entryId);
447 }
448
449
452 public static void deleteAssetTagAssetEntry(long tagId,
453 com.liferay.portlet.asset.model.AssetEntry assetEntry)
454 throws com.liferay.portal.kernel.exception.SystemException {
455 getService().deleteAssetTagAssetEntry(tagId, assetEntry);
456 }
457
458
461 public static void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
462 throws com.liferay.portal.kernel.exception.SystemException {
463 getService().deleteAssetTagAssetEntries(tagId, entryIds);
464 }
465
466
469 public static void deleteAssetTagAssetEntries(long tagId,
470 java.util.List<com.liferay.portlet.asset.model.AssetEntry> AssetEntries)
471 throws com.liferay.portal.kernel.exception.SystemException {
472 getService().deleteAssetTagAssetEntries(tagId, AssetEntries);
473 }
474
475
478 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
479 long tagId) throws com.liferay.portal.kernel.exception.SystemException {
480 return getService().getAssetTagAssetEntries(tagId);
481 }
482
483
486 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
487 long tagId, int start, int end)
488 throws com.liferay.portal.kernel.exception.SystemException {
489 return getService().getAssetTagAssetEntries(tagId, start, end);
490 }
491
492
495 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetTagAssetEntries(
496 long tagId, int start, int end,
497 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
498 throws com.liferay.portal.kernel.exception.SystemException {
499 return getService()
500 .getAssetTagAssetEntries(tagId, start, end, orderByComparator);
501 }
502
503
506 public static int getAssetTagAssetEntriesCount(long tagId)
507 throws com.liferay.portal.kernel.exception.SystemException {
508 return getService().getAssetTagAssetEntriesCount(tagId);
509 }
510
511
514 public static boolean hasAssetTagAssetEntry(long tagId, long entryId)
515 throws com.liferay.portal.kernel.exception.SystemException {
516 return getService().hasAssetTagAssetEntry(tagId, entryId);
517 }
518
519
522 public static boolean hasAssetTagAssetEntries(long tagId)
523 throws com.liferay.portal.kernel.exception.SystemException {
524 return getService().hasAssetTagAssetEntries(tagId);
525 }
526
527
530 public static void setAssetTagAssetEntries(long tagId, long[] entryIds)
531 throws com.liferay.portal.kernel.exception.SystemException {
532 getService().setAssetTagAssetEntries(tagId, entryIds);
533 }
534
535
540 public static java.lang.String getBeanIdentifier() {
541 return getService().getBeanIdentifier();
542 }
543
544
549 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
550 getService().setBeanIdentifier(beanIdentifier);
551 }
552
553 public static void deleteEntry(
554 com.liferay.portlet.asset.model.AssetEntry entry)
555 throws com.liferay.portal.kernel.exception.PortalException,
556 com.liferay.portal.kernel.exception.SystemException {
557 getService().deleteEntry(entry);
558 }
559
560 public static void deleteEntry(long entryId)
561 throws com.liferay.portal.kernel.exception.PortalException,
562 com.liferay.portal.kernel.exception.SystemException {
563 getService().deleteEntry(entryId);
564 }
565
566 public static void deleteEntry(java.lang.String className, long classPK)
567 throws com.liferay.portal.kernel.exception.PortalException,
568 com.liferay.portal.kernel.exception.SystemException {
569 getService().deleteEntry(className, classPK);
570 }
571
572 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
573 long entryId)
574 throws com.liferay.portal.kernel.exception.SystemException {
575 return getService().fetchEntry(entryId);
576 }
577
578 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
579 long groupId, java.lang.String classUuid)
580 throws com.liferay.portal.kernel.exception.SystemException {
581 return getService().fetchEntry(groupId, classUuid);
582 }
583
584 public static com.liferay.portlet.asset.model.AssetEntry fetchEntry(
585 java.lang.String className, long classPK)
586 throws com.liferay.portal.kernel.exception.SystemException {
587 return getService().fetchEntry(className, classPK);
588 }
589
590 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
591 long entryId)
592 throws com.liferay.portal.kernel.exception.PortalException,
593 com.liferay.portal.kernel.exception.SystemException {
594 return getService().getAncestorEntries(entryId);
595 }
596
597 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
598 long entryId)
599 throws com.liferay.portal.kernel.exception.PortalException,
600 com.liferay.portal.kernel.exception.SystemException {
601 return getService().getChildEntries(entryId);
602 }
603
604 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
605 long companyId, int start, int end)
606 throws com.liferay.portal.kernel.exception.SystemException {
607 return getService().getCompanyEntries(companyId, start, end);
608 }
609
610 public static int getCompanyEntriesCount(long companyId)
611 throws com.liferay.portal.kernel.exception.SystemException {
612 return getService().getCompanyEntriesCount(companyId);
613 }
614
615 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
616 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
617 throws com.liferay.portal.kernel.exception.SystemException {
618 return getService().getEntries(entryQuery);
619 }
620
621 public static int getEntriesCount(
622 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
623 throws com.liferay.portal.kernel.exception.SystemException {
624 return getService().getEntriesCount(entryQuery);
625 }
626
627 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
628 long entryId)
629 throws com.liferay.portal.kernel.exception.PortalException,
630 com.liferay.portal.kernel.exception.SystemException {
631 return getService().getEntry(entryId);
632 }
633
634 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
635 long groupId, java.lang.String classUuid)
636 throws com.liferay.portal.kernel.exception.PortalException,
637 com.liferay.portal.kernel.exception.SystemException {
638 return getService().getEntry(groupId, classUuid);
639 }
640
641 public static com.liferay.portlet.asset.model.AssetEntry getEntry(
642 java.lang.String className, long classPK)
643 throws com.liferay.portal.kernel.exception.PortalException,
644 com.liferay.portal.kernel.exception.SystemException {
645 return getService().getEntry(className, classPK);
646 }
647
648 public static com.liferay.portlet.asset.model.AssetEntry getNextEntry(
649 long entryId)
650 throws com.liferay.portal.kernel.exception.PortalException,
651 com.liferay.portal.kernel.exception.SystemException {
652 return getService().getNextEntry(entryId);
653 }
654
655 public static com.liferay.portlet.asset.model.AssetEntry getParentEntry(
656 long entryId)
657 throws com.liferay.portal.kernel.exception.PortalException,
658 com.liferay.portal.kernel.exception.SystemException {
659 return getService().getParentEntry(entryId);
660 }
661
662 public static com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
663 long entryId)
664 throws com.liferay.portal.kernel.exception.PortalException,
665 com.liferay.portal.kernel.exception.SystemException {
666 return getService().getPreviousEntry(entryId);
667 }
668
669 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
670 java.lang.String className, boolean asc, int start, int end)
671 throws com.liferay.portal.kernel.exception.SystemException {
672 return getService().getTopViewedEntries(className, asc, start, end);
673 }
674
675 public static java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
676 java.lang.String[] className, boolean asc, int start, int end)
677 throws com.liferay.portal.kernel.exception.SystemException {
678 return getService().getTopViewedEntries(className, asc, start, end);
679 }
680
681 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
682 long userId, java.lang.String className, long classPK)
683 throws com.liferay.portal.kernel.exception.PortalException,
684 com.liferay.portal.kernel.exception.SystemException {
685 return getService().incrementViewCounter(userId, className, classPK);
686 }
687
688 public static com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
689 long userId, java.lang.String className, long classPK, int increment)
690 throws com.liferay.portal.kernel.exception.SystemException {
691 return getService()
692 .incrementViewCounter(userId, className, classPK, increment);
693 }
694
695 public static void reindex(
696 java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
697 throws com.liferay.portal.kernel.exception.PortalException {
698 getService().reindex(entries);
699 }
700
701
705 public static com.liferay.portal.kernel.search.Hits search(long companyId,
706 long[] groupIds, long userId, java.lang.String className,
707 java.lang.String keywords, int start, int end)
708 throws com.liferay.portal.kernel.exception.SystemException {
709 return getService()
710 .search(companyId, groupIds, userId, className, keywords,
711 start, end);
712 }
713
714 public static com.liferay.portal.kernel.search.Hits search(long companyId,
715 long[] groupIds, long userId, java.lang.String className,
716 java.lang.String keywords, int status, int start, int end)
717 throws com.liferay.portal.kernel.exception.SystemException {
718 return getService()
719 .search(companyId, groupIds, userId, className, keywords,
720 status, start, end);
721 }
722
723
728 public static com.liferay.portal.kernel.search.Hits search(long companyId,
729 long[] groupIds, long userId, java.lang.String className,
730 java.lang.String userName, java.lang.String title,
731 java.lang.String description, java.lang.String assetCategoryIds,
732 java.lang.String assetTagNames, boolean andSearch, int start, int end)
733 throws com.liferay.portal.kernel.exception.SystemException {
734 return getService()
735 .search(companyId, groupIds, userId, className, userName,
736 title, description, assetCategoryIds, assetTagNames, andSearch,
737 start, end);
738 }
739
740 public static com.liferay.portal.kernel.search.Hits search(long companyId,
741 long[] groupIds, long userId, java.lang.String className,
742 java.lang.String userName, java.lang.String title,
743 java.lang.String description, java.lang.String assetCategoryIds,
744 java.lang.String assetTagNames, int status, boolean andSearch,
745 int start, int end)
746 throws com.liferay.portal.kernel.exception.SystemException {
747 return getService()
748 .search(companyId, groupIds, userId, className, userName,
749 title, description, assetCategoryIds, assetTagNames, status,
750 andSearch, start, end);
751 }
752
753
757 public static com.liferay.portal.kernel.search.Hits search(long companyId,
758 long[] groupIds, java.lang.String className, java.lang.String keywords,
759 int start, int end)
760 throws com.liferay.portal.kernel.exception.SystemException {
761 return getService()
762 .search(companyId, groupIds, className, keywords, start, end);
763 }
764
765 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
766 long userId, long groupId, java.util.Date createDate,
767 java.util.Date modifiedDate, java.lang.String className, long classPK,
768 java.lang.String classUuid, long classTypeId, long[] categoryIds,
769 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
770 java.util.Date endDate, java.util.Date expirationDate,
771 java.lang.String mimeType, java.lang.String title,
772 java.lang.String description, java.lang.String summary,
773 java.lang.String url, java.lang.String layoutUuid, int height,
774 int width, java.lang.Integer priority, boolean sync)
775 throws com.liferay.portal.kernel.exception.PortalException,
776 com.liferay.portal.kernel.exception.SystemException {
777 return getService()
778 .updateEntry(userId, groupId, createDate, modifiedDate,
779 className, classPK, classUuid, classTypeId, categoryIds, tagNames,
780 visible, startDate, endDate, expirationDate, mimeType, title,
781 description, summary, url, layoutUuid, height, width, priority, sync);
782 }
783
784 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
785 long userId, long groupId, java.lang.String className, long classPK,
786 long[] categoryIds, java.lang.String[] tagNames)
787 throws com.liferay.portal.kernel.exception.PortalException,
788 com.liferay.portal.kernel.exception.SystemException {
789 return getService()
790 .updateEntry(userId, groupId, className, classPK,
791 categoryIds, tagNames);
792 }
793
794
800 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
801 long userId, long groupId, java.lang.String className, long classPK,
802 java.lang.String classUuid, long classTypeId, long[] categoryIds,
803 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
804 java.util.Date endDate, java.util.Date publishDate,
805 java.util.Date expirationDate, java.lang.String mimeType,
806 java.lang.String title, java.lang.String description,
807 java.lang.String summary, java.lang.String url,
808 java.lang.String layoutUuid, int height, int width,
809 java.lang.Integer priority, boolean sync)
810 throws com.liferay.portal.kernel.exception.PortalException,
811 com.liferay.portal.kernel.exception.SystemException {
812 return getService()
813 .updateEntry(userId, groupId, className, classPK, classUuid,
814 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
815 publishDate, expirationDate, mimeType, title, description, summary,
816 url, layoutUuid, height, width, priority, sync);
817 }
818
819
825 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
826 long userId, long groupId, java.lang.String className, long classPK,
827 java.lang.String classUuid, long classTypeId, long[] categoryIds,
828 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
829 java.util.Date endDate, java.util.Date expirationDate,
830 java.lang.String mimeType, java.lang.String title,
831 java.lang.String description, java.lang.String summary,
832 java.lang.String url, java.lang.String layoutUuid, int height,
833 int width, java.lang.Integer priority, boolean sync)
834 throws com.liferay.portal.kernel.exception.PortalException,
835 com.liferay.portal.kernel.exception.SystemException {
836 return getService()
837 .updateEntry(userId, groupId, className, classPK, classUuid,
838 classTypeId, categoryIds, tagNames, visible, startDate, endDate,
839 expirationDate, mimeType, title, description, summary, url,
840 layoutUuid, height, width, priority, sync);
841 }
842
843 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
844 java.lang.String className, long classPK, java.util.Date publishDate,
845 boolean visible)
846 throws com.liferay.portal.kernel.exception.PortalException,
847 com.liferay.portal.kernel.exception.SystemException {
848 return getService().updateEntry(className, classPK, publishDate, visible);
849 }
850
851 public static com.liferay.portlet.asset.model.AssetEntry updateEntry(
852 java.lang.String className, long classPK, java.util.Date publishDate,
853 java.util.Date expirationDate, boolean visible)
854 throws com.liferay.portal.kernel.exception.PortalException,
855 com.liferay.portal.kernel.exception.SystemException {
856 return getService()
857 .updateEntry(className, classPK, publishDate,
858 expirationDate, visible);
859 }
860
861 public static com.liferay.portlet.asset.model.AssetEntry updateVisible(
862 java.lang.String className, long classPK, boolean visible)
863 throws com.liferay.portal.kernel.exception.PortalException,
864 com.liferay.portal.kernel.exception.SystemException {
865 return getService().updateVisible(className, classPK, visible);
866 }
867
868 public static void validate(long groupId, java.lang.String className,
869 long[] categoryIds, java.lang.String[] tagNames)
870 throws com.liferay.portal.kernel.exception.PortalException,
871 com.liferay.portal.kernel.exception.SystemException {
872 getService().validate(groupId, className, categoryIds, tagNames);
873 }
874
875 public static AssetEntryLocalService getService() {
876 if (_service == null) {
877 _service = (AssetEntryLocalService)PortalBeanLocatorUtil.locate(AssetEntryLocalService.class.getName());
878
879 ReferenceRegistry.registerReference(AssetEntryLocalServiceUtil.class,
880 "_service");
881 }
882
883 return _service;
884 }
885
886
889 public void setService(AssetEntryLocalService service) {
890 }
891
892 private static AssetEntryLocalService _service;
893 }